Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

OpenCV3 threshold question (cv2.THRESH_BINARY_INV | cv2.THRESH_OTSU)[1]

$
0
0
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.

Viewing all articles
Browse latest Browse all 2088

Trending Articles