LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compare webcam image/video to reference image

Hi,

 

I have a webcam that records 12 different diodes that glow in 3 different colors. The problem I want to solve is to check if the diodes are glowing or not. My idea is to have a reference image of when they are glowing and check if the live image is the same as the reference. 

 

Don't really know what to do.. Do anyone have any ideas? 

 

0 Kudos
Message 1 of 2
(2,815 Views)

 

Imaq functions:

Extract Color plane (intensity) - of both reference and real-time

Subtract

Threshold

Find Circles (or Particle filter and Particle analysis if LED is not circle) - 

GetColorPixelValue in orignal image at particle location - determine color

 

You can run vision assistant - it will help you build alogortihm and can create subVI for you

 

If LED locations are fixed, you need just  Get Color Pixel Value VI and threshold values

 

0 Kudos
Message 2 of 2
(2,793 Views)