Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ASM face tracking addon based on Jason Saragih's FaceTracker.
C++ Python
branch: master

This branch is 58 commits behind kylemcdonald:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
FaceOSC
example-advanced
example-calibrated
example-empty
example-expression
example-extraction
libs/Tracker
src
.gitignore
readme.md
update-projects.py

readme.md

ofxFaceTracker is openFrameworks addon is based on Jason Saragih's FaceTracker library.

openFrameworks is an open source toolkit for creative coding.

FaceTracker is open source for non-commercial use, and is available from Jason directly. One you have Jason's source, you'll need to drop it in libs/ (e.g., libs/Tracker/Tracker.h). You'll also need to drop the model data in bin/data/model/. If you see the error Assertion failed: s.is_open(), that means you forgot to drop the model files in the right folder.

If you would like to prototype an idea involving face tracking, I encourage you to download FaceOSC.

Examples

Basic

Provides a minimal example of using an ofxVideoGrabber with an ofxFaceTracker, then extracts and draws the ofPolyline representing the left and right eyes.

Advanced

Demonstrates how to get the image-space position of the face, and the 3d orientation (collectively, the face "pose") then applies these to the OpenGL context in order to draw an oriented face mesh.

Extraction

Demonstrates how to use the mean face mesh to draw pose and expression normalized representation of the face currently being tracked.

Expression

Demonstrates the ExpressionClassifier, which can load, save, and classify expressions into pre-trained categories. Provides basic expressions (eyebrows raised, neutral, smiling) as examples.

Calibrated

Fairly complicated example that demonstrates some advanced/experimental features of ofxCv and ofxFaceTracker for doing AR-style augmentation of the face.

FaceOSC

Sends as much data as possible from ofxFaceTracker via OSC, including various "gestures", position, and orientation.

Something went wrong with that request. Please try again.