import cv2 import numpy as np # 캠으로부터 데이터를 가져오기 cap = cv2.VideoCapture() if cap.isOpened() == False: print('카메라로부터 정보를 얻을 수 없습니다.') else : # 프레임의 정보를 가져와보기! # 화면크기를 말하는 것! (width, height) frame_width = int(cap.get(3)) frame_height = int(cap.get(4)) print(frame_width, frame_height) out = cv2.VideoWriter('data/videos/output.avi', cv2.VideoWriter_fourcc('M', 'J', 'P', 'G'), 10, frame_width, frame_h..