Face Engine SDK
5.14.0
A face detection, recognition and tracking engine.
|
BestShotQuality estimator interface. More...
#include <IBestShotQualityEstimator.h>
Classes | |
struct | EstimationResult |
BestShotQualityEstimator output structure. More... | |
Public Types | |
enum | EstimationRequest { estimateAGS = 1 << 0, estimateHeadPose = 1 << 1, estimateAll = 0xffff } |
EstimationRequest lists all possible estimation attributes that BestShotQuality estimator is able to estimate. More... | |
using | EstimationBatch = std::vector< EstimationResult > |
Common aliases for BestShotQuality asynchronous interface. | |
using | EstimationBatchFuture = vlc::future< EstimationBatch > |
Public Member Functions | |
virtual Result< FSDKError > | estimate (const Image &image, const Detection &detection, const EstimationRequest request, EstimationResult &result) const noexcept=0 |
Estimate unified AGS and HeadPose attributes. More... | |
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. More... | |
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 function call. More... | |
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. More... | |
Public Member Functions inherited from fsdk::IRefCounted | |
virtual int32_t | retain () noexcept=0 |
Increase strong reference count. More... | |
virtual int32_t | retainLocked () noexcept=0 |
Increase strong reference count thread safely. More... | |
virtual int32_t | release () noexcept=0 |
Decrease strong reference count. More... | |
virtual int32_t | getRefCount () const noexcept=0 |
Get actual strong reference count. More... | |
virtual int32_t | retainWeak () noexcept=0 |
Increase weak reference count. More... | |
virtual int32_t | releaseWeak () noexcept=0 |
Decrease weak reference count. More... | |
virtual int32_t | getWeakRefCount () const noexcept=0 |
Get actual weak reference count. More... | |
BestShotQuality estimator interface.
|
pure virtualnoexcept |
Estimate unified AGS and HeadPose attributes.
[in] | image | source image; |
[in] | detection | detection coordinates in image space; |
[in] | request | EstimationRequest structure; |
[out] | result | output estimation. |
|
pure virtualnoexcept |
Estimate unified AGS and HeadPose attributes of multiple frames in a single estimate function call.
[in] | images | span of source images. |
[in] | detections | span of detection coordinates in corresponding source images space. |
[in] | request | EstimationRequest structure. |
[out] | results | span of estimations. |
|
pure virtual |
Asynchronously estimate unified AGS and HeadPose attributes of multiple frames in a single estimate function call.
[in] | images | span of source images. |
[in] | detections | span of detection coordinates in corresponding source images space. |
[in] | request | EstimationRequest structure. |
|
pure virtualnoexcept |
Validate input of multiple frames in a single function call.
[in] | images | span of source images. |
[in] | detections | span of detection coordinates in corresponding source images space. |
[in] | request | EstimationRequest structure. |
[out] | errors | output span of errors for each image. |