Skip to content
Snippets Groups Projects
Commit d9b816ed authored by Ahmed Mohamed's avatar Ahmed Mohamed
Browse files

Upload new file

parent b603ef86
Branches master
No related merge requests found
#pragma once
#include "ofMain.h"
#include "ofxCv.h"
#include "Clone.h"
#include "ofxFaceTracker.h"
#include "ofxFaceTrackerThreaded.h"
class ofApp : public ofBaseApp {
public:
void setup();
void update();
void draw();
void dragEvent(ofDragInfo dragInfo);
void loadFace(string face);
void keyPressed(int key);
ofxFaceTrackerThreaded camTracker;
ofVideoGrabber cam;
ofxFaceTracker srcTracker;
ofImage src;
vector<ofVec2f> srcPoints;
bool cloneReady;
Clone clone;
ofFbo srcFbo, maskFbo;
ofDirectory faces;
int currentFace;
};
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment