OCR in real time on screen

Anyone has a sample code for MATLAB to recognize characters and numbers on whatever's is in a user defined box on screen in real-time.
The reason I'm doing this is I'm planning to use an external software to collect data in real time. To avoid complex handshaking between MATLAB and that software. I'm planning to use OCR to record data.
So the plan is this. A user first defines a box (adjust the size) to recognize whatever is in that box. Shift that box to the area where the data (numbers and characters) are shown on screen. MATLAB then records it in real-time.
I know this is an unorthodox way to collect data but it will save us ton's of $$ for hardware required for interfacing as well as reducing complexity. It's also very versatile and can be used for any software.

Answers (1)

Image Analyst
Image Analyst on 16 Jul 2016
Have you tried running this code on each frame? http://www.mathworks.com/help/vision/ref/ocr.html#bt548t1-2_1

2 Comments

Hi yes I've seen that post prob is I'm using R2013b without computer vision system toolbox. I need a sample code
Image Analyst
Image Analyst on 16 Jul 2016
Edited: Image Analyst on 16 Jul 2016
That doesn't have to be a problem. Just upgrade. It's only a problem if you want to try to write it yourself - then you're in for a lot of time and work.

Sign in to comment.

Asked:

on 16 Jul 2016

Edited:

on 16 Jul 2016

Community Treasure Hunt

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

Start Hunting!