gaze
0.1.0
Perform gaze tracking with common webcams.
|
Uses dlibs pretrained models to detect face landmarks. More...
#include "gaze/pipeline_steps/face_landmarks.h"
Public Member Functions | |
void | process (util::Data &data) override |
void | visualize (util::Data &data) override |
Public Member Functions inherited from gaze::PipelineStep | |
PipelineStep () | |
std::string | get_name () |
virtual | ~PipelineStep ()=default |
Public Member Functions inherited from gaze::gui::Visualizeable< widget_type > | |
std::shared_ptr< dlib::drawable > | init (dlib::drawable_window &parent, int width, int height, std::string text="No visualization.") final |
void | remove_widget () override |
Public Member Functions inherited from gaze::gui::VisualizeableBase | |
virtual | ~VisualizeableBase ()=default |
Additional Inherited Members | |
Protected Attributes inherited from gaze::PipelineStep | |
int | number |
std::string | name |
Protected Attributes inherited from gaze::gui::Visualizeable< widget_type > | |
std::shared_ptr< widget_type > | widget |
Uses dlibs pretrained models to detect face landmarks.
///
Definition at line 22 of file face_landmarks.h.
|
overridevirtual |
Detects face landmarks inside the source image.
Updates both eyes and face bounding boxes of data.
data | The data object to be updated. |
data
the modified data object. Implements gaze::PipelineStep.
Definition at line 32 of file face_landmarks.cpp.
References gaze::util::Data::image, gaze::util::Data::landmarks, and std::vector< _Tp, _Alloc >::size().
Referenced by visualize().
|
overridevirtual |
data | The data object to be updated. |
Implements gaze::gui::VisualizeableBase.
Definition at line 39 of file face_landmarks.cpp.
References gaze::util::Data::image, gaze::util::Data::landmarks, process(), and gaze::gui::Visualizeable< widget_type >::widget.