Go to file
Ruben van de Ven bf5b68ce07 Automatic resize of map + map size for exhibit at Route du Nord 2018-05-08 12:18:21 +02:00
cmake/modules Revert to old TBB finding. 2017-02-15 12:36:20 -05:00
exe Too slow version of heatmap 2018-05-02 14:24:43 +02:00
gui Working towards coping without AU and eye models. Fixes to the visualizer. 2018-03-30 09:36:32 +01:00
imgs Adding images for new wiki entries and some code for packaging releases. 2017-12-28 19:47:49 +00:00
lib Have FaceLandmarkVidMulti output (only) to JSON on stdout 2018-05-01 23:00:16 +02:00
matlab_runners Fixing readme. 2018-03-01 20:12:44 +00:00
matlab_version Adding DISFA trained models. 2018-04-08 18:53:21 +01:00
packages ZeroMQ dependencies. 2017-10-17 09:03:39 +01:00
python_scripts Automatic resize of map + map size for exhibit at Route du Nord 2018-05-08 12:18:21 +02:00
samples Moving the image sequence samples to a place that makes more sense, adding more tests for coping with grayscale and 16-bit images. 2017-12-17 14:16:45 +00:00
.gitignore Working towards coping without AU and eye models. Fixes to the visualizer. 2018-03-30 09:36:32 +01:00
.travis.yml More travis fixes. 2018-02-02 10:04:43 +00:00
CMakeLists.txt Updating travis to build newest openCV. 2018-02-02 08:55:19 +00:00
Copyright.txt Corrections of the copyright. 2017-06-06 18:53:06 -04:00
OpenFace-license.txt Auto stash before merge of "develop" and "origin/develop" 2017-05-08 21:36:23 -04:00
OpenFace.sln A big simplification of camera selection. 2018-01-27 10:01:27 +00:00
README-ruben.md MVP 2018-05-02 21:43:10 +02:00
README.md Update README.md 2018-04-10 22:14:24 +01:00
appveyor.yml Issues in appveyor due to OpenCV. 2017-12-28 17:57:05 +00:00
install.sh Changes to install script 2018-02-02 17:31:14 +00:00

README.md

OpenFace 1.0.0: an open source facial behavior analysis toolkit

Build Status Build status

Over the past few years, there has been an increased interest in automatic facial behavior analysis and understanding. We present OpenFace a tool intended for computer vision and machine learning researchers, affective computing community and people interested in building interactive applications based on facial behavior analysis. OpenFace is the first toolkit capable of facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation with available source code. The computer vision algorithms which represent the core of OpenFace demonstrate state-of-the-art results in all of the above mentioned tasks. Furthermore, our tool is capable of real-time performance and is able to run from a simple webcam without any specialist hardware.

Multicomp logo

Rainbow logo

OpenFace is an implementation of a number of research papers from the Multicomp group, Language Technologies Institute at the Carnegie Mellon University and Rainbow Group, Computer Laboratory, University of Cambridge. The founder of the project and main developer is Tadas Baltrušaitis.

Special thanks goes to Louis-Philippe Morency and his MultiComp Lab at Carnegie Mellon University for help in writing and testing the code, and Erroll Wood for the gaze estimation work.

WIKI

For instructions of how to install/compile/use the project please see WIKI

Functionality

The system is capable of performing a number of facial analysis tasks:

  • Facial Landmark Detection

Sample facial landmark detection image

  • Facial Landmark and head pose tracking (links to YouTube videos)

Multiple Face Tracking Multiple Face Tracking

  • Facial Action Unit Recognition
  • Gaze tracking (image of it in action)
  • Facial Feature Extraction (aligned faces and HOG features)

Sample aligned face and HOG image

Citation

If you use any of the resources provided on this page in any of your publications we ask you to cite the following work and the work for a relevant submodule you used.

Overall system

OpenFace: an open source facial behavior analysis toolkit Tadas Baltrušaitis, Peter Robinson, and Louis-Philippe Morency, in IEEE Winter Conference on Applications of Computer Vision, 2016

Facial landmark detection and tracking

Constrained Local Neural Fields for robust facial landmark detection in the wild Tadas Baltrušaitis, Peter Robinson, and Louis-Philippe Morency. in IEEE Int. Conference on Computer Vision Workshops, 300 Faces in-the-Wild Challenge, 2013.

Eye gaze tracking

Rendering of Eyes for Eye-Shape Registration and Gaze Estimation Erroll Wood, Tadas Baltrušaitis, Xucong Zhang, Yusuke Sugano, Peter Robinson, and Andreas Bulling in IEEE International. Conference on Computer Vision (ICCV), 2015

Facial Action Unit detection

Cross-dataset learning and person-specific normalisation for automatic Action Unit detection Tadas Baltrušaitis, Marwa Mahmoud, and Peter Robinson in Facial Expression Recognition and Analysis Challenge, IEEE International Conference on Automatic Face and Gesture Recognition, 2015

Commercial license

For inquiries about the commercial licensing of the OpenFace toolkit please contact innovation@cmu.edu

Final remarks

I did my best to make sure that the code runs out of the box but there are always issues and I would be grateful for your understanding that this is research code and not full fledged product. However, if you encounter any problems/bugs/issues please contact me on github or by emailing me at tadyla@gmail.com for any bug reports/questions/suggestions. I prefer questions and bug reports on github as that provides visibility to others who might be encountering same issues or who have the same questions.

Copyright

Copyright can be found in the Copyright.txt

You have to respect boost, TBB, dlib, OpenBLAS, and OpenCV licenses.

Furthermore you have to respect the licenses of the datasets used for model training - https://github.com/TadasBaltrusaitis/OpenFace/wiki/Datasets