Looks like the image is to small, causing no output. Thus subsequent stages will fail.
# ocropus-gpageseg ./_book-008701/????.bin.png ./_book-008701/0001.bin.png ./_book-008701/0001.bin.png: scale (5.91608) less than --minscale; skipping On Wednesday, January 23, 2013, Daniel Dalton wrote: > On Tue, Jan 22, 2013 at 12:32:59PM +0530, Sriranga(78yrsold) wrote: > > Have you checked with the "Issues"� of > > [1]http://code.google.com/p/ocropus/issues/list ? > > Presumed� you are testing with English lang or else?� Better to post > under > > "issues" with attached sample image. > > Thanks. Ok, I solved that first problem. Now I either get a blank > output.html file for some images or assertion errors in other > cases. I'll examine that page again though. > Here are the assertion errors: > daniel@vostro-3350:~/Documents$ ocropus-recognize-book letter_monash.png > -o output1.html > book directory ./_book-008701 > letter_monash.png -> ./_book-008701/0001.png > > === preprocess > > # ocropus-nlbin ./_book-008701/????.png > === ./_book-008701/0001.png 1 > estimating skew angle > estimating thresholds > rescaling > ./_book-008701/0001.png lo-hi (0.00 1.00) angle 0.0 no-normalization > writing > > === page segmentation > > # ocropus-gpageseg ./_book-008701/????.bin.png > ./_book-008701/0001.bin.png > ./_book-008701/0001.bin.png: scale (5.91608) less than --minscale; > skipping > > === line recognition > > # ocropus-lattices ./_book-008701/????/??????.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-008701/????/??????.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 > > > Thanks for your help. > > Dan > > -- > You received this message because you are subscribed to the Google Groups > "ocropus" group. > To post to this group, send email to [email protected]<javascript:;> > . > To unsubscribe from this group, send email to > [email protected] <javascript:;>. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Nathan Keilar Hunted Hive Web Studio ~ Innovative Solutions For Real World Problems Technical Director and Business Manager EMAIL: [email protected] PHONE: +61 (0) 7 3040 3065 SKYPE/TWITTER: https://twitter.com/#!/madteckhead FACEBOOK: http://www.facebook.com/nathan.keilar WEB: http://madteckhead.com This email (including any attachments) is confidential and may be privileged. If you have received it in error, please notify the sender by return email and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that emails are susceptible to change and we will not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. We do not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
