Ignore part of an image whilst detecting LED colour

asked 2019-05-31 07:22:11 -0500

I have a board with five small LEDs that switch between red or green randomly.

A few centimeters above each led, there are large button like switches that manually switch the colour of LED. These Buttons are either Red or Green in colour.

I want to use my portable webcam to detect when an LED goes red and know which one it is (MAP it), and make a decision from that.

How do you I ignore the Red/Green Buttons, as I only want to detect when the LED goes Red. Also, how can I map the LEDs relative to the board.

I'm a total newbie to CV. Would love some guidance.

edit retag flag offensive close merge delete


It would be helpful if you could share some images with us.

Chris gravatar imageChris ( 2019-05-31 15:52:38 -0500 )edit