Tuesday, September 20, 2011

Real Time Face Substitution

This is a sign of things to come.
You can see this is very raw and has lots of problems, but it's close and soon will be nearly perfect.



Arturo Castro put together this technical demo for face swapping technique.

The application works in real time and it's developed using the opensource framework for creative coding openFrameworks: openFrameworks.cc

Most of the "magic" happens with Jason Saragih' c++ library for face tracking. The face tracking library returns a mesh that matches the contour of the eyes, nose, mouth and other facial features.

That way the mesh obtained from a photo is matched to my own face in the video. Applying some color interpolation algorithms from Kevin Atkinson's image clone code: methodart.blogspot.com/​ gives it the blending effect that can be seen in the final footage.

Also uising Kyle McDonald's ofxFaceTracker addon for openframeworks github.com/​kylemcdonald/​ofxFaceTracker which wraps Jason's library for easier use.



Read story:
Watch This Dude’s Face Become Other FacesReal Time Face Substitution Should Be Renamed Real Time Horror Show

No comments: