Giter VIP home page Giter VIP logo

Comments (5)

patrikhuber avatar patrikhuber commented on July 23, 2024

Hi,

Mat landmarks: I just landmarked them by hand on an image and copied the coordinates, the goal is just to provide a simple example. It's the 2D landmarks on a face image.

Will this time dedicated to other image file of the test need to change it?

I'm sorry, I unfortunately do not understand your question!

from superviseddescent.

tpengti avatar tpengti commented on July 23, 2024

Hi, Patrik
Thank you for your reply. your “Mat landmarks” coordinate is around 500
I have read a .pts file about ibug ,I get landmark coordinate e.g,187.844833,186.082748,96.007217,146.086288,231.066940,280.085144,133.310715,186.358597,237.496811,186.515488,342.358246,366.692749,264.464661,273.385010,282.680420,282.681854,401.905457,404.223694,404.245697,425.630554
But your code output:pitch=-510.209, yaw=1159.74, roll=463.321

from superviseddescent.

patrikhuber avatar patrikhuber commented on July 23, 2024

Hi,

You have to keep in mind my example is a toy-example to show how to use the library and how to make it work for your own applications. I think what is most likely happening could be the following: If you look at these lines I just generate 500 random training samples. Probably the values of your landmark coordinates do not match the distribution of these training samples, that's why you get an unexpected result. You should think about what training data to use, and also you would probably want some kind of normalisation of the translation, the translation is actually probably the main reason why your example doesn't work.

from superviseddescent.

tpengti avatar tpengti commented on July 23, 2024

Hi, Patrik
your reply:Probably the values of your landmark coordinates do not match the distribution of these training samples.
I also think,but I don't know how to match the distribution of these training samples? how to transform?
I hope you can send me about code。
thanks!

from superviseddescent.

patrikhuber avatar patrikhuber commented on July 23, 2024

You should read the original paper, you can find it on arXiv. Particularly the parts about the pose estimation, since that's what you want to do. It really depends on your application, but I think the first thing I'd think about is how to handle translation. The paper should give you a good idea about that. Also in my example I just generate 500 random samples, you can of course generate more, or even better, learn from a database like AFLW or something like that, they have over 25'000 faces with annotated pose labels.

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.