Browse Source

修改camera

TitanWong 1 year ago
parent
commit
6a50881bad
1 changed files with 2 additions and 0 deletions
  1. 2 0
      camera.py

+ 2 - 0
camera.py

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