Thresholding multiple RGB values in Python
Trying to extract three RGB values
- (255, 255, 0)
- (0, 0, 255)
- (255, 0, 0)
via thresholding in a live video, but couldn't make it work by using inRange. How can it be done? Not asking for code (samples would be great), but some direction to search for.
Thanks in advance.
you need to convert your image to HSV color space see related questions (if you find useful information please upvote the question and the best answer)