How can i release the camera<imutils.video.webcamvideostream.WebcamVideoStream instance at 0x7f2c40e75b00> How can i release the camera<imutils.video.webcamvideostream.WebcamVideoStream instance at 0x7f2c40e75b00> tkinter tkinter

How can i release the camera<imutils.video.webcamvideostream.WebcamVideoStream instance at 0x7f2c40e75b00>


vs.stream.release() didn't work for me.

vs.stream.stream.release() worked perfectly.


imutils actually uses cv2.VideoCapture() to initialize stream, but didn't release it in stop.

vs.stream.release() shall work.

I've created pull request in imutils github repo :)https://github.com/jrosebr1/imutils/pull/81/files