#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main()
{
VideoCapture cap1("image/Wildlife.wmv");
Mat frame1;
namedWindow("video", 1);
while(true){
cap1 >> frame1;
imshow("video", frame1);
if (waitKey(30) == 'q') break;
}
return 0;
}
'Programming > openCV' 카테고리의 다른 글
| 9. sobel Filter / Canny Edge (0) | 2017.04.04 |
|---|---|
| 8. 영상을 Canny Edge Detection 후 저장하기 / 영상 정보 출력하기 (0) | 2017.04.04 |
| 6. 디졸브와 트랙바 (0) | 2017.04.04 |
| 5. 영상 디졸브 (1) | 2017.04.04 |
| 4. Threshold 와 트랙바 (0) | 2017.04.04 |