색상 변환 (BGR -> HSV, YUV, YCbCr)
Cori
1. BGR 값을 HSV로 변환 import cv2 import numpy as npred_bgr = np.array([[[0, 0, 255]]], dtype = np.uint8)green_bgr = np.array([[[0, 255, 0]]], dtype = np.uint8)blue_bgr = np.array([[[255, 0, 0]]], dtype = np.uint8)yellow_bgr= np.array([[[0, 255, 255], dtype=np.uint8)red_hsv = cv2.cvtColor(red_bgr, cv2.COLOR_BGR2HSV)green_hsv = cv2.cvtColor(green_bgr, cv2.COLOR_BGR2HSV)blue_hsv = cv2.cvtColor(blue_bg..