Click here to Skip to main content
16,015,583 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How can I get Get base64 string from BitmapImage in silverlight
Posted
Comments
Christian Amado 9-Mar-13 7:53am    
Google it!

1 solution

What you need is called OCR: http://en.wikipedia.org/wiki/Optical_character_recognition[^].

The fact that you are interested in base64 string, does not change the problem much. It becomes just a bit easier, just because the number of characters is less: http://en.wikipedia.org/wiki/Base64[^].

The OCR problem is very successfully solved, but still, this is a very difficult problem; and a good source code is hard to find. I'll tell you this: the mere fact that you somehow came to the situation where you have some base64 string in a bitmap is highly pathological. Even if this is not your fault, this is a big ugly fault, nothing else. You are just trying to do bad business, no matter how much of success you are going to help. So, it makes serious discussion of the OCR not really interesting to me. Therefore, I'll just give you one link to my past answer:

i need an ocr for a camera image capture[^].

On that page, you will see further links. I'll be very glad if it can help you.

It has a .NET wrapper you can use: http://www.pixel-technology.com/freeware/tessnet2/[^].

As the character set is very limited, one important product to know, Tesseract:
http://en.wikipedia.org/wiki/Tesseract_%28software%29[^].


—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900