Filter löschen
Filter löschen

Recognizing text from image of a calculator

1 Ansicht (letzte 30 Tage)
Soumyadip
Soumyadip am 24 Mär. 2013
Bearbeitet: sandeep bayi am 21 Mär. 2017
Hi,
I have trying to extract the numbers from a calculator screen image. I am using my laptop webcam to detect the image and simultaneously display the result after image processing. Can anybody please help how to proceed??
  1 Kommentar
sandeep bayi
sandeep bayi am 21 Mär. 2017
Bearbeitet: sandeep bayi am 21 Mär. 2017
iam too working on the like wise project and need help for extracting the numbers from led display of seven segment data. Can anyone please help me?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 24 Mär. 2013
Very very easy. You don't even need to do sophisticated OCR. You merely need to sample the image at known locations for known numbers. Trivial for a 7 segment display. Just read the image at 7 locations. Let's say the locations are
1
2 3
4
5 6
7
Now a "1" would have 2 and 5 lit, and all the others unlit.
A "2" would have 1, 3, 4, 5, & 7 lit and the others unlit.
You can make up a 128 element look up table and use that to read off the number, given an input pattern. it's the same concept but a little more complicated if you have something with more resolution than a 7 segment display.
  23 Kommentare
Image Analyst
Image Analyst am 31 Mär. 2013
Sorry but I think I've provided you enough to go on. If I do this, then there will be another problem with another weird image, and I can't go on to do the whole project with you. And I don't have time to delve deeply into any one particular project. I think you have the general concepts enough for you to continue on your own and take pride in ownership of your code. If lab thresholding won't work, try thresholding on RGB and look for large black squares. Of course this won't work the minute you start to look at black calculators instead of white calculators - see what I mean?
Soumyadip
Soumyadip am 31 Mär. 2013
okay...guess i am on my own..thanks

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by