#include<opencv2/opencv.hpp>
#include<opencv2/highgui/highgui.hpp>
#include<opencv2/imgproc/imgproc.hpp>
#include<iostream>
using namespace std;
using namespace cv;
int main()
{
VideoCapture capture("G:\\bike.avi");
Mat frame;
while (waitKey(33) != 27)
{
capture >> frame;
imshow("【视频】", frame);
}
return 0;
}
Opencv读取并播放视频
最新推荐文章于 2023-04-13 18:39:24 发布