Giter VIP home page Giter VIP logo

Comments (1)

patrikhuber avatar patrikhuber commented on August 26, 2024

Hi Marko,

Thanks for the praise!

First of all a small detail: the mean and median are not the same, I adjusted the title.

Calculating the mean face is really not that interesting or important, so don't think too much about it! In the simplest way, it's really easy: You can just average all landmarks. Without normalisation or anything. Just load your 100 files, and average each landmark's x and y over all 100 landmarks. You can directly plot that result, for example with OpenCV or Matlab, and it has to look like a mean face. It's really too easy to even give sample code! It's just loading all x and y's and calling cv::mean() or you can also do it in Matlab. What you can do after is for example rescale the points to (-0.5, 0.5) x (-0.5, 0.5) - I think I did that.

You can do more fancy stuff like Procrustes before averaging but it's really not worth spending time on it.

I hope that helps!

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.