验证中...
Languages: C/C++
Categories: 图形图像处理
Latest update 2018-12-09 10:33
gistfile1.txt
Raw Copy
#include <iostream>
#include<opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
using namespace cv;
int main()
{
VideoCapture capture("/home/ubuntu/Iron_Man.mkv");
while(1)
{
Mat frame;
capture>>frame; //read the picture
if(frame.empty()) //Judge the empty
break;
imshow("Movie",frame); //Show the Picture
waitKey(30); //Delay 30Ms
}
return 0;
}

Comment list( 0 )

You need to Sign in for post a comment

Help Search

Gitee_you_jiang_zheng_wen Zheng_wen_close