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

stereoExample Assertion Error #9

Open
OlafHaag opened this issue Feb 24, 2019 · 1 comment
Open

stereoExample Assertion Error #9

OlafHaag opened this issue Feb 24, 2019 · 1 comment

Comments

@OlafHaag
Copy link

Just trying to run the stereoExample.py gives me an error:

Traceback (most recent call last):
  File "stereoExample.py", line 67, in <module>
    cv2.imshow('Disparity', disparity)
cv2.error: OpenCV(4.0.0) C:\projects\opencv-python\opencv\modules\highgui\src\window_w32.cpp:1230: error: (-215:Assertion failed) dst.data == (uchar*)dst_ptr in function 'cvShowImage'

Exiting Leap Image Thread!

The cameraControlExample.py and minimumExample.py run fine.

Win10, Python 3.7.2, Software-Version: 4.0.0+52173, Firmware Revision: 1.7.1

@OlafHaag
Copy link
Author

OlafHaag commented Feb 24, 2019

Apparently this issue will be fixed once OpenCV version 4.0.1 is available as a package on pypi.
In the meantime use pip install opencv-contrib-python==3.4.5.20.

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