From ee3b8a40bb74422a1319f551ab4a42f63ea51678 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Sat, 20 Dec 2014 19:49:25 +0100 Subject: can play video --- server.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 server.py diff --git a/server.py b/server.py new file mode 100644 index 0000000..7fca945 --- /dev/null +++ b/server.py @@ -0,0 +1,8 @@ +import cv2 + +cap = cv2.VideoCapture("/home/flo/outvid2.avi") +while True: + status, frame = cap.read() + cv2.imshow("img",frame) + cv2.waitKey(20) + -- cgit v1.2.3