185GL



Experiments with ofxFaceTracker




Project Description

Using OpenFrameworks and Kyle McDonald's ofxFaceTracker library, I attepted to implement an interactive art piece, where based on the location of the viewer face, it would recreate a face using simple lines.
I was influenced by other FaceTracker implementations and also Delaunay triangulation. Although there was a library in OpenFrameworks which implemented Delaunay triangulation, due to certain restrictions I could not implement it, and attempted to make my own version.

More on Delaunay Triangulation

ofxFaceTracker Github



Technical Details

OpenFrameworks is an open source C++ toolkit, which allows for more control over graphics rendering.
My code implements two main functions. Open which integrates through the vertex point of the facetracker, and creating a wire frame of the viewers face. The second function iterates through the FaceOutline, and add vertex points to the outer edge of the frame, allowing for a rudimentary implementation of Delaunay Triangulation.

OpenFrameworks Website



Code Implementation Screenshots

Below are two sets of screenshots. One for my final (and still tentative implmentation), and a second set which instead of focusing on the outer face, just focuses on features.






First Experiment Screenshots








Code


Link to code: Zip File

Please note that this is just the code and is dependent on having ofx downloaded as well as the ofxFaceTracker library included as well.