Convert images to text

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
objelland
Forum Newbie
Posts: 3
Joined: Fri Jan 22, 2010 8:06 am

Convert images to text

Post by objelland »

Hi all,

I am looking for some suggestions on how to convert an image to plain text.
The images will in this case always be a "text string"; meaning they won't be images of a house or a car, just a text string.

So, can anyonw lead me in the right direction on how to do this using php?

Any help is appreciated.

Thank you,

objelland
hairytea
Forum Commoner
Posts: 92
Joined: Mon Feb 04, 2008 8:31 am

Re: Convert images to text

Post by hairytea »

do you mean to extract the name of the image?

i.e. car.jpg ??
objelland
Forum Newbie
Posts: 3
Joined: Fri Jan 22, 2010 8:06 am

Re: Convert images to text

Post by objelland »

hairytea wrote:do you mean to extract the name of the image?

i.e. car.jpg ??
No, that is not what I mean. I am looking to extract the content of the image.
If an image file, lets say a .gif file, contains the text "my image", I would like to extract the "my image" text into pain text.

Thanks,
objelland
User avatar
SimpleManWeb
Forum Commoner
Posts: 57
Joined: Wed Dec 30, 2009 4:15 pm
Location: New Hampshire, USA

Re: Convert images to text

Post by SimpleManWeb »

Sorry, but this is not possible. No programming language can successfully do this, although Google is still trying to figure out how to do it.
objelland
Forum Newbie
Posts: 3
Joined: Fri Jan 22, 2010 8:06 am

Re: Convert images to text

Post by objelland »

SimpleManWeb wrote:Sorry, but this is not possible. No programming language can successfully do this, although Google is still trying to figure out how to do it.
Ok, thanks anyway.

Regards,
objelland
Post Reply