I think that probably means that there were no pages at all in the input. 
We got rid of the ocropus-recognize-book command in 0.7 because it's a lot 
of work to have it give good error messages. Just run ocropus-nlbin, 
ocropus-gpageseg, and ocropus-rpred individually, and it will generally be 
clear where the error is.

Tom

On Friday, March 1, 2013 1:50:37 AM UTC-8, Angelica wrote:
>
> Hi,
>
> 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.
> This is the error output I get:
>
> writing lines
> Traceback (most recent call last):
>   File "/usr/local/bin/ocropus-gpageseg", line 331, in <module>
>     process1((f,i+1))
>   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
>     raise e
> 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
> AssertionError
>
>
>
> Does anyone know what the problem is, and how I can get it to work?
>
> //Angelica
>

-- 
You received this message because you are subscribed to the Google Groups 
"ocropus" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/ocropus/-/HoLbWgonCLUJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to