Frames grabbed from an RGB(BGR) stream are converted in HSV format. With the help of this application the right color space can be determined, useful for applications (i.e. skin filtering/detection) where a special color is needed to be tracked.
From Command line:
python ./color_filterer.py
or
python ./color_filterer.py 0
The first command-line argument defines the camera ID to use. By default, ID is zero, corresponds to the webcam connected to USB
Use "q" from the keyboard to exit from application.
Original idea is part of the OpenCV python tutorials, credits go there.
/Enjoy.