prabhakar267/image2text

Don't run in Windows

DinhCongTac221 opened this issue · 7 comments

Hello,
I Tried so hard to run your program. But it don't work.
My computer has installed Tesseract-orc ( Window)
Please help me, How to run on windows.
thanks
image

Hi,

I think the problem is with your environment.
Add tesseract/bin to your path and create an environment variable with the name TESSDATA_PREFIX and set it to the path of your trained data.
Before doing this, uninstall tesseract from your site-packages and after the process install again.

Please do this and let me know in case of any issues.

Thanks and Regards
Aditya

@buidoi8x does it solve your issue?

Fixed by 3ec4092

Thank you. It works with file example.
But I don't know why, It doesnot correct with my image text
image

Hi,

Can you please send/attach your image files?
I think the problem might be with the low resolution of the images.
You could enhance the DPI level before doing OCR.

Thanks and Regards
Aditya

sure. the problem might be with the low resolution of the images.
1
2

I tried enhancing the dpi and processed the image a bit but I think they are of too low resolution.
OCR doesn't work correctly.
Sorry.