Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you can use 2 inRange() calls, one with hue going from 170 to 180, and another going from 0 to 20

then you can OR the resulting masks like:

final = cv2.bitwise_or(mask1, mask2)