Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
plz give me the ans for the same
Posted
Comments
Toli Cuturicu 8-Sep-10 11:51am    
Reason for my vote of 2
Google for OCR
Sandeep Mewara 8-Sep-10 13:22pm    
Any effort?

Pick up image, use eyes, read.

Not hard.

An image file, say a .bmp is not coded for text so an OCR will be required.

You will need to look for some third-party API that provides functionality to scan images and provides OCR functionality.

If you still want to do this yourself, and this is not a trivial job,then you would need to read about how OCR works.
Then you would come up with some algorithm for it.

You see it is not just about extracting text, it is about how to convert what you see on a paper into actual text representations.

Very Difficult.
 
Share this answer
 
Comments
LittleYellowBird 8-Sep-10 10:23am    
Sorry Dave, there was no Answer when I started mine, you must have beaten me to it! I saw mine come up 'Answer 2' and knew it had been a waste of keystrokes. Our Answers were 5 minutes apart so I must have typed very slowly (I'm flagging this afternoon after Red Wine last night....) :)
CPallini 8-Sep-10 11:31am    
Dave, may I suggest 'OCR' to the OP? :-)
Dalek Dave 8-Sep-10 11:35am    
Knock yourself out!
Hi,

You need some sort of character recognition code. Try searching on here for an article or Google for 'Character Recognition' 'Optical Character Recognition' or 'OCR' code.

Hope that helps. :)
 
Share this answer
 
Comments
Dalek Dave 8-Sep-10 10:10am    
Come off it Ali, I just told him that and he won't listen to me either, he will keep asking :)
Um ... load the image into Paint, or some other image-processing program, and look at the picture on the screen? :-\

No, of course, that's not the answer you're looking for.

What you need is some OCR - optical character recognition software. I recommend Googling for 3rd party software that will do the job - it'll be far more reliable than attempting to write your own. Many, many years of research have going into the creation of effective OCR, so unless you want to do it for the sake of learning how it's done, there's absolutely no sense in doing it yourself.

If you really must do it yourself, think about the task: are you wanting to recognize handwriting or print? If print, what font(s)? If handwriting, are you interested in cursive (joined letters) or block printing? What about different font weights? (Bold font lines are typically many pixels wider than normal fonts). Do you want to insist that the text is on a plain background, or are you interested in handling noise (such as may be present in a fax, or photograph of something with writing on it)?
 
Share this answer
 

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