gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) cv2.imshow("Gray", gray) print("Gray image...") cv2.waitKey(0). # Threshold the gray image to binary image.
確定! 回上一頁