From 3f338c6ae5a50b1ec17b725bfad0130cf1298875 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sun, 7 May 2023 17:49:51 +0530 Subject: CamTest: releasing picamera using stop() --- CamTest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CamTest.py') 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() -- cgit v1.2.3