#define NUM_FRAME 300 //只处理前300帧,根据视频帧数可修改 void Video_to_image(char* filename) { printf("--- video to image ... ---\n"); //初始化一个视频文件捕捉器 CvCapture* capture = cvCaptureFromAVI(filename); //获取视频信息 cvQueryFrame(capture); int frameH = (int) cvGetCapt...