Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can openCV be used to extract character strings from images?

I have an idea of sorting through IC chips based on their types for a design project. Of course, the information about each device is printed on the top in a string of characters:

enter image description here

The idea is that we could take a picture of this device, and process the image and extract the string "74AC139PC." The basis of the project would be taking a bin of random DIP chips and sorting through them to find the ones associated with a string input to the program by a user.

How difficult would it be to extract such information from an image? The process is simplified because most chips have a nice white/gold text overlaid onto a black background. Further, the text is usually formatted just like the image above, so no fancy text is used.

Any suggestions on where to start?

click to hide/show revision 2
retagged

updated 2014-02-12 02:15:00 -0600

berak gravatar image

Can openCV be used to extract character strings from images?

I have an idea of sorting through IC chips based on their types for a design project. Of course, the information about each device is printed on the top in a string of characters:

enter image description here

The idea is that we could take a picture of this device, and process the image and extract the string "74AC139PC." The basis of the project would be taking a bin of random DIP chips and sorting through them to find the ones associated with a string input to the program by a user.

How difficult would it be to extract such information from an image? The process is simplified because most chips have a nice white/gold text overlaid onto a black background. Further, the text is usually formatted just like the image above, so no fancy text is used.

Any suggestions on where to start?

click to hide/show revision 3
retagged

updated 2014-02-12 02:15:16 -0600

berak gravatar image

Can openCV be used to extract character strings from images?

I have an idea of sorting through IC chips based on their types for a design project. Of course, the information about each device is printed on the top in a string of characters:

enter image description here

The idea is that we could take a picture of this device, and process the image and extract the string "74AC139PC." The basis of the project would be taking a bin of random DIP chips and sorting through them to find the ones associated with a string input to the program by a user.

How difficult would it be to extract such information from an image? The process is simplified because most chips have a nice white/gold text overlaid onto a black background. Further, the text is usually formatted just like the image above, so no fancy text is used.

Any suggestions on where to start?