code for red color

November 9, 2024, 13:04

yogeshkhatrichhetri

i am working on a shape detection code: my primary goal is to detect ONLY RED COLOR 2D shapes- SQUARE, REACTANGLE, TRIANGLE, AND CIRCLE ONLY. Here's a code i developed with the help of ai, but its not detecting anything red in color, rather its detecting all blue color shapes. can someone help me with this? thanks.