Hi, we installed ocropus 0.6 on an virtual Ubuntu 12.04 maschine according to the instructrions on your web page and got the following assertion on one of our files when using the ocropus-recognize-book script:
carolin@carolin-VirtualBox:~/ocrinput$ ocropus-recognize-book testbild2.png
-o output.html
book directory ./_book-003266
testbild2.png -> ./_book-003266/0001.png
=== preprocess
# ocropus-nlbin ./_book-003266/????.png
=== ./_book-003266/0001.png 1
flattening
estimating skew angle
estimating thresholds
rescaling
./_book-003266/0001.png lo-hi (0.05 1.00) angle 0.0
writing
=== page segmentation
# ocropus-gpageseg ./_book-003266/????.bin.png
./_book-003266/0001.bin.png
./_book-003266/0001.bin.png: scale (6.9282) less than --minscale; skipping
=== line recognition
# ocropus-lattices ./_book-003266/????/??????.bin.png
Traceback (most recent call last):
File "/usr/local/bin/ocropus-lattices", line 56, in <module>
args.files = ocrolib.glob_all(args.files)
File "/usr/local/lib/python2.7/dist-packages/ocrolib/toplevel.py", line
204, in argument_checks
result = f(*args,**kw)
File "/usr/local/lib/python2.7/dist-packages/ocrolib/common.py", line
509, in glob_all
raise Exception("%s: expansion did not yield any files"%arg)
Exception: ./_book-003266/????/??????.bin.png: expansion did not yield any
files
Traceback (most recent call last):
File "/usr/local/bin/ocropus-recognize-book", line 79, in <module>
run(args.linerec,book+"/????/??????.bin.png",m=args.model)
File "/usr/local/bin/ocropus-recognize-book", line 57, in run
assert subprocess.call(args)==0
AssertionError
We attached the sample file which we used. Is there any obvious thing that
we are doing wrong?
Best,
Carolin
--
You received this message because you are subscribed to the Google Groups
"ocropus" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/ocropus/-/lOuDDP4SXFoJ.
For more options, visit https://groups.google.com/groups/opt_out.
<<attachment: testbild2.png>>
