D:\pycharm-obj\test\venv\Scripts\python.exe D:/pycharm-obj/test/main.py
Traceback (most recent call last):
File "D:\pycharm-obj\test\main.py", line 38, in
cv2.imshow('result', img)
cv2.error: OpenCV(4.5.3) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-au50kd6q\opencv\modules\highgui\src\window.cpp:1274: 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'
进程已结束,退出代码为 1