summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CamTest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/CamTest.py b/CamTest.py
index 4f6f45f..cd3917e 100644
--- a/CamTest.py
+++ b/CamTest.py
@@ -32,5 +32,5 @@ while True:
break
# Release the camera and close all windows
-cam.release()
+cam.stop()
cv2.destroyAllWindows()