Git Product home page Git Product logo

Comments (8)

YuvalNirkin avatar YuvalNirkin commented on August 15, 2024

Must be missing Dlls, please use the latest binaries.

from find_face_landmarks.

Sharmaaaa avatar Sharmaaaa commented on August 15, 2024

Yea , it's working

from find_face_landmarks.

Sharmaaaa avatar Sharmaaaa commented on August 15, 2024

I have another problem now.

I have taken the image from webcam using matlab and it's giving me an .mat file.I convert the the .matfile into .png file using imwrite command and after that using two command in command window of matlab:

modelFile = 'shape_predictor_68_face_landmarks.dat';

frame = find_face_landmarks(modelFile,'test.png')

it's giving error - Error using find_face_landmarks
Error: Failed to open video source

But it's working for images downloaded from google or jaffe database.

Can you please help me .I stucked here.

from find_face_landmarks.

YuvalNirkin avatar YuvalNirkin commented on August 15, 2024

Try:

I = imread('test.png');
frame = find_face_landmarks(modelFile, I)

from find_face_landmarks.

gibaless avatar gibaless commented on August 15, 2024

Hi,
I've got on a Mac with Matlab R2017b your sample code:

modelFile = 'shape_predictor_68_face_landmarks.dat';
I = imread('test.png');
frame = find_face_landmarks(modelFile, I);

but I am getting the error:
Attempt to execute SCRIPT find_face_landmarks as a function:
/Users/.../find_face_landmarks-1.2-x64-vc14-release/interfaces/matlab/find_face_landmarks.m

Error in test (line 3)
frame = find_face_landmarks(modelFile, I);

Any ideas what am I missing here?
Thanks a lot.

from find_face_landmarks.

Sharmaaaa avatar Sharmaaaa commented on August 15, 2024

Hi,
Please try:
img= 'test.png';
frame = find_face_landmarks(modelFile, img);

most probably, it will work.

from find_face_landmarks.

gibaless avatar gibaless commented on August 15, 2024

Unfortunately it does not work.
I also tried:
img = 'test.png';
frame = find_face_landmarks('shape_predictor_68_face_landmarks.dat', img);

and
frame = find_face_landmarks('shape_predictor_68_face_landmarks.dat', 'test.png');

keep getting the error:
Attempt to execute SCRIPT find_face_landmarks as a function.

Should I be executing this from an specific folder within your solution? I am inside interfaces/matlab/ folder and have added .dat file inside that folder.

Thanks.

from find_face_landmarks.

YuvalNirkin avatar YuvalNirkin commented on August 15, 2024

You're trying to use "find_face_landmarks-1.2-x64-vc14-release" which are Windows binaries!
For the library to work on your Mac you must build and install it from source.

Please note I haven't tested the library on MacOS but people reported it does work.

from find_face_landmarks.

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.