[tesseract-ocr] Re: o recognized as 0 on simple image (no captcha style text)

2018-12-31 Thread Thomas Johanns
I found a cheap solution : in my code, I set the regex to [0o]f, so that it recognises of and 0f in Tesseracts output. I'm still interested in solving the cause of the issue instead of treating the symptom. On Monday, 31 December 2018 12:50:00 UTC+1, Thomas Johanns wrote: > > Hi, > > I have a

Re: [tesseract-ocr] o recognized as 0 on simple image (no captcha style text)

2018-12-31 Thread Thomas Johanns
I'm using thiagoalessio/tesseract-ocr-for-php which is limited to tesseract version 3 On Monday, 31 December 2018 14:30:15 UTC+1, zdenop wrote: > > I got this result with tesseract 4.0.0 > leptonica-1.76.0 (Dec 14 2018, 15:34:47) [MSC

[tesseract-ocr] o recognized as 0 on simple image (no captcha style text)

2018-12-31 Thread Thomas Johanns
Hi, I have a simple image that contains an order number, a page number and page count. The format expected will always be : 1234567 - 1 of 3 I tried with 3 different images, only one gave the correct result, the other two got "10f2" instead of "1of2". This is weird since the o is lower case

[tesseract-ocr] Failing to run on OSX after installation with brew

2018-12-31 Thread Bernard Pochet
After installing (and reinstall ...) with brew,I receive this message ... dyld: Library not loaded: /usr/local/opt/leptonica/lib/liblept.5.dylib Referenced from: /usr/local/bin/tesseract Reason: image not found Abort trap: 6 need help Thanks (and hapy new year) B -- You received this

Re: [tesseract-ocr] Failing to run on OSX after installation with brew

2018-12-31 Thread Seokbong Choi
you need to install pre-requisite libraries. https://gist.github.com/fractaledmind/cd2fc4125bef57bcb3e2 Please refer to line 17-19. Thanks. Happy new year! On Mon, Dec 31, 2018 at 6:49 AM Bernard Pochet wrote: > After installing (and reinstall ...) with brew,I receive this message ... > >

Re: [tesseract-ocr] o recognized as 0 on simple image (no captcha style text)

2018-12-31 Thread Zdenko Podobny
I got this result with tesseract 4.0.0 leptonica-1.76.0 (Dec 14 2018, 15:34:47) [MSC v.1916 LIB Release x64] libgif 5.1.4 : libjpeg 9b : libpng 1.6.35 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0 Found AVX Found SSE >tesseract.exe cropped.png - Warning: Invalid resolution

[tesseract-ocr] Re: Optimal image resolution (dpi/ppi) for Tesseract 4.0.0 and eng.traineddata?

2018-12-31 Thread Willus Dotkom
So I did some more experimenting and convinced myself that the "xres" and "yres" values in the PIX structure passed to Tesseract have virtually no impact to the results unless the resolution is so poor as to make the error rate very high. Using that information, I re-ran my tests in a more