TitanWong 1 rok temu
rodzic
commit
6a50881bad
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      camera.py

+ 2 - 0
camera.py

@@ -66,4 +66,6 @@ while (cap.isOpened()):
 
 print("break out")
 cap.release()
+if debug:
+    cv2.destroyAllWindows()
 pipe.terminate()