How to call an external OCR program from PHP?
There are many way but look at exec and system
Google Docs has an OCR api (at the moment we should say)
DocList API OCR Demo
Might come in handy.