0x0000000066E5377F (opencv_ffmpeg2410_64.dll) (ConsoleApplication3.exe 中)处有未经处理的异常: 0xC0000005: 读取位置 0x0000000000000000 时发生访问冲突。#include "highgui.h"int main(int argc, char** argv){cvNamedWindow("Example2", CV_WINDOW_AUTOSIZE);CvCapture* capture = cvCreateFileCapture(argv[1]);IplImage* frame;while (1){frame = cvQueryFrame(capture);if (!frame) break;cvShowImage("Example2", frame);char c = cvWaitKey(33);if (c == 27) break;}cvReleaseCapture(&capture);cvDestroyWindow("Example2");}
- 1 回答
- 0 关注
- 1589 浏览
添加回答
举报
0/150
提交
取消