image_to_string returns nothing sometimes

20 views
Skip to first unread message

lolon...@gmail.com

unread,
Jul 7, 2018, 1:43:24 AM7/7/18
to tesseract-ocr
Hi all,

I'm new to pytesseract.

I tried to use image_to_string method with two identical image. Image A is saved by screen grab and then Image.save. I applied image_to_string to A, it returns nothing. 

Then I use photoshop to load the same image and save as a copy, imgae B. I applied image_to_string to B, it worked !!!

It's so strange, I don't know why. I tried several times, every time it only works on the copy saved by photoshop or other software such as sceenshot app. 






B.jpg
A.jpg
Reply all
Reply to author
Forward
0 new messages