Gaze estimator interface.
More...
#include <IGazeEstimator.h>
Gaze estimator interface.
- Note
- This estimator is designed to work with 68 facial landmarks, HeadPoseEstimation (
- See also
- IHeadPoseEstimator) and EyesEstimations of both eyes (
-
IEyeEstimator).
-
GazeEstimation structure for details about how exactly the estimations are reported.
- Note
- Input points should be relative to the same coordinate system. Best results are achieved if coordinate system is tied to image on which input data was retrieved.
◆ estimate() [1/2]
Estimates the eye angles.
- Parameters
-
[in] | warp | image with warped face. Format must be R8G8B8 or IR_X8X8X8. |
[in] | landmarks5Transformed | transformed landmarks. |
[out] | eyeAngles | output estimation; |
- See also
- GazeEstimation.
- Returns
- Error code;
- See also
- FSDKError for details.
◆ estimate() [2/2]
Estimates eye angles of multiple frames in a single estimate function call.
- Parameters
-
[in] | warps | span of warped faces. Format must be R8G8B8 or IR_X8X8X8. |
[in] | landmarks5Transformed | span of transformed landmarks of size 5. |
- See also
- IWarper.
- Parameters
-
[out] | eyeAngles | output span of gaze estimations; |
- See also
- GazeEstimation.
- Returns
- Error code;
- See also
- FSDKError for details.
-
fsdk::Span for mode info.
- Note
- all spans should be based on user owned continuous collections.
-
all spans should be equal size.
◆ getFaceCenter()
Returns the special center of face for calculating of gaze projection.
- Parameters
-
[in] | landmarks5 | landmarks of size 5 |
- Returns
- Point of face center.
The documentation for this struct was generated from the following file: