E
E
Emil Revencu2015-12-09 14:44:51
Python
Emil Revencu, 2015-12-09 14:44:51

How to process this picture and remove email from it?

There is this picture:
591464fb32e442f2b2ce99784c6a8df5.gif
I process it with code:

import os
os.chdir('D:/python27/lib/site-packages/pytesser')
try:
    import Image
except ImportError:
    from PIL import Image
from pytesser import *
im = Image.open('q.gif')
im = im.convert('L') 
text = image_to_string(im)
print text

Result: empty string, but other pictures are processed fine
For example:
b31137f4b32a42998a2624804398d446.gif
What's the problem with the first picture?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question