Hi,
I created a bazaar file as attached with load_system_dawg, load_freq_dawg set to F. I also want to use user-patterns so I set it as well.
load_system_dawg F
load_freq_dawg F
user_patterns_suffix user-patterns
In the same directory, I also have the user-pattern file:
So the structure looks like:
./bazaar
./eng.user-patterns
./ocr_inv.png
But these settings still fail to recognise the image correctly as "1880A". If I just run tesseract without any bells and whistles, the outputs are still the same.
Commands used:
tesseract ocr_inv.png stdout
tesseract ocr_inv.png stdout bazaar
tesseract ocr_inv.png stdout --user-patterns eng.user-patterns bazaar
Output:
Warning. Invalid resolution 0 dpi. Using 70 instead.
Estimating resolution as 1128
ISON
Can anyone tell me if this is expected behaviour?
Tesseract version:
tesseract 4.0.0-beta.1
leptonica-1.75.3
libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0
Found AVX2
Found AVX
Found SSE