3#include <fsdk/IObject.h>
4#include <fsdk/FSDKError.h>
5#include <fsdk/Optional.h>
12#ifndef DOXYGEN_SHOULD_SKIP_THIS
103 if(std::abs(
roll) <= 8 && std::abs(
pitch) <= 5 && std::abs(
yaw) <= 5)
105 if(std::abs(
roll) <= 30 && std::abs(
pitch) <= 40 && std::abs(
yaw) <= 40)
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition Span.h:14
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition Def.h:56
FrontalFaceType getFrontalFaceType() const
Returns type of face frontality.
Definition IHeadPoseEstimator.h:102
SDK namespace.
Definition IAGSEstimator.h:8
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition Detection.h:10
Head pose estimation output.
Definition IHeadPoseEstimator.h:26
float pitch
Pitch angle estimation.
Definition IHeadPoseEstimator.h:27
float yaw
Yaw angle estimation.
Definition IHeadPoseEstimator.h:28
FrontalFaceType
Definition IHeadPoseEstimator.h:31
@ Non
Non-frontal face.
Definition IHeadPoseEstimator.h:32
@ ISO
GOST/ISO angles.
Definition IHeadPoseEstimator.h:34
@ Good
Good for recognition; Doesn't descrease recall and looks fine.
Definition IHeadPoseEstimator.h:33
float roll
Roll angle estimation.
Definition IHeadPoseEstimator.h:29
Head pose angles estimator interface.
Definition IHeadPoseEstimator.h:53
virtual Result< FSDKError > estimate(const Image &image, const Detection &detection, HeadPoseEstimation &out) const noexcept=0
Estimate the angles.
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.
virtual Result< FSDKError > estimate(Span< const Image > images, Span< const Detection > detections, Span< HeadPoseEstimation > out) const noexcept=0
Estimate headpose angles of multiple frames in a single estimate function call.
Base strong reference counted object interface.
Definition IRefCounted.h:37
Image.
Definition Image.h:38
A structure that encapsulates an action result enumeration.
Definition Result.h:27