16 #ifndef VISAGEGAZETRACKER_H 17 #define VISAGEGAZETRACKER_H 19 #include "ScreenSpaceGazeMapping.h" 20 #include "VisageGazeEstimation.h" 21 #include "TrackerGazeCalibrator.h" 22 #include "VisageTracker.h" 23 #include "GazeQualityCalculator.h" 27 #define VISAGE_GAZE_DECLSPEC 30 #ifdef VISAGE_GAZE_EXPORTS 31 #define VISAGE_GAZE_DECLSPEC __declspec(dllexport) 33 #define VISAGE_GAZE_DECLSPEC __declspec(dllimport) 149 void InitOnlineGazeCalibration();
164 void AddGazeCalibrationPoint(
float x,
float y);
172 void FinalizeOnlineGazeCalibration();
202 virtual int* track(
int frameWidth,
int frameHeight,
const char* p_imageData,
FaceData* facedata,
int format = VISAGE_FRAMEGRABBER_FMT_RGB,
int origin = VISAGE_FRAMEGRABBER_ORIGIN_TL,
int widthStep = 0,
long timeStamp = -1,
int maxFaces = 1);
204 void SetResolution(
int width,
int height);
205 void SetGazeViewportSize(
int w,
int h);
206 void SetGazeCenter(
float x,
float y);
220 GazeEstimationPredictor* lxpredictor;
221 GazeEstimationPredictor* rxpredictor;
223 GazeEstimationPredictor* lypredictor;
224 GazeEstimationPredictor* rypredictor;
230 void addOfflineScreenSpaceGazePoint();
231 void calculateOnlineScreenSpaceGaze();
234 void CalculateQuality(
float& error_x,
float& error_y);
235 void smoothGazeData();
236 void smoothGazeEstimations();
262 float avgCalibHeadTranslation[3];
263 float avgCalibHeadRotation[3];
265 SessionQuality* sessionQuality;
VisageTracker is a face tracker capable of tracking the head pose, facial features and gaze for multi...
Data repository holding ScreenSpaceGazeData objects in offline screen space gaze tracking mode...
ScreenSpaceGazeData is a container structure used to hold the gaze point location, current state of screen space gaze tracking system and gaze tracking estimation quality parameters for the current frame.
VisageGazeTracker extends VisageTracker functionality, adding screen space gaze tracking on top of fa...
const VISAGE_DECLSPEC char * getVisageSDKVersion(void)
Returns visageSDK version and revision number.
Face data structure, used as container for all face tracking and detection results.