// readvideo.cpp : 定义控制台应用程序的入口点。
#include <cv.h>
#include "stdafx.h"
#include <opencv2\opencv.hpp>
using namespace cv;
int _tmain(int argc, _TCHAR* argv[])
{
VideoCapture capture;
capture.open("E:\\Workspace\\OpenCV\\test\\video\\video.avi");
while(true)
{
Mat frame;
capture>>frame;
imshow("readvideo",frame);
waitKey(10);
}
return 0;
}