Re: simple OCR in php
| From: | Ray | Date: | Thu, 05 Jul 2007 01:06:46 +0000 |
| Subject: | Re: simple OCR in php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258291@lists.php.net to get a copy of this message | ||
On Tuesday 03 July 2007 12:03 am, Richard Lynch wrote:
> On Sat, June 30, 2007 12:12 pm, Jay Blanchard wrote:
> > [snip]
> >
> >> In short PHP cannot perform OCR functions.
> >
> > Why? PHP provides all requisite functions/features so if someone was
> > sadistic enough and talented enough there's nothing to stop them
> > writing
> >
> > an OCR app using it.
> > [/snip]
> >
> > Sure, but then the scanning device would have to be connected to the
> > server. I suppose you could open a socket and stream the information
> > to
> > the server and then have PHP read and interpret the stream as it
> > arrives. See how complex this is becoming?
>
> No, the scanning device could be on a desktop that builds a folder of
> files with names that can be tied back to the documents somehow.
>
> Or, for what the OP asked for, the whole thing could be on a "server"
> which is really a "desktop" where having the scanner connected would
> be pretty normal.
>
actually, the scanner is on a desktop, and (to make a long story short) the
server has part of the desktop hard-drive mounted as a network drive. Cron
job tells php script to go look in a given folder on the desktop, process all
files, and clean up after itself, all at 3 or 4 am.
> --
> Some people have a "gift" link here.
> Know what I want?
> I want you to buy a CD from some indie artist.
> http://cdbaby.com/browse/from/lynch
> Yeah, I get a buck. So?