Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

补一个我遇到的问题的解决方法 希望可以帮到大家 #47

Open
stxxxd opened this issue May 27, 2023 · 0 comments
Open

补一个我遇到的问题的解决方法 希望可以帮到大家 #47

stxxxd opened this issue May 27, 2023 · 0 comments

Comments

@stxxxd
Copy link

stxxxd commented May 27, 2023

问题1 polygraphy.exe不存在
解决方法:重新安装polygraphy
pip uninstall polygraphy -y
pip install polygraphy
image

问题2
Traceback (most recent call last):
File ".\script\main.py", line 207, in
cv2.imshow('detect', img_show)
cv2.error: OpenCV(4.7.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'
解决方法:重新安装opencv-python
pip uninstall opencv-python-headless
pip uninstall opencv-python
pip uninstall opencv-python
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant