This is a trivial operation: diff = cv2.threshold(diff, 25, 255, cv2.THRESH_BINARY)[1] Before we get to do that, though, we need to prepare our frame for ...
確定! 回上一頁