jacklicn / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Clear image gives "M" as result #567

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
>What steps will reproduce the problem?
take attached image "a.png" and run it through Tesseract

>What is the expected output? 
the text "with parental pride"

>What do you see instead?
the text "M"

>What version of the product are you using? On what operating system?
Tried with 3.00.1 and 3.01 - both gives "M", also with different psm.

>Please provide any additional information below.
MS MODI gives correct text

Original issue reported on code.google.com by nikse.dk@gmail.com on 28 Oct 2011 at 8:28

Attachments:

GoogleCodeExporter commented 9 years ago
tested.
M:\aTesseract-ocr>tesseract.exe a.png output
Tesseract Open Source OCR Engine v3.01 with Leptonica
Cannot open input file: a.png
M:\aTesseract-ocr>

output displayed as "WEE] parental pride" 

Original comment by withbles...@gmail.com on 29 Oct 2011 at 7:56

GoogleCodeExporter commented 9 years ago
I wonder why you don't get the "M" result... what does other ppl get?

Here are my command lines:

Ubuntu
------
ubuntu@ubuntu:~/Desktop$ tesseract a.png a
Tesseract Open Source OCR Engine v3.01 with Leptonica
ubuntu@ubuntu:~/Desktop$ cat a.txt
M

Win7:
----
D:\Tesseract>tesseract a.png a (-psm 7 gives same output)
Tesseract Open Source OCR Engine v3.01 with Leptonica
D:\Tesseract>type a.txt
M

Original comment by nikse.dk@gmail.com on 29 Oct 2011 at 11:07

GoogleCodeExporter commented 9 years ago
Your image resolution is too low. The command line did produce "M" as output. 
Tried with VietOCR frontend and got correct result.

Original comment by nguyen...@gmail.com on 29 Oct 2011 at 4:16

GoogleCodeExporter commented 9 years ago
tested  a.png(which has 96 dpi)in vietocr - displayed correctly.
again tested under r-527 -displayed as "WEE] parental pride"in CMD
again tested under latest version 3.01 displayed "M" eventhough changed from 
96dpi to 200,300 with help of Irfanview, the output was "M" in CMD, If reverted 
to 96dpi from 200,300 it will display as "M" - CMD. 

Original comment by withbles...@gmail.com on 30 Oct 2011 at 3:37

GoogleCodeExporter commented 9 years ago
Status changed to "No-longer-an-issue" because input image need preprocessing - 
than ocr works as excpected.

Original comment by zde...@gmail.com on 23 Feb 2012 at 8:25