I'm trying to get the current code (0.5) in the repository to install and successfully recognize text.
When I use the command "ocropus 0003.png" I get some success but ultimately the error is "ocrolib.common.OcropusFileNotFound: <OcropusFileNotFound default.cmodel>
Today is my first attempt to getting OCRopus installed so maybe something didn't build correctly but I saw no obvious errors. I'm on Ubuntu 11.10.
Is default.cmodel something that was supposed to be installed or do I have to generate that through training?
jason@BDI:~/Desktop/jbest-ocropus/jbest-ocropus$ ocropus 0003.png
book directory _book-011042
# ocropus-preproc -o _book-011042 0003.png
=== 0003.png 1 (3300, 2560)
(3324, 2591) (3324, 2591)
# writing _book-011042/0001 (3324, 2591) (3324, 2591)
# ocropus-prast _book-011042
=== _book-011042/0001.png
# loading _book-011042/0001.bin.png
# segmenting
# writing 50 lines
# ocropus-lattices _book-011042
adding 49 files from _book-011042
added 0 files directly
Traceback (most recent call last):
File "/usr/local/bin/ocropus-lattices", line 82, in <module>
cmodel = ocrolib.load_component(ocrolib.ocropus_find_file(options.model))
File "/usr/local/lib/python2.7/dist-packages/ocrolib/common.py", line 348, in ocropus_find_file
raise OcropusFileNotFound(fname)
ocrolib.common.OcropusFileNotFound: <OcropusFileNotFound default.cmodel>
exit 1