Click here to Skip to main content
15,886,797 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone ..

Previously i posted this question in this forum and as per as experts suggestion they recommended me to use openCV for extracting data from the image.

Am new to openCV, basically i learnt To install Opencv 2.1 with visual studio 2008 & then i worked with simple programs like to load the images, Invert, save images. Then am trying to read the numbers from the image. I searched alot in google & openCV tutorials pdf, i dint got any solution. Please can anyone guide me about this ? OR A simple Walkthrough for reading the numbers from the image..


Thank you..
Posted

1 solution

I googled "OCR in OpenCV" and got the following:

Check out this blog.

http://blog.damiles.com/2008/11/basic-ocr-in-opencv/[^]

hope it helps:)
 
Share this answer
 
v2
Comments
Guru_C++ 31-May-12 9:07am    
I tried this.. But am not getting exactly ..
BupeChombaDerrick 31-May-12 9:22am    
What exactly are you not getting?
Guru_C++ 31-May-12 10:01am    
I applied cvFindcountour() to image... I can Draw countours or like boundary line on numbers. But how do i retrieve the numbers to my application.. Is their any library for that ?
BupeChombaDerrick 31-May-12 10:23am    
For starters use noiseless images so that the contours are connected per single digit and then you can group those pixels. For some details in grouping see http://stackoverflow.com/questions/2378579/opencv-grouping-white-pixels

But if you want your app to deal with images directly from a web cam then your app needs to do a lot of pre processing to identify possible locations of individual characters.

For now I recommend you start with a sliding window technique, first train a classifier and apply the classifier at all possible locations and scales using an image pyramid.
Guru_C++ 1-Jun-12 1:50am    
Thanks... Let me try on this..

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