tesseract 3.02 not able to retrieve text

78 views
Skip to first unread message

Mustak M

unread,
Jul 21, 2014, 8:34:29 AM7/21/14
to tesser...@googlegroups.com
I am trying to retrieve the text from attached image, but tesseract tool is not retuning anything. I tried the same with tess4J api, but no success. Can anyone help me with this.
 
Image file attached.
Thanks
saan25.JPG

Quan Nguyen

unread,
Jul 21, 2014, 6:53:32 PM7/21/14
to tesser...@googlegroups.com
You'll need to pre-process the image.

Grayscale:
MRN x255 one w» AGE w,»

Rescale to 300DPI:
MRN: 1259 DOB: <none> AGE: <none>

Mustak M

unread,
Jul 24, 2014, 7:10:26 AM7/24/14
to tesser...@googlegroups.com
Thanks for the reply Quan.
 
I tried after scaling the image to 300DPI, but no success. I am using java code to rescale the image to 300DPI.
 
 
I have attached both the images for reference (Original Image.JPG, ImageUpdated to 300dpi.jpg)
 
Can you tell me what may be the issue.
 
Tesseract tool is not able retrieve the text which is of smaller font.
 
Thanks
Original Image.JPG
ImageUpdated to 300dpi.jpg

Quan Nguyen

unread,
Jul 24, 2014, 3:54:09 PM7/24/14
to tesser...@googlegroups.com
I used both grayscale and rescale and got better results. You can try out the combination in VietOCR (Java version).
Reply all
Reply to author
Forward
0 new messages