No Output after ocroscript recognize

28 views
Skip to first unread message

Debayan Banerjee

unread,
Dec 20, 2008, 2:34:17 PM12/20/08
to ocr...@googlegroups.com
debayan@deep-blue:~/ocropus-0.3> ocroscript
ocroscript/scripts/recognize.lua data/pages/alice_1.png

produces

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta content="ocr_line
ocr_page" name="ocr-capabilities"/><meta content="en"
name="ocr-langs"/><meta content="Latn" name="ocr-scripts"/><meta content=""
name="ocr-microformats"/><title>OCR Output</title></head>
<body><div class="ocr_page" title="bbox 0 0 2488 3507; image
data/pages/alice_1.png"/></body></html>

every time. A blank html. Tesseract runs fine. But when i run this

debayan@deep-blue:~/ocropus-0.3> ocroscript
ocroscript/scripts/rec-ltess.lua data/pages/snark01.png

It gives the correct output. What is the problem?


--
BE INTELLIGENT, USE GNU/LINUX
http://lug.nitdgp.ac.in
http://mukti09.in
http://planet-india.randomink.org


Thomas Breuel

unread,
Dec 26, 2008, 4:11:10 AM12/26/08
to ocr...@googlegroups.com
Hi,

the release version of 0.3 does not output an empty result for the alice_1.png that we ship with OCRopus, so the problem has to be somewhere with your install.  Maybe you used inconsistent versions of iulib and ocropus, or maybe you used the wrong version of Tesseract, or maybe you configured the system without Tesseract.

You should look carefully at the output of the ./configure script.

You should also run the run-tests, run-bigtests, and run-toplevels scripts in ocroscript.

If you really think there's a bug, then you need to supply this information, plus system configuration information, and submit it to the issue tracker.

Thomas

buyi wen

unread,
Sep 8, 2015, 10:01:18 PM9/8/15
to ocropus
I find another free online ocr, it's using tesseract ocr 3.02.


在 2008年12月21日星期日 UTC+8上午3:34:17,Debayan写道:
Reply all
Reply to author
Forward
0 new messages