Commits

Hakan Ardo  committed 1752766

example input

  • Participants
  • Parent commits 5a0aeec

Comments (0)

Files changed (3)

File talk/dls2012/demo/demo.avi

Binary file added.

File talk/dls2012/demo/demo.py

     def update(self, frame):
         view(frame)
 """
-    runner = Popen(['pypy', 'run.py', 'demo.mpg'])
+    runner = Popen(['pypy', 'run.py', 'demo.avi'])
     vim = Vim('analytics.py')
 
     pause("We'r looking at the input and output of this Tracker object that\n" + 

File talk/dls2012/demo/run.py

     fn = 'tv://'
 
 tracker = Tracker()
-for img in mplayer(fn):
-    view(img, 'Input')
-    tracker.update(img)
+while True:
+    for img in mplayer(fn):
+        view(img, 'Input')
+        tracker.update(img)