Saturday, October 22, 2005

OpenCV: Show continuous sequences in window

seems we have to add 'cvWaitkey()' to show the sequence...

cvNamedWindow( "input_image", CV_WINDOW_AUTOSIZE );
for(;;){
cvShowImage("input_image", input_img);
int c = cvWaitKey(10);
if( c == 27 )
break;
}

No comments:

Post a Comment