When I'm trying to run the ocropus-recognixe-book command I get an AssertionError and I can't figure out why. OCRopus works fine when I'm running run_tests. I also looked at the run_test file and tried to do each stepa manually, but it doesn't work, it fails when I'm running ocropus-gpageseg. I tried some different images (including one of OCRopus' images) but same thing happens om each of the images.
Traceback (most recent call last):
File "/usr/local/bin/ocropus-gpageseg", line 331, in <module>
File "/usr/local/bin/ocropus-gpageseg", line 307, in process1
ocrolib.write_page_segmentation("%s.pseg.png"%outputdir,segmentation)
File "/usr/local/lib/python2.7/dist-packages/ocrolib/toplevel.py", line 200, in argument_checks
ocrolib.toplevel.CheckWarning
Traceback (most recent call last):
File "/usr/local/bin/ocropus-recognize-book", line 76, in <module>
run(args.pageseg,book+"/????.bin.png")
File "/usr/local/bin/ocropus-recognize-book", line 57, in run
assert subprocess.call(args)==0