#include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
int main()
{
string path = "Y:\test_video.mp4";
VideoCapture cap(path);//VideoCapture cap;cap.open("");
Mat img;
while (true)
{
cap >> img;//cap.read(img);
imshow("windows",img);
waitKey(0);
}
return 0;
}
运行提示image是nullptr引发未处理的中断怎么回事