Kysymys C:stä
Mitä noi sen videot on kun en saa avattua? Lahden nistipissis
Kommentit (5)
int main(int argc, char** argv)
{
cvNamedWindow("xsample", CV_WINDOW_AUTOSIZE);
CvCapture* capture = cvCreateFileCapture("movie.avi");
if (!capture)
{
printf("!!! cvCreateFileCapture didn't found the file !!!\n");
return -1;
}
IplImage* frame;
while(1)
{
frame = cvQueryFrame( capture );
if (!frame)
break;
cvShowImage( "xsample", frame );
char c = cvWaitKey(33);
if (c == 27)
break; // ESC was pressed
}
cvReleaseCapture(&capture);
cvDestroyWindow("xsample");
return 0;
}
Vierailija kirjoitti:
Tästä tytöstä ei ole hetkeen puhuttu, miten hän mahtaa nykyään voida...
Kylhän se askia ja instaa päivittää, vissii ihan hyvin menee
Tästä tytöstä ei ole hetkeen puhuttu, miten hän mahtaa nykyään voida...