
It all depends on the image quality, that's all. You can try using newer version of tesseract. And also, you can try different psm and oem modes.
For more information on the modes use:
tesseract --help-extra
Regards
Lakshay
--
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 tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/32c208ab-589b-497f-9f0c-8db002684df4%40googlegroups.com.
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
On Wed, Feb 19, 2020 at 10:47 PM Alexander Dietz <alexand...@gmail.com> wrote:
--
On Wednesday, February 19, 2020 at 5:45:09 PM UTC+1, Lakshay Saini wrote:Hello,It all depends on the image quality, that's all. You can try using newer version of tesseract. And also, you can try different psm and oem modes.
For more information on the modes use:
tesseract --help-extra
I seem to have problems with that. I try to dotesseract Selection_991.png output -oem 11tesseract Selection_991.png output -psm 11But I get an errorread_params_file: Can't open 11Maybe you can provide an explicit example how to use these options? There is no example given in the help, and the help itself then is not clear!!
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 tesser...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/32c208ab-589b-497f-9f0c-8db002684df4%40googlegroups.com.
On Wed, Feb 19, 2020 at 10:47 PM Alexander Dietz <alexand...@gmail.com> wrote:
--
On Wednesday, February 19, 2020 at 5:45:09 PM UTC+1, Lakshay Saini wrote:Hello,It all depends on the image quality, that's all. You can try using newer version of tesseract. And also, you can try different psm and oem modes.
For more information on the modes use:
tesseract --help-extra
I seem to have problems with that. I try to dotesseract Selection_991.png output -oem 11tesseract Selection_991.png output -psm 11But I get an errorread_params_file: Can't open 11Maybe you can provide an explicit example how to use these options? There is no example given in the help, and the help itself then is not clear!!
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 tesser...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/32c208ab-589b-497f-9f0c-8db002684df4%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/96d238c5-ef55-4024-8238-e4d4703ab7e3%40googlegroups.com.