Giter Club home page Giter Club logo

face-alignment-in-3000fps's Introduction

Face-alignment-in-3000fps

This project is a C++ reimplementation of face alignment in 3000fps in the CVPR 2014 paper: Face Alignment at 3000 FPS via Regressing Local Binary Features. .

Update openMP support !!!

I modify my code to support openMP. You can use it in GCC(Linux) or in VS (Windows).

If you use it in Linux, you should comment or uncomment FIND_PACKAGE( OpenMP REQUIRED) in CmakeLists.txt.

If you use it in Windows, you can directly use it.

VS project

I add a VS project.

Usage

  1. Download datasets and get Path_Images.txt as jwyang/face-alignment.

  2. To compiler the program: go to folder build and

    cmake .

    make

  3. To train a new model: set global parameters, model path, train database name in LBF.cpp. Use "LBF.out TrainModel".

  4. To test a model on dataset: set model path, test dataset name in LBF.cpp. Use "LBF.out TestModel".

###Model I have trained a model on AFW, HELEN,LFPW dataset. You can download it from here or google drive.

FAQ

  • How to get the bounding box of image ?

    I use the face detector in OpenCV to get the bounding box.You can use any detector to get the bounding box but you must provide a bounding box of similar measure with the training data.

  • How about the liblinear?

    I add the liblinear source code as the project code. So you can directly compiler this project and don't need to consider to compiler this library.

Contact

If you have any question, you can create an issue on GitHub. Or you can email [email protected]

Reference Project

face-alignment-in-3000fps's People

Contributors

yulequan avatar gujiuxiang avatar chenzeyuczy avatar

Watchers

James Cloos avatar  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.