Page 1 of 1

Conversion of Images into Text using PHP

Posted: Wed Jun 20, 2007 1:26 am
by dream2rule
Hello All,

I would need a script(if any) or ideas on how to go about in converting any type of an image file into a text document.

More Specifically:
The tasks can be even divided like

(1) Firstly, converting the image file into a PDF document and then

(2) The PDF document needs to be converted to a text file.

The IMAGE FILE being a Tiff image i.e, scanned copy of a text document.

Is there anyway where i would be able to convert a tiff image into a text file?

Is this possible using PHP?

Thanks & Regards,
dream2rule

Posted: Wed Jun 20, 2007 2:28 am
by volka
You mean OCR?
I haven't heard of a php library or extension to do that.

Posted: Wed Jun 20, 2007 3:57 am
by dream2rule
yea i would like to embed the OCR technique in the php code to convert a tiff image or rather any image file into a text(.txt) document.