1 #ifndef INCLUDE_GAZE_PIPELINE_STEPS_GAZE_POINT_CALCULATION_H_
2 #define INCLUDE_GAZE_PIPELINE_STEPS_GAZE_POINT_CALCULATION_H_
7 #include "opencv2/opencv.hpp"
9 #include "gaze/gui/visualizeable.h"
10 #include "gaze/pipeline_step.h"
11 #include "gaze/util/data.h"
62 cv::Mat distortion_coefficients;
66 double screen_width_m;
67 double screen_height_m;
68 double screen_width_px;
69 double screen_height_px;
72 double camera_offset_x;
73 double camera_offset_y;
87 double calculate_distance(
const dlib::point& p0,
const dlib::point& p1,
88 double expected_model_distance);
227 #endif // INCLUDE_GAZE_PIPELINE_STEPS_GAZE_POINT_CALCULATION_H_
double parse_aspect_ratio(std::string aspect_ratio_string)
void distance(_InputIterator __first, _InputIterator __last, _Distance &__n)
Abstract base class for PipelineSteps. Must be inherited from.
Calculates the gaze point.
void visualize(util::Data &data) override
Implements VisualizeableBase for several widget types.
void set_sensor_size(double sensor_diagonal, double aspect_ratio)
dlib::full_object_detection landmarks
double clamp(double value, double min, double max)
Wraps the data acquired per frame into a single instance.
void process(util::Data &data) override