Using cv2.bitwise_not(hueThresh), this change allows the user to select the opposite of the thresholded hue region. It is useful for finding red/purple regions.
Use the feature by changing invert_hue=False to True. Defaults to False to avoid any unintended changes.
Using cv2.bitwise_not(hueThresh), this change allows the user to select the opposite of the thresholded hue region. It is useful for finding red/purple regions.
Use the feature by changing
invert_hue=False
toTrue
. Defaults toFalse
to avoid any unintended changes.