-
Notifications
You must be signed in to change notification settings - Fork 188
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
Error reading the RCR model "data/rcr/face_landmarks_model_rcr_22.bin": Failed to read 8 bytes from input stream! Read 0 #16
Comments
Hi Avi! Thank you! Hmm, are you running it from the build directory? In that case you need to adjust the path to the model. Can you try to run it by giving it the whole path to the model? E.g.:
(and don't forget the rest of the arguments.) Cheers, |
That works! Thanks a lot. |
Awesome! (Just for reference: If you run the Edit: Opened #17 to improve the error message. Patrik |
Hi Patrick, |
@Coding4mejie Can you try with the model under master/apps/rcr/data/face_landmarks_model_rcr_22.bin? Alternatively, you can run it with the model from 4dface, which you can obtain either through there or from here. I think in your case the issue is just that you're passing an invalid path to the app, make sure you pass a path to an actual model. |
@patrikhuber Thanks for your help,I have another question,I hope your can help me.I compile the 4dface project,but the document downloaded from your github don't have ../share/haarcascade_frontalface_alt2.xml,where can I get this file?Sorry for having so many questions. |
find the file in opencv directories, it's a model file for face detector. |
Yea, if you're on Ubuntu, just follow the manual: |
@patrikhuber @datangguo Thank you.I have solve it. |
Hi Patrick,
Awesome project, thanks for sharing it. I cloned the repository, and compiled it with cmake (with all the required libraries already installed). The compilation went fine, but when I try to run it, I get the following error:
I am using Ubuntu 14.04. Also, I am testing it on OpenCV 3.0, but that does not seem to be problem here, as far as I can see.
Thanks,
Avi
The text was updated successfully, but these errors were encountered: