X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=samples%2Fpython%2Fminidemo.py;fp=samples%2Fpython%2Fminidemo.py;h=0000000000000000000000000000000000000000;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hp=15687e204e157ee42512cc7d89c81748d223ca0b;hpb=454138ff8a20f6edb9b65a910101403d8b520643;p=opencv diff --git a/samples/python/minidemo.py b/samples/python/minidemo.py deleted file mode 100644 index 15687e2..0000000 --- a/samples/python/minidemo.py +++ /dev/null @@ -1,17 +0,0 @@ -import opencv -from opencv import highgui - -highgui.cvNamedWindow("win", highgui.CV_WINDOW_AUTOSIZE) -cap = highgui.cvCaptureFromFile("/home/asbach/Source/ObjectDetection/older/avi/table.avi") -img = highgui.cvQueryFrame(cap) - -print img -print "Got frame of dimensions (", img.width, " x ", img.height, " )" - -highgui.cvShowImage("win", img) -highgui.cvMoveWindow("win", 200, 200) -highgui.cvWaitKey(0) - -pilimg = opencv.Ipl2PIL(img) -print pilimg -