Skip to content

xanpj/ofxFaceTracker2-facesubstitution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofxFaceTracker2 - Face Substitution

live video input + src.jpg create:

Example live output

This code provides an example of using the FaceSubstitution library with ofxFaceTracker2. It is based on samhains's implementation and modified with a new kalman filter and glm::vec commands to work with oF 0.10 and up.

Tested only on oF 0.11.1 on MacOS

Pre-Instructions

As with all openFrameworks projects, it is best to use the projectGenerator, import this project's root folder, check that all addons from addons.make are displayed and installed and then generate the project.

Instructions

  • Download shape_predictor_68_face_landmarks.dat and place in bin/data
  • Use the files in the lib folder to replace the Kalman.h and Kalman.cpp in your ofxCV in your addons folder in ofxCv/libs/ofxCv/include/ofxCv/Kalman.h and ofxCv/libs/ofxCv/src/Kalman.cpp. This project was running on ofxCv-master commit 209a3986a8f8e1928c7a11f6e1c5d8ea5406e639.

Thanks

To Thomas Colliers for sharing his solution in the issue above :) To nondescriptpointer for reuploading the updated Kalman filter and TargetMesh code from this thread issue #25

About

Working facesubstitution example with ofxFaceTracker2 in oF 0.11.1 - duplicate from this https://github.com/HalfdanJ/ofxFaceTracker2/pull/55 for more visibility

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published