Tesseract-OCR-iOS icon indicating copy to clipboard operation
Tesseract-OCR-iOS copied to clipboard

How to set writing direction in Objective C?

Open wasimsafdar opened this issue 8 years ago • 1 comments

I am using tesseract in one of my application and do not understand how to set writing direction. Anybody out there to help me?

wasimsafdar avatar Sep 12 '16 09:09 wasimsafdar

You can read it. Notice: Before call it, You must copy osd.traineddata file to tessdata folder.

`/**

  • The result of Tesseract's writing direction analysis of the target image.
  • See G8WritingDirection in G8Constants.h for the possible writing
  • directions.
  • @note You must have a file called "osd.traineddata" in the "tessdata"
  •    folder to use this method. You can download this file from:
    
  •    https://code.google.com/p/tesseract-ocr/downloads/list
    

*/ @property (nonatomic, readonly) G8WritingDirection writingDirection;`

monxarat avatar Feb 07 '17 09:02 monxarat