sequence_face_landmarks
Utility for sequence face landmarks
face_tracker.h
1 #ifndef __SFL_FACE_TRACKER__
2 #define __SFL_FACE_TRACKER__
3 
4 // sfl
5 #include "sequence_face_landmarks.h"
6 
7 // OpenCV
8 #include <opencv2/core.hpp>
9 
10 namespace sfl
11 {
15  {
16  public:
17 
18  virtual ~FaceTracker() {}
19 
25  virtual void addFrame(const cv::Mat& frame, Frame& sfl_frame) = 0;
26 
29  virtual void clear() = 0;
30 
33  virtual std::shared_ptr<FaceTracker> clone() = 0;
34  };
35 
38  std::shared_ptr<FaceTracker> createFaceTrackerBRISK();
39 
42  std::shared_ptr<FaceTracker> createFaceTrackerLBP();
43 
44 } // namespace sfl
45 
46 #endif // __SFL_FACE_TRACKER__
virtual std::shared_ptr< FaceTracker > clone()=0
Create a full copy of the face tracker.
virtual void clear()=0
Clear all processed data.
Represents a frame that might include faces.
Definition: sequence_face_landmarks.h:25
Interface for tracking faces across a sequence of frames.
Definition: face_tracker.h:14
Definition: face_tracker.h:10
virtual void addFrame(const cv::Mat &frame, Frame &sfl_frame)=0
Add a frame to process.