#include <cv.h>
#include <highgui.h>
void main(void){
IplImage *img;
CvCapture *capture;
cvNamedWindow( "win", CV_WINDOW_AUTOSIZE );
capture = cvCaptureFromAVI("result.avi");
while(1){
img = cvQueryFrame(capture);
cvShowImage( "win", img );
if (cvWaitKey(30); == 27 ) break; //ESC
}
}
'OpenSTUDY > CameraVision' 카테고리의 다른 글
cvFlip (0) | 2011.11.05 |
---|---|
CreateVideoWriter (0) | 2011.11.02 |
Canny Edge (0) | 2011.11.02 |
openCV 2.1 시작 (0) | 2011.10.22 |
CAM Shift (0) | 2011.10.18 |