top of page

Test the code used to detect only red and green circles

  • aahmad2304
  • Feb 18, 2020
  • 1 min read

Updated: Feb 20, 2020

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


© 2023 by The Book Lover. Proudly created with Wix.com

bottom of page