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. > It's better to focus on OCR code which reads and parses an image file (usually tiff file). Obtaining the image is not that hard (at least on linux). Andy