Ask Your Question

Revision history [back]

Ignore part of an image whilst detecting LED colour

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.

click to hide/show revision 2
retagged

Ignore part of an image whilst detecting LED colour

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.