summaryrefslogtreecommitdiff
path: root/CamTest.py
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-05-07 17:49:51 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-05-07 17:55:32 +0530
commit3f338c6ae5a50b1ec17b725bfad0130cf1298875 (patch)
treeebf8294b442f6f35d90dff6a3e3052f1d31bfe3d /CamTest.py
parent3603654ef00245e9631e89a775f242235ddae001 (diff)
CamTest: releasing picamera using stop()
Diffstat (limited to 'CamTest.py')
-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()