Face Engine SDK
4.6.0
A face detection, recognition and tracking engine.
|
BestShot and Quality 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... | |
Public Member Functions | |
virtual Result< FSDKError > | estimate (const fsdk::Image &image, const fsdk::Detection &detection, const fsdk::IBestShotQualityEstimator::EstimationRequest request, fsdk::IBestShotQualityEstimator::EstimationResult &result) const noexcept=0 |
Estimate unified AGS and HeadPose attributes. More... | |
virtual Result< FSDKError > | estimate (const fsdk::Span< const fsdk::Image > images, const fsdk::Span< const fsdk::Detection > detections, const EstimationRequest request, fsdk::Span< fsdk::IBestShotQualityEstimator::EstimationResult > results) const noexcept=0 |
Estimate unified AGS and HeadPose attributes of multiple frames in a single estimate function call. More... | |
Public Member Functions inherited from fsdk::IRefCounted | |
virtual int32_t | retain () noexcept=0 |
Increase strong reference count. 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... | |
BestShot and Quality estimator interface.
|
pure virtualnoexcept |
Estimate unified AGS and HeadPose attributes.
[in] | image | input image. Format must be R8G8B8; |
[in] | detection | detection coords 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 input images; format must be R8G8B8; |
[in] | detection | span of detection coords of corresponding source images. |
[in] | request | EstimationRequest structure; |
[out] | results | span of estimations. |