1. 问题
Cv2.error: OpenCV(4.9.0) D:\a\opencv-Python\opencv-python\opencv\modules\highgui\src\window.cpp:1272: error: (-2:Unspecified error) The function is not IMPlemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure scrIPt in function 'cvShowImage'
2. 解决
pip install opencv-contrib-python