Clemens-Alexander Brust 6 years ago
parent
commit
8063bfec74
1 changed files with 3 additions and 0 deletions
  1. 3 0
      webcamdemo.py

+ 3 - 0
webcamdemo.py

@@ -153,6 +153,9 @@ def main(cam_id):
             first = time.time()
             last = first
 
+            cv2.namedWindow("Webcam Demo", cv2.WND_PROP_FULLSCREEN)
+            cv2.setWindowProperty("Webcam Demo",cv2.WND_PROP_FULLSCREEN,cv2.WINDOW_FULLSCREEN)
+
             print("Running...")
             while True:
                 now = time.time()