OSD library not loading
Closed this issue · 5 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1.git checkout source (latest 3.0.3?), install with leptonica, everything good
2.download osd 3.0.1 and put in tessdata
3.use pageseg 0 or 1?
What is the expected output? What do you see instead?
OSD should work, recognize library file, other language files are being picked
up.
What version of the product are you using? On what operating system?
repo as of 4/16/2015
Please provide any additional information below.
latest tesseract doesn't seem to be recognizing osd 3.0.1
Original issue reported on code.google.com by mikeabe...@gmail.com
on 17 Apr 2015 at 8:01
GoogleCodeExporter commented
1. I do not understand would mean by version 3.0.3. There was no such tesseract
version number. The same is valid for language data. If you run tesseract there
is clear information about version number you use.
2. I use the latest source code and when I run:
tesseract Application-Checklist.tif Application-Checklist -psm 0
I got:
Tesseract Open Source OCR Engine v3.04.00 with Leptonica
Orientation: 0
Orientation in degrees: 0
Orientation confidence: 29.98
Script: 1
Script confidence: 18.67
so it is working (psm 1 produce no output - it just run page segmentation over
the image)
Original comment by zde...@gmail.com
on 17 Apr 2015 at 6:20
- Changed state: WorksForMe
GoogleCodeExporter commented
Sorry, I'm just getting the latest code from the repo. And I put the
ods.traineddata in tessdata, but it doesn't seem to be picking it up still.
Original comment by mikeabe...@gmail.com
on 17 Apr 2015 at 7:15
GoogleCodeExporter commented
What OS? Compiler? What the output?
Original comment by zde...@gmail.com
on 17 Apr 2015 at 7:38
GoogleCodeExporter commented
Darwin. g++,
Failed loading language 'osd'
Tesseract couldn't load any languages!
Warning: Auto orientation and script detection requested, but osd language
failed to load
when I run tesseract --list-languages it shows:
eng
osd
Original comment by mikeabe...@gmail.com
on 17 Apr 2015 at 8:39
GoogleCodeExporter commented
Can you post whole tesseract out?
Can you check if osd langdata is correct?
Original comment by zde...@gmail.com
on 18 Apr 2015 at 5:06