-
Notifications
You must be signed in to change notification settings - Fork 5
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
objdetect::CascadeClassifier::load fails with OpenCV Error #3
Comments
@aleksandrpak I believe that has something to do with the deprecation of the OpenCV C API (which is what rust-opencv uses) so you should load the older xml file using the code you've written. |
@woxtu OpenCV-Java loads the new haar-cascade files without a problem. Have you worked this out? |
I suppose old format file raises this error, but I don't know the details. Try to use |
Thanks @woxtu - that worked for me |
Hi , i'm using Ubuntu 14.04 with opencv 2.4.10 |
Here is my Cargo.toml:
Trying to run following piece of code:
I receive following error:
haarcascade_frontalface_alt.xml file is taken from opencv github repository: https://github.com/Itseez/opencv/blob/master/data/haarcascades/haarcascade_frontalface_alt.xml
And following example is working with exact same file.
opencv is installed using brew. My OS is Mac OS Yosemite 10.10.1.
The text was updated successfully, but these errors were encountered: