不加destroyAllWindows(),为啥CVshow的窗口也会关闭呢?
因为要释放内存!
go to查看destroyAllWindows()定义如下:
def destroyAllWindows(): # real signature unknown; restored from __doc__
"""
destroyAllWindows() -> None
. @brief Destroys all of the HighGUI windows.
.
. The function destroyAllWindows destroys all of the opened HighGUI windows.
"""
pass