Hi,

There are a couple of patches in the issue system addressing this. I
haven't tested any of them but they may work.
See
http://code.google.com/p/ocropus/issues/detail?id=205&sort=-id
for the latest one.

Regards,
Scott

On Sep 19, 3:49 pm, NJL <[email protected]> wrote:
> If anybody could provide an answer to this question, I would really
> appreciate it.  I'm having the same issue with Ubuntu 9.04 and
> Mandriva 2009.1 with 0.4.3.
>
> Thanks.
>
> On Aug 12, 6:40 pm, Alexis Smirnov <[email protected]> wrote:
>
> > Hello,
>
> > Got ocropus from Mercurial, built on Mac OS X based on instructions 
> > fromhttp://groups.google.com/group/ocropus/web/compiling-ocropus-on-mac-os-x
> > (Thanks!)
>
> > Running ocropus page alice_1.png returns the expected text. But running the
> > entire sequence results in an empty hOCR output. Here's the output:
>
> > $ ocropus book2pages alice_1 alice_1.png
> > [info] selecting (new) BookStore
> > [info] page 1
>
> > $ ocropus pages2lines alice_1
> > no image display, since dgraphics disabled in iulib
> > [info] selecting (new) BookStore
> > [info] found 2 pages
> > [info]    1: #lines = 38
>
> > $ ocropus lines2fsts alice_1
> > no image display, since dgraphics disabled in iulib
> > [info] selecting (new) BookStore
> > [info] rate nan errs 0 ntrue 0 npred 0 lines 0 nogt 0
>
> > $ ocropus fsts2text alice_1
> > [info] selecting (new) BookStore
>
> > $ ocropus buildhtml alice_1
> > <!DOCTYPE html
> >    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN
> >    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> > <html>
> > <head>
> > <meta name="ocr-capabilities" content="ocr_line ocr_page" />
> > <meta name="ocr-langs" content="en" />
> > <meta name="ocr-scripts" content="Latn" />
> > <meta name="ocr-microformats" content="" />
> > <meta http-equiv="Content-Type" content="text/html;charset=utf-8"
> > /><title>OCR Output</title>
> > </head>
> > <body>
> > *<div class="ocr_page">
> > </div>*
> > </body>
> > </html>
>
> > Note there are 37 *.txt files in alice_1/0001/ generated by fsts2txt step.
>
> > What could cause this?
>
> > Thanks,
> > Alexis

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at 
http://groups.google.com/group/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to