Giter Site home page Giter Site logo

faceforest's Introduction

// Author: Mathias Dantone, BIWI, ETH Zurich
// Email: [email protected]
 

// THE SOFTWARE COMES "AS IS", WITH NO WARRANTIES. THIS MEANS NO 
// EXPRESS, IMPLIED OR STATUTORY WARRANTY, INCLUDING WITHOUT 
// LIMITATION, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A 
// PARTICULAR PURPOSE, ANY WARRANTY AGAINST INTERFERENCE WITH YOUR 
// ENJOYMENT OF THE SOFTWARE OR ANY WARRANTY OF TITLE OR 
// NON-INFRINGEMENT. THERE IS NO WARRANTY THAT THIS SOFTWARE WILL 
// FULFILL ANY OF YOUR PARTICULAR PURPOSES OR NEEDS. ALSO, YOU MUST 
// PASS THIS DISCLAIMER ON WHENEVER YOU DISTRIBUTE THE SOFTWARE OR 
// DERIVATIVE WORKS.

// When using this software, please acknowledge the effort that 
// went into development by referencing the paper:
//
// Dantone M, Fanelli G, Gall J. and Van Gool L., 
// Real Time Facial Feature Detection using Conditional Regression Forest, 
IEEE Conference on Computer Vision and Pattern Recognition (CVPR'12), 2012.

// Note that this is not the original software that was used for 
// the paper mentioned above. It is a re-implementation with different features.


This package contains the source code for training and evaluation of the 
Conditional Regression Forest.

Additional to the source code you can find pretrained trees for head pose estimation
and also for facial feature detection. 


___ BUILDING 
This framework needs the open source computer vision library OpenCV and boost.

1) set the path to OpenCV and Boost the Makefile
2) make all (compiling the source code)
3) make clear

Tested with the following version of the third party lib:
- OpenCV 2.3.X
- Boost 1.47.0 + Boost 1.46.1

Known problems:
- The boost library can be build in different ways. 
  Sometimes the boost shared libs have the ending '-mt' and sometimes they don't.
  Please fix the makefile according to your version of boost.

Tested on the following operation system:
- MacOS 10.7.4
- ubuntu 12.04 LTS
- Debian 2.30.2


___ DEMO APPLICATION
Running the demo application using the pretrained trees is easy.
Just run the application 'FaceForest':
./FaceForest 0 data/config_ffd.txt data/config_headpose.txt data/haarcascade_frontalface_alt.xml

you need to set 4 flags: 
 - mode (0==training, 1==evaluate)
 - path to ffd config file
 - path to headpose config file
 - path to face cascade
 



faceforest's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

faceforest's Issues

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.