If that indeed is the case then perhaps scaling may be a way to increase the size. But I wonder if it is a bug or it is kept for some reason.
On Wed, Jun 5, 2013 at 11:35 PM, Will Strinz <[email protected]> wrote: > I'm having this problem too. I think it means your image isn't large > enough to represent a page, ie the 560 in (560, 698) should be at least > 600. I'm not sure how to override this though, or what other tool to use to > process images that only represent part of a page. > > Will > > > On Saturday, May 25, 2013 4:21:56 PM UTC-5, Dibyayan Chakraborty wrote: >> >> Hi, >> I am new to ocropus and encountered the following problem. >> I ran "ocropus-gpageseg" on output binary image of "ocropus-nlbin". >> But i am getting the following error report. >> >> output/0001.bin.png >> scale 16.5831239518 >> computing segmentation >> computing column separators >> computing lines >> propagating labels >> spreading labels >> number of lines 60 >> finding reading order >> writing lines >> Traceback (most recent call last): >> File "/usr/local/bin/ocropus-**gpageseg", line 364, in <module> >> process1((f,i+1)) >> File "/usr/local/bin/ocropus-**gpageseg", line 344, in process1 >> ocrolib.write_page_**segmentation("%s.pseg.png"%out**putdir, >> segmentation) >> File "/usr/local/lib/python2.7/**dist-packages/ocrolib/**toplevel.py",line >> 211, in argument_checks >> raise e >> ocrolib.toplevel.CheckWarning: >> CheckWarning for argument image of function <functionwrite_page_segmentation >> at >> 0x273bde8> >> <ndarray-2500180 (560, 698) int32 [0,65583]> of type <type >> 'numpy.ndarray'>: excpect a page image (larger than 600x600)(This can >> happen occasionally during normal operations and isn't necessarily a bug >> or problem.) >> >> >> And there is no line written in the subfolder. >> Please explain what is the meaning of this report ? >> >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "ocropus" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ocropus/w1djIAccwlM/unsubscribe?hl=en. > To unsubscribe from this group and all its topics, 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/msgid/ocropus/6c09d288-2feb-4f3c-bd70-24967bfbc42d%40googlegroups.com?hl=en > . > > For more options, visit https://groups.google.com/groups/opt_out. > > > -- With Regards Dibyayan Chakraborty -- 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/msgid/ocropus/CAOc%3DeMM3SYJ0AccEheJM44g1Gp-upcwYNV2ThjrBYNh_BryaNg%40mail.gmail.com?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
