First time here? Check out the FAQ!
answered 2020-04-04 02:00:30 -0600
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:
OR
final = cv2.bitwise_or(mask1, mask2)