summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2014-12-20 19:49:25 +0100
committerFlorian Jung <flo@windfisch.org>2014-12-20 19:49:25 +0100
commitee3b8a40bb74422a1319f551ab4a42f63ea51678 (patch)
tree05244db02f47f33f05d0f51ee86f4b3fa5d4a5c4
can play video
-rw-r--r--server.py8
1 files changed, 8 insertions, 0 deletions
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)
+