umagon
Newbie level 3
as the title above, i wanted to write a code if red color ball was detected, the led will lit on (in MATLAB). how to write a IF statement to make sure the red ball was detected from the webcam? and how to determine the range of RGB value
let say i have a variable A = a ball bound in a box, then by using a IF, if the ball that bounded in the box (variable A) is red, then led will on
please help, thanks alot
let say i have a variable A = a ball bound in a box, then by using a IF, if the ball that bounded in the box (variable A) is red, then led will on
please help, thanks alot