-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Msys2 opencv4 #6252
Msys2 opencv4 #6252
Conversation
Thanks so much for looking into this, it's really useful. Couple of things.
|
5d8358f
to
f8d7810
Compare
Upgrade deprecated C API calls to their C++ equivalent (cvUndistort2 -> cv::undistort, CvHaarClassifierCascade -> cv::CascadeClassifier, cvHaarDetectObjects -> cascade.detectMultiscale) Old C API calls are guarded with USE_OLD_CV
Defines USE_OLD_CV if OpenCV version < 4.
Cleaned up VS code config; |
i've just compiled opencv 4 for the platforms that use local libraries, can you change the script to instead fix it if you are using and old version? we could also just not have any fix and assume people need to have an up to date install of msys |
…3 and change accordingly
actually no worries, i've just done the changes myself and included the needed fixes for other platforms... |
going to merge this since msys is working fine now and keep working on the other platforms on a different PR. Thanks! |
Update ofxOpenCv addon to use openCv 4 if available.
Some methods (especially HaarDetectObejct converted to their C++ equivalent)
Should correct #6202