Conversion of Images into Text using PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dream2rule
Forum Contributor
Posts: 109
Joined: Wed Jun 13, 2007 5:07 am

Conversion of Images into Text using PHP

Post 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
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

You mean OCR?
I haven't heard of a php library or extension to do that.
dream2rule
Forum Contributor
Posts: 109
Joined: Wed Jun 13, 2007 5:07 am

Post 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.
Post Reply