Update to 2.0.0 tree from current Fremantle build
[opencv] / samples / octave / minidemo.m
1 #! /usr/bin/env octave
2
3
4 cvNamedWindow("win", CV_WINDOW_AUTOSIZE);
5 cap = cvCreateFileCapture("/home/x/work/sneaker/dvgrab-001.avi");
6 img = cvQueryFrame(cap);
7
8 printf("Got frame of dimensions (%i x %i)",img.width,img.height);
9
10 cvShowImage("win", img);
11 cvMoveWindow("win", 200, 200);
12 cvWaitKey(0);
13
14 octimg = cv2im(img);
15