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>
exit 1"
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?
Thanks for any assistance,
Jason
The full output is below:
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
--
You received this message because you are subscribed to the Google Groups
"ocropus" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/ocropus/-/n3Cn5MUqf44J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/ocropus?hl=en.