태그: OpenCV

0

OpenCV Crop Frame and Save

OpenCV Crop Frame and Save 123count = 0cv2.imwrite("frame%d.jpg" % count, frame)count = count+1 123456import cv2img = cv2.imread("lenna.png")crop_img = img[200:400, 100:300] # Cro