Hi... I am using OpenCV3 with Python and want to know what exactly happens when I use:
thresh = cv2.threshold(frame,100, 255, cv2.THRESH_BINARY_INV | cv2.THRESH_OTSU)[1]
to threshold frames of a video, one at a time. What does OR mean here? (does it mean binary inverse will be applied to some frames and OTSU will be applied to other frames? on what basis?)
Thanks.
↧