Hello Guys
How To Get Text From An Image Like This Image By Code
http://www.vb4arab.com/vb/uploaded/3...1303977803.jpg
Thanks For All
Printable View
Hello Guys
How To Get Text From An Image Like This Image By Code
http://www.vb4arab.com/vb/uploaded/3...1303977803.jpg
Thanks For All
You'll need OCR software.
However if you are trying to crack "capcha" codes we don't have those discussions here. It is against policy to support such efforts.
first you must convert picture to array which has 0 and 1 values for pixel.
in another words picture must converted into bitmap that has only white & black color.
second you must distinguish the letters in these array
third you must find the letter form for each seperated bitmap
these are the main steps to work. :)
That is a difficult task. It will require hundreds of lines of code.
SNIPER...
dilettante told you that you need OCR software and thats basically it. Even with that it becomes extremely difficult because the text in a picture cannot always be determined. If the picture with text is like the one you posted and the text font won't change you might be able to do it like BlueRose suggested but you will need pattern matching (ie, you need a bitmap of each possible character in the picture of the same size and font) once you have extracted out the black pixels.
there are examples on the planetsourcecode
http://www.planetsourcecode.com/vb/s...54523&lngWId=1
http://www.planetsourcecode.com/vb/s...48515&lngWId=1
http://www.planetsourcecode.com/vb/s...32191&lngWId=1
and my favorite is
http://www.planetsourcecode.com/vb/s...22932&lngWId=1
these examples can help you to understand the basis of the character recognition logic