Giter VIP home page Giter VIP logo

Comments (9)

patrikhuber avatar patrikhuber commented on July 23, 2024

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.:

rcr-detect -m /home/blabla/path_to_software/face_landmarks_model_rcr_22.bin

(and don't forget the rest of the arguments.)

Cheers,
Patrik

from superviseddescent.

avisingh599 avatar avisingh599 commented on July 23, 2024

That works! Thanks a lot.

from superviseddescent.

patrikhuber avatar patrikhuber commented on July 23, 2024

Awesome!

(Just for reference: If you run the install target (don't forget to set CMAKE_INSTALL_PREFIX), then all files will get copied to the chosen install directory and the app will work as expected with default arguments.)

Edit: Opened #17 to improve the error message.

Patrik

from superviseddescent.

Coding4mejie avatar Coding4mejie commented on July 23, 2024

Hi Patrick,
@patrikhuber I meet the same error with avisingh599 ,but my problem is "data/rcr/face_landmarks_model_rcr_68.bin",but there's no 68.bin in the document,I am working on windows,could you tell me how to solve it?
Thanks.
Jie

from superviseddescent.

patrikhuber avatar patrikhuber commented on July 23, 2024

@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.

from superviseddescent.

Coding4mejie avatar Coding4mejie commented on July 23, 2024

@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.

from superviseddescent.

shrekdad avatar shrekdad commented on July 23, 2024

find the file in opencv directories, it's a model file for face detector.

from superviseddescent.

patrikhuber avatar patrikhuber commented on July 23, 2024

Yea, if you're on Ubuntu, just follow the manual:
sudo apt-get install [...] opencv-data

from superviseddescent.

Coding4mejie avatar Coding4mejie commented on July 23, 2024

@patrikhuber @datangguo Thank you.I have solve it.

from superviseddescent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.