tesseract not working properly

61 views
Skip to first unread message

Vibhakar

unread,
Apr 17, 2018, 4:12:26 PM4/17/18
to tesseract-ocr
im trying to OCR this image 

and the output is :- 
—mmanudthMNaGrDcI1f0ithWTOEs+qua*mxen

what should i do ??


Atul Singh

unread,
Apr 19, 2018, 7:26:02 AM4/19/18
to tesseract-ocr
What are the settings that you are using.

gala sup

unread,
Apr 21, 2018, 6:19:58 AM4/21/18
to tesser...@googlegroups.com
# -*- coding: utf-8 -*-
"""
author @gala

"""
'''Imports'''
from PIL import Image
import pytesseract as pyt
''''''''''''

''''change format'''
'''
img = Image.open('testocr.png') 
img.save('image.tiff')
'''

image_file = "Untitled.v4.png"
im = Image.open(image_file)
text = pyt.image_to_string(im,lang='eng')
print "=====output=======\n"
print text


--
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-ocr+unsubscribe@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/58f3c17e-96cb-49bb-9078-6422322e63d4%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

gala sup

unread,
Apr 21, 2018, 6:20:31 AM4/21/18
to tesser...@googlegroups.com
and i found out that the font is unispace
Reply all
Reply to author
Forward
0 new messages