Updated Command Line Usage (markdown)

Shreeshrii 2016-03-10 12:39:56 +05:30
parent 8eabbae8c9
commit 60826e39a8

@ -42,8 +42,18 @@
tesseract imagename outputbase
This uses English as the default language and 3 as the Page Segmentation Mode. The default output format is text. osd.traineddata, for Orientation and Segmentation and eng.traineddata and other language data files for English should be in the tessdata directory. TESSDATA_PREFIX environment variable should be set to the parent directory of your "tessdata" directory.
The following command would give the same result as above, if eng.traineddata and osd.traineddata files are in /usr/share/tessdata directory.
tesseract --tessdata-dir /usr/share imagename outputbase -l eng psm 3
## Using One Language
tesseract --tessdata-dir /usr/share ./testing/phototest.tif ./testing/phototest -l eng -psm 3
![phototest.tif](https://github.com/tesseract-ocr/tesseract/blob/master/testing/phototest.tif?raw=true)
## Using Multiple Languages
## Using different Page Segmentation Modes