Re: [tesseract-ocr] Simple image FAIL fails

2019-04-30 Thread Zdenko Podobny
Which is valid for 3.05 and older version (a.k.a legacy engine) ... Zdenko ut 30. 4. 2019 o 10:19 Jason napĂ­sal(a): > That's interesting because everything I've read about tesseract says that > white/black or black/white (foreground/background) doesn't matter because > it uses edge detection.

Re: [tesseract-ocr] Simple image FAIL fails

2019-04-30 Thread Jason
That's interesting because everything I've read about tesseract says that white/black or black/white (foreground/background) doesn't matter because it uses edge detection. (Outlines) https://research.google.com/pubs/archive/33418.pdf "by inspection of the nesting of outlines, and the number of

Re: [tesseract-ocr] Simple image FAIL fails

2019-04-29 Thread Lorenzo Bolzani
Hi, inverting the image gives the correct results. Also cropping the image just around the text works. Lorenzo Il giorno lun 29 apr 2019 alle ore 19:11 Jason ha scritto: > Apologies for such a simple question but this is a super simple test case > and I don't understand why it isn't working. T

Re: [tesseract-ocr] Simple image FAIL fails

2019-04-29 Thread Shree Devi Kumar
ubuntu@tesseract-ocr:~/TEST$ tesseract fixed.png - --psm 6 --dpi 300 --tessdata-dir ~/tessdata_fast PASS wee ubuntu@tesseract-ocr:~/TEST$ tesseract fixed.png - --psm 6 --dpi 300 --tessdata-dir ~/tessdata_best PASS AYE ubuntu@tesseract-ocr:~/TEST$ tesseract fixed.png - --psm 6 --dpi 300 --tessdata-d

[tesseract-ocr] Simple image FAIL fails

2019-04-29 Thread Jason
Apologies for such a simple question but this is a super simple test case and I don't understand why it isn't working. This simple image contains the words "PASS" and "FAIL". "PASS" is recognized but "FAIL" comes out as "wee". What can I do to get it to detect "FAIL" properly? I'm using the dem