Search
Test the code used to detect only red and green circles
Figure 1 is a picture of different geometric shapes in different colours. The code used for testing should only detect any red and green circles and highlight them with black colour.
To test the code, I used live streaming using the Raspberry Pi camera module and successfully the camera managed to only detect the red circles and didn't detect the green shapes as it wasn't circles as shown in figure 2.
Figure (1) Picture download for testing
Figure (2): Result after running the code
Comments