opencv python destroyAllWindows() destroyWindow() 销毁窗口

destroyAllWindows()

def destroyAllWindows(): # real signature unknown; restored from __doc__
    """
    destroyAllWindows() -> None
    .   @brief Destroys all of the HighGUI windows. 销毁所有HighGUI窗口。
    .   
    .   The function destroyAllWindows destroys all of the opened HighGUI windows.
    	函数destroyAllWindows销毁所有打开的HighGUI窗口。
    """
    pass

destroyWindow(winname)

def destroyWindow(winname): # real signature unknown; restored from __doc__
    """
    destroyWindow(winname) -> None
    .   @brief Destroys the specified window. 销毁指定的窗口。
    .   
    .   The function destroyWindow destroys the window with the given name.
    	函数destroyWindow破坏具有给定名称的窗口。
    .   
    .   @param winname Name of the window to be destroyed.
    				   要销毁的窗口的名称。
    """
    pass

功能就是销毁窗口,如果不销毁,在停止流传输时窗口就会像这样卡一会:
在这里插入图片描述
在这里插入图片描述

已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 游动-白 设计师:上身试试 返回首页