PyImageSearch / imutils

A series of convenience functions to make basic image processing operations such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and Python.
MIT License
4.54k stars 1.03k forks source link

camera release #238

Open Quanta-of-solitude opened 3 years ago

Quanta-of-solitude commented 3 years ago

In some hardware, the camera isn't released. Especially when working with Jupyter notebook, Kernel is required to be restarted every time for a new run. Adding stream.release() solves the above issue.

karjanme commented 3 years ago

In some hardware, the camera isn't released. Especially when working with Jupyter notebook, Kernel is required to be restarted every time for a new run. Adding stream.release() solves the above issue.

This issue is also solved in #177