develooper Front page | perl.beginners | Postings from June 2001

RE: Idea.. OCR in perl?

Thread Previous
From:
RTaylor
Date:
June 29, 2001 12:34
Subject:
RE: Idea.. OCR in perl?
Message ID:
9097D3905570D111947E00207810DFE14E1D79@WINTRIX.thermeon.com
Pierre,

I'm working on such solution right now. Hit a dead-end with PerlMagick on
Win32, so this weekend I'll start over on Linux. Here's what I found:

Manipulate images (i.e.,crop)
	http://www.eecs.umich.edu/~addi/perl/Imager/
	ImageMagick - cut and manipulate images
	http://sourceforge.net/projects/netpbm/

Convert Image to OCR-able format (pnm files)
	
http://hegel.ittc.ukans.edu/topics/linux/man-pages/man1/tifftopnm.1.html
	ImageMagick: convert/mogrify - (?)
	http://www.eecs.umich.edu/~addi/perl/Imager/
	http://sourceforge.net/projects/netpbm/
	
http://www.megaloman.com/~hany/RPM/doors3.0/jr/netpbm-progs-9.5-6.i386.html

OCR utilities (pnm files)
	http://freshmeat.net/projects/gocr/
	http://lem.eui.upm.es/ocre.html - OCR pnm files
	http://web.mit.edu/afs/sipb.mit.edu/user/jhawk/src/quinefaut-0.5.tgz

Empirical success story:
	http://leb.net/blinux/list-archive/blinux-list/2000/msg01702.html


I tried to get ImageMagick-PerlMagick to work with Win32 to no avail
(compiling from source produced fatal errors). I'll instead use Linux, as
that is apparently better supported. (My laptop in WinME and would be most
convenient to test with...I have no love of Win32!)

First, I need to try perl Imager Linux. If that doesn't cut it (no pun
intended) then I'll install ImageMagick and PerlMagick on Linux. Failing
that, I'll move to GIMP with Perl-fu interface. 

Second, convert the tiff to pnm and OCR it. 

-- 
Robert Taylor          mailto:rtaylor@thermeon.com
Thermeon Corporation   http://www.thermeon.com/
Santa Ana, CA          Phone: (714) 731-9191  Fax: (714) 731-5938
WebRes Demo site       http://webres.thermeon.com/webres/res.html
WebRent Demo site	     https: /secure.thermeon.com/webrent/index.html 
                       (please request username and password for access)

> -----Original Message-----
> From:	Pierre Smolarek [SMTP:pierre.perl@bbmcarlson.com]
> Sent:	Friday, June 29, 2001 2:07 AM
> To:	beginners@perl.org
> Subject:	Idea.. OCR in perl?
> 
> Does anyone know if there is either a c app that will take an image and
> ocr
> it ? (Character recognition)
> 
> That would be cool as you could develop some nice apps with that in perl.
> 
> Pierre
> 

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About