2#include <fsdk/Estimators/IHeadPoseEstimator.h>
4#include <fsdk/IObject.h>
5#include <fsdk/FSDKError.h>
6#include <fsdk/Optional.h>
8#include <fsdk/vlc/future.h>
13#ifndef DOXYGEN_SHOULD_SKIP_THIS
87 using EstimationBatchFuture = vlc::future<EstimationBatch>;
135 static_cast<int>(first) |
static_cast<int>(second));
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
SDK namespace.
Definition IAGSEstimator.h:8
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition Detection.h:10
BestShotQualityEstimator output structure.
Definition IBestShotQualityEstimator.h:41
Optional< HeadPoseEstimation > headPose
HeadPose estimation if was requested, empty otherwise.
Definition IBestShotQualityEstimator.h:42
Optional< float > ags
AGS estimation if was requested, empty otherwise.
Definition IBestShotQualityEstimator.h:43
BestShotQuality estimator interface.
Definition IBestShotQualityEstimator.h:27
virtual EstimationBatchFuture estimateAsync(Span< const Image > images, Span< const Detection > detections, const EstimationRequest request) const =0
Asynchronously estimate unified AGS and HeadPose attributes of multiple frames in a single estimate f...
std::vector< EstimationResult > EstimationBatch
Common aliases for BestShotQuality asynchronous interface.
Definition IBestShotQualityEstimator.h:86
virtual Result< FSDKError > estimate(Span< const Image > images, Span< const Detection > detections, const EstimationRequest request, Span< EstimationResult > results) const noexcept=0
Estimate unified AGS and HeadPose attributes of multiple frames in a single estimate function call.
EstimationRequest
EstimationRequest lists all possible estimation attributes that BestShotQuality estimator is able to ...
Definition IBestShotQualityEstimator.h:32
@ estimateHeadPose
Estimate HeadPose.
Definition IBestShotQualityEstimator.h:34
@ estimateAll
Make full estimation (all attributes)
Definition IBestShotQualityEstimator.h:35
@ estimateAGS
Estimate AGS.
Definition IBestShotQualityEstimator.h:33
virtual Result< FSDKError > estimate(const Image &image, const Detection &detection, const EstimationRequest request, EstimationResult &result) const noexcept=0
Estimate unified AGS and HeadPose attributes.
virtual Result< FSDKError > validate(Span< const Image > images, Span< const Detection > detections, const EstimationRequest request, Span< Result< FSDKError > > errors) const noexcept=0
Validate input of multiple frames in a single 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