Skip to content
100644 27 lines (15 sloc) 1.72 KB
eed069b @kylemcdonald added initial readme
kylemcdonald authored Oct 14, 2011
1 # FaceSubstitution
3 This repository stores some experiments from Arturo Castro and Kyle McDonald exploring realtime face substitution using face tracking and cloning. These examples here are based on a few other packages, including:
5 * [openFrameworks](
6 * [ofxCv](
7 * [ofxFaceTracker](
9 They all require openFrameworks. FaceSubstitution and ScrambleSuit require ofxCv and ofxFaceTracker. Example projects are provided as openFrameworks XCode projects. To compile on other operating systems, you should first build a working ofxCv project, then an ofxFaceTracker project, and finally switch out the source for the example you're interested in.
76f550f @kylemcdonald added notes for each example
kylemcdonald authored Oct 14, 2011
11 Keep in mind that openFrameworks, ofxCv, and ofxFaceTracker are constantly evolving. To compile these examples you'll need versions of each that were released before or at the same time that the commit was made, as newer versions may be incompatible.
13 ## CPUCloning
15 Demonstrates a GPU-based clone using OpenCV to compute the masked blur. This is easily realtime for camera-sized video, and provides the most accurate "fake" clone.
17 ## GPUCloning
19 Demonstrates a GPU-based clone that uses GLSL shaders to compute the masked blur. This can be significantly faster than the CPU clone, but does not have the same accuracy due to the multi-pass blur computation.
21 ## CloningWrapper
410dd47 @kylemcdonald updated readme
kylemcdonald authored Oct 17, 2011
23 Provides a single class `Clone`, that wraps the GPUCloning approach with a simple interface. `Clone` contains the shader source inline, which means you only need `Clone` to do cloning -- no extra files are required.
25 ## FaceSubstitution
27 Uses CloningWrapper with ofxFaceTracker to clone a face from disk onto a face in real time.
Something went wrong with that request. Please try again.