cv2.error: OpenCV(4.5.1) ../modules/highgui/src/window.cpp:651: error: (-2:Unspecified error) The function is not implemented
pip install opencv-contrib-python #使用这个可以解决
# opencv-contrib-python属于加强版,除了主模块,还包含一些增强模块及以下测试的新算法,验证成熟后,再加入主模块
cv2.error: OpenCV(4.5.1) ../modules/highgui/src/window.cpp:651: error: (-2:Unspecified error) The function is not implemented
pip install opencv-contrib-python #使用这个可以解决
# opencv-contrib-python属于加强版,除了主模块,还包含一些增强模块及以下测试的新算法,验证成熟后,再加入主模块