[BRLTTY] ocr success

Adrian P. van Bloois adrian at accu.uu.nl
Fri Dec 26 15:06:06 EST 2008


On Sat, Dec 20, 2008 at 08:42:21PM +1100, Daniel Dalton wrote:
> Hi All,
> 
> First sorry if you get this a couple of times, I thought I would just
> share my experiences with everyone, but if it's not wanted, I won't do
> this next time...
> 
> Anyway, I've had great success with ocr on linux.
> Using the following packages:
> scanimage: - grab the image from the scanner
> - kies: Front end for the ocr and scanimage stuff
WHere can I find this???
> - Teseract: ocr software 
Tesseract needs a command called javac, but I can't find it.
Is there an rpm containig it???
I'm running Centos.
> - ocropus: ocr software I believe 
I could find this either.
> 
> What I did:
> Install kies.
> next, checkout tesseract from svn and build:
> patch -p0 < the_attach-patch.diff
> ./configure
> make
> sudo make install
> Note: the patch is required to make it compile.
> Next checkout ocropus (r864) from memory.
> ./configure
> jam
> sudo jam install
> to compile/install it.
> Next run
> sudo chmod %s /location/to/scanimage
> (note install sane from apt)
> sudo scanimage -L
> if it finds your scanner do this:
> scanimage > imagefile
> If it scans it as an image, try the kies front end:
> kies_p2t
> Press space and wait for your document to open in lynx.
> To save it press p from lynx and save it in the usual way...
> 
> Hopefully I didn't miss too much, and I know it's very brief. Let me know
> if there is interest in this subject, I'll place a howto on my
> website... I'm also going to (if its ok with Willem), generate a diff to
> improve the documentation slightly although it's pretty good at the
> minute, and the scanimage command he's script uses needed to be modified
> on my system...
> 
> So is there interest in a howto for ocr on linux?
> 
> Let me know if you have any questions. I would also like to thank everyone
> involved with all the ocr projects, and also sane/scanimage.
> And I would also like to thank Willem for all his great help off list!
> 
> So if there are any questions about this or you would like me to write
> up a howto let me know...
> 
> Cheers,
> 
> Daniel
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/brltty

-- 
	Adrian P. van Bloois
Postbus 2575                 email:   adrian at accu.uu.nl
3500 GN  Utrecht             voice:   +31-30-68-94649
The Netherlands              fax:     ++31-30-68-94601

The whole point of cooking is to get as much flavour out of the
ingredients as possible.
	-- Delia SMith



More information about the BRLTTY mailing list