Hi,

Yes, it will show that error because when you use engine and page seg. modes 
you need to use "--psm 11" instead of "-psm 11". Same goes with oem. Also, oem 
11 does not exist. 

For example:

tesseract "selection_911.png" "selection_991" pdf --psm 11 --oem 1

Or

tesseract "selection_911.png" "selection_991" pdf --psm 11

For more knowledge you can refer my code on GitHub repository (it's a pdf to 
pdf converter written in python):

https://github.com/lakshay1296/OCR_Conversion_JPEG2PDF

Its still in development phase and name's misleading too. For trying out your 
image first convert it to a pdf then feed the code.

Make sure you have all the dependencies. Add poppler's path to environment 
variables and change it in the code too or you can remove poppler_path variable 
from the code. Then run GUI_Class.py

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/4d058ac7-5331-4dfa-ac57-6f8c76dc63b9%40googlegroups.com.

Reply via email to