Since you're in a Linux box, I would highly recommend the Google open source project ocropus .
This is not PHP, but I think it will be your best option. Of course, you can call it from PHP via exec . Its mature and has many options. On the project website:
The OCRopus engine is based on two research projects: a high-performance handwriting recognition engine, developed in the mid-90s and deployed by the US Census Bureau, and new high-performance layout analysis methods.
There is another open source project, tesseract . I have used this in the past, and was pleased with the results. Includes training, limiting your alphabet, etc.
nategood Jan 31 '10 at 3:08 2010-01-31 03:08
source share