1 #ifndef INCLUDE_GAZE_PIPELINE_STEPS_HEAD_POSE_ESTIMATION_H_ 
    2 #define INCLUDE_GAZE_PIPELINE_STEPS_HEAD_POSE_ESTIMATION_H_ 
    6 #include "dlib/gui_widgets.h" 
    7 #include "opencv2/opencv.hpp" 
    9 #include "gaze/gui/visualizeable.h" 
   10 #include "gaze/pipeline_step.h" 
   11 #include "gaze/util/data.h" 
   29   double model_scale = 1;
 
   32   bool has_camera_matrix = 
false;
 
   34   bool has_distortions = 
false;
 
  101 #endif  // INCLUDE_GAZE_PIPELINE_STEPS_HEAD_POSE_ESTIMATION_H_ 
void process(util::Data &data) override
 
Abstract base class for PipelineSteps. Must be inherited from. 
 
Estimates the head pose from landmarks and source image. 
 
cv::Mat get_and_maybe_read_distortions(const util::Data &data)
 
Implements VisualizeableBase for several widget types. 
 
cv::Matx33d read_or_set_camera_matrix(const util::Data &data)
 
Wraps the data acquired per frame into a single instance. 
 
void visualize(util::Data &data) override