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

issue with cv2.imshow() #88

Open
adsenger opened this issue Aug 26, 2020 · 2 comments
Open

issue with cv2.imshow() #88

adsenger opened this issue Aug 26, 2020 · 2 comments

Comments

@adsenger
Copy link

I'm getting this error running the script:

Traceback (most recent call last):
  File "Object_detection_picamera.py", line 161, in <module>
    cv2.imshow('Object detector', frame)
cv2.error: OpenCV(4.4.0) /tmp/pip-install-fx8ry_hd/opencv-python/opencv/modules/highgui/src/window.cpp:651: 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'

I installed opencv using pip install opencv-python after installing all the dependencies, not sure what was missing.

@woutervanranst
Copy link

same issue here

@woutervanranst
Copy link

I apt get installed the 2 packages, did an u install of opencv and reinstall opencv an it worked from there

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

2 participants