diff --git a/imutils/video/webcamvideostream.py b/imutils/video/webcamvideostream.py index dbe8751..249a6f3 100644 --- a/imutils/video/webcamvideostream.py +++ b/imutils/video/webcamvideostream.py @@ -40,3 +40,4 @@ def read(self): def stop(self): # indicate that the thread should be stopped self.stopped = True + self.stream.release() #also release the camera