From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display number from data gather from a webcam?

From the webcam I want to acquire the display numbers that appear in the control system, and display only the number in labview. I have attach a picture that show the control system . I want the system to be update the number every second. 

0 Kudos
Message 1 of 8
(4,210 Views)

Run a few steps in a loop:

 

Acquire image from webcam

Convert to grayscale by extracting color plane

use IMAQ Read LCD to get the value of the number.

 

There will be some setup to figure out the ROIs for the digits.  I think there are examples that should help you with that.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 8
(4,201 Views)

Is the IMAQ LCD read comes with vision driver?

0 Kudos
Message 3 of 8
(4,197 Views)

IMAQ Read LCD is part of the Vision toolkit.  You would need the Vision toolkit to use it.

 

You could recreate the function by drawing ROIs around each segment, then using logic to figure out what digit it is, but that is time consuming.  The Vision toolkit has a lot of very useful tools that make image processing easy.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 4 of 8
(4,174 Views)

I have attach of a copy of my block diagram, I have converted the picture in grayscale. When I use ROI it wont recognize the number, it display another number. 

Download All
0 Kudos
Message 5 of 8
(4,169 Views)

You have to do some training beforehand.  I think it takes the ROI you define and converts it to an array of ROIs, one for each digit.  I don't remember all the details at this time.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 6 of 8
(4,160 Views)

Take a look at the IMAQ Get LCD ROI VI. I think this is what Bruce is referring to.

 

Daniel V.

Applications Engineer

0 Kudos
Message 7 of 8
(4,159 Views)

Just try to implement using Vision assistant open the image. You can change the image resolution if needed because if image is too samll its difficult to do OCR

Use colour plane extraction (Mostly Luminance)Browse the .abc file (If not created create a  abc file and train the respective character)

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 8 of 8
(4,115 Views)