5 #include <fsdk/Optional.h>
12 #ifndef DOXYGEN_SHOULD_SKIP_THIS
57 FSDK_DEPRECATED(
"HeadPoseEstimator is deprecated since v.5.0.1, use BestShotQualityEstimator instead")
71 FSDK_DEPRECATED(
"HeadPoseEstimator is deprecated since v.5.0.1, use BestShotQualityEstimator instead")
89 FSDK_DEPRECATED(
"HeadPoseEstimator is deprecated since v.5.0.1, use BestShotQualityEstimator instead")
107 FSDK_DEPRECATED(
"HeadPoseEstimator is deprecated since v.5.0.1, use BestShotQualityEstimator instead")
119 if(std::abs(
roll) <= 8 && std::abs(
pitch) <= 5 && std::abs(
yaw) <= 5)
121 if(std::abs(
roll) <= 30 && std::abs(
pitch) <= 40 && std::abs(
yaw) <= 40)
Head pose estimation output.
Definition: IHeadPoseEstimator.h:21
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
Common data types and structures.
Face landmarks template structure.
Definition: Landmarks.h:20
float roll
Roll angle estimation.
Definition: IHeadPoseEstimator.h:24
virtual Result< FSDKError > estimate(const Landmarks68 &landmarks, HeadPoseEstimation &out) const noexcept=0
Estimate the angles.
float yaw
Yaw angle estimation.
Definition: IHeadPoseEstimator.h:23
virtual Result< FSDKError > validate(Span< const Image > images, Span< const Detection > detections, Span< Result< FSDKError >> errors) const noexcept=0
Validate input of multiple frames in a single function call.
Object system types and interfaces.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
Non-frontal face.
Definition: IHeadPoseEstimator.h:27
Good for recognition; Doesn't descrease recall and looks fine.
Definition: IHeadPoseEstimator.h:28
Image.
Definition: Image.h:38
GOST/ISO angles.
Definition: IHeadPoseEstimator.h:29
FrontalFaceType
Definition: IHeadPoseEstimator.h:26
float pitch
Pitch angle estimation.
Definition: IHeadPoseEstimator.h:22
Head pose angles estimator interface.
Definition: IHeadPoseEstimator.h:48
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14
FrontalFaceType getFrontalFaceType() const
Returns type of face frontality.
Definition: IHeadPoseEstimator.h:118