opencv python - TrackBar 사용하기(YCrCb)
색좌표계가 YCbCr이 아니고 YCrCb이다 import cv2 src = cv2.imread('images/tomato.jpg',cv2.IMREAD_COLOR) src = cv2.pyrDown(src) ycrcb = cv2.cvtColor(src, cv2.COLOR_BGR2YCrCb) cv2.namedWindow("TrackBar Windows") cv2.createTrackbar("Y-Low","TrackBar Windows", 0, 255, lambda x : x) cv2.createTrackbar("Y-High","TrackBar Windows",0, 255, lambda x : x) cv2.createTrackbar("Cr-Low","TrackBar Windows", 0, 255, lambda ..