1 #ifndef INCLUDE_GAZE_PIPELINE_STEPS_FACE_LANDMARKS_H_
2 #define INCLUDE_GAZE_PIPELINE_STEPS_FACE_LANDMARKS_H_
4 #include "dlib/image_processing.h"
5 #include "dlib/image_processing/frontal_face_detector.h"
7 #include "gaze/gui/visualizeable.h"
8 #include "gaze/pipeline_step.h"
9 #include "gaze/util/data.h"
25 dlib::frontal_face_detector face_detector;
26 dlib::shape_predictor shape_predictor;
53 #endif // INCLUDE_GAZE_PIPELINE_STEPS_FACE_LANDMARKS_H_
void visualize(util::Data &data) override
Abstract base class for PipelineSteps. Must be inherited from.
Uses dlibs pretrained models to detect face landmarks.
Implements VisualizeableBase for several widget types.
void process(util::Data &data) override
Wraps the data acquired per frame into a single instance.