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

Tracker broken in release 4.0.8 #394

Closed
nitsch opened this issue Oct 6, 2019 · 3 comments
Closed

Tracker broken in release 4.0.8 #394

nitsch opened this issue Oct 6, 2019 · 3 comments

Comments

@nitsch
Copy link
Collaborator

nitsch commented Oct 6, 2019

The switch to OpenCV 3 broke the tracker. This is what running test_tracker.exe, MSVC 2017 x64, release 4.0.8 on Windows 10 spits out before dying:

Opening controller 0
[PSMOVE WARNING] Magnetometer in xx:xx:xx:xx:xx:xx not yet calibrated.
Calibrating controller 0...OpenCV: terminate handler is called! The last OpenCV error is:
OpenCV(3.4.8-pre) Error: Bad argument (Array should be CvMat or IplImage) in cvGetSize, file C:\projects\psmoveapi\external\opencv\modules\core\src\array.cpp, line 1246

This is likely due to the known issues occurring when trying to build/use these newer branches of OpenCV as C library (see opencv/opencv#6221 for example).

@nitsch
Copy link
Collaborator Author

nitsch commented Oct 6, 2019

Similarly, on Linux:

Trying to init PSMoveTracker...OpenCV Error: Bad argument (Bad image header) in cvCloneImage, file /build/opencv-ytxPbe/opencv-3.2.0+dfsg/modules/core/src/array.cpp, line 3129
terminate called after throwing an instance of 'cv::Exception'
what(): /build/opencv-ytxPbe/opencv-3.2.0+dfsg/modules/core/src/array.cpp:3129: error: (-5) Bad image header in function cvCloneImage

Aborted

@nitsch
Copy link
Collaborator Author

nitsch commented Jan 4, 2020

The issue on Linux was something different, fixed in 39eb996.

@nitsch
Copy link
Collaborator Author

nitsch commented Aug 6, 2020

Fixed in Release 4.0.9.

@nitsch nitsch closed this as completed Aug 6, 2020
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