GithubHelp home page GithubHelp logo

zhangxujinsh / sdm-face-alignment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fagg/sdm-face-alignment

0.0 2.0 0.0 23.31 MB

SDM for facial landmark alignment, based on the work of Xiong & De La Torre.

MATLAB 100.00%

sdm-face-alignment's Introduction

SDM for Face Alignment

This is my MATLAB implementation of the Supervised Descent Method (SDM) for face alignment proposed by Xiong and De La Torre (https://courses.cs.washington.edu/courses/cse590v/13au/intraface.pdf).

The included model is trained on the 300W dataset using 49 points (no jaw points).

Training code is included in the lib directory. Training should be a fairly straight-forward process. The functions for training are:

  • SDMInitModel - Allocates a new SDM model
  • SDMAddDataMemoryFrugal* - these functions gather the training and validation data in a memory efficient way for training and parameter selection.
  • SDMSolve - Solves for the regressor
  • SDMLayerXval - Performs parameter selection via a golden search (use for selecting regularizer)
  • SDMFinalizeLayer - Adds the final regressor to the SDM model.

Review these functions for details on model structure, and how to provide a shape model (mean shape).

Running the code

There are no external dependancies or mex functions. Running "runDemo.m" should produce an example fit.

License

This code is not to be used for commerical purposes. This code can be freely used for personal, academic and research purposes. However, we ask that any files retain our copyright notice when redistributed. This software is provided ``as is'', with no warranty or guarantee. We accept no responsibility for any damages incurred.

The original algorithm (described in: https://courses.cs.washington.edu/courses/cse590v/13au/intraface.pdf) is the work of Xiong and De La Torre.

Acknowledgements

I would like to acknowledge Chen-Hsuan Lin for providing his SIFT code and for many useful discussions when developing this package. I would also like to thank Prof. Simon Lucey for his guidance.

sdm-face-alignment's People

Contributors

fagg avatar

Watchers

James Cloos avatar signal processing fan avatar

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.