A program to detect common colors
Test the detection:
python3 color.py
- Create a set of detectable Hsv color range
- Extract a detection area on the camera (top left corner)
- Compute the average Hsv color of this area
- Check if the Hsv color is in detectable Hsv color range