videowriter1 OpenCV로 영상 녹화 테스트 버전은 OpenCV 4.4.0. 입니다. #include #include using namespace std; using namespace cv; int main(void) { VideoCapture cap;// get frames from camera VideoWriter writer;// write video with frames Mat frame; cap.open(0);// connect to camera cap >> frame;// get a frame in advance to set width n height int codec = VideoWriter::fourcc('M', 'J', 'P', 'G');// codec for avi double fps = 30.0; string v_name.. 2022. 8. 8. 이전 1 다음