converting graphics on a text console
Willem van der Walt
wvdwalt at CSIR.CO.ZA
Tue Jul 31 03:53:42 EDT 2007
Hi,
A few points.
1. for OCR under linux, use tesseract and ocropus.
The results is a lot better than with gocr or ocrad.
2. for converting images, use the convert command provided by the
ImageMagic package.
Ocropus/tesseract is a little slow, but worth the effort to get going.
With convert, you can do a lot of other nice things on images like change
them from collor to blak and white or change the contrast and so on.
HTH, Willem
On Mon, 30 Jul 2007, Chuck Hallenbeck wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Does anyone have any advice for me? I have a text-only system here, no
> X or Gnome. Someone scanned a document for me, and sent it as a pdf
> file. I use pdftotext of course, but evidently the pdf file contains
> only image data, so pdftottext just gave me garbage. Maybe. At least it
> looks like garbage.
>
> So what now? I can use gocr or ocrad to try pulling text out of the
> image, except I somehow need to convert the image data in the pdf file
> to gif first. Has anyone done anything like this in a text console? I
> have successfully used OCR software on .gif files, but how do I get
> from pdf to gif?
>
> Man, it's tough persuading folks that an image of a document that
> appears perfectly readable on a graphics screen is not really text of
> the sort I can handle in a text console.
>
> Thanks for any advice.
>
> Chuck
>
> - --
> The Moon is Waning Gibbous (99% of Full)
> My new web site location is at: http://hallenbeck.ftml.net
> The early bird may get the worm, but the second mouse gets the cheese.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFGrjt30maTgpPXM9cRAlJhAJ4x6iqFl1ZGdtXS8E3OdekSnkchTgCfVnAB
> 5uttsgVVghRt039ItY1zeko=
> =2sdi
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
CallCentre at csir.co.za.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
More information about the Speakup
mailing list