#include <opencv\cv.h>
#include <opencv\highgui.h>
using namespace cv;
int main()
{
Mat frame;
string path = "D:\\outputVideo\\outputVideo.avi";
VideoCapture capture(path);
namedWindow("my_window");
for (;;) {
capture >> frame;
imshow("my_window", frame);
if (cv::waitKey(30) >= 0) break;
}
}
댓글 없음:
댓글 쓰기