|
-
Oct 27th, 2006, 02:31 PM
#1
Thread Starter
New Member
Convert Image into Text
How can I take an image and convert it to text? I have not done this yet, but I intend to do the following:
- Take a screen capture somewhere (which is text).
- Possibly change all the color of the non-text (which I will know the color of the true text) to some other color if this helps any.
- convert the image text into a real text string so I can move the data around etc.
I think I can figure out the screen capture grab of an image and probably the pixel conversion too. But I can't even think of how I would begin to convert from the image to the string text and couldn't find anything by searching. Is there some kind of OCR module that can just be used?
any ideas would be helpful, thanks.
-
Oct 27th, 2006, 07:05 PM
#2
Re: Convert Image into Text
OCR is not an easy process. There are a lot of controls out there that can do this for you, and most of them have some cost associated with them.
If you are willing to spend some money, look on componentsource:
http://www.componentsource.com/relev...dex.html?q=OCR
If you are not willing to spend money and are going to try and pull this off yourself, you can probably make your code easier if you know your font and font size. You could then build an image of each possible letter and try and break your image letters out of the bitmap based on spacing between characters. You run into problems if your font has touching characters or if your font is different on every machine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|