![]() |
Face Engine SDK
5.30.2
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... | |
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. | |
| 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. | |
| 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. | |
| 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. | |
BestShotQuality estimator interface.
| virtual Result<FSDKError> fsdk::IBestShotQualityEstimator::estimate | ( | const Image & | image, |
| const Detection & | detection, | ||
| const EstimationRequest | request, | ||
| EstimationResult & | result | ||
| ) | const [pure virtual] |
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. |
| virtual Result<FSDKError> fsdk::IBestShotQualityEstimator::estimate | ( | Span< const Image > | images, |
| Span< const Detection > | detections, | ||
| const EstimationRequest | request, | ||
| Span< EstimationResult > | results | ||
| ) | const [pure virtual] |
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. |
| virtual EstimationBatchFuture fsdk::IBestShotQualityEstimator::estimateAsync | ( | Span< const Image > | images, |
| Span< const Detection > | detections, | ||
| const EstimationRequest | request | ||
| ) | const [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. |
| virtual Result<FSDKError> fsdk::IBestShotQualityEstimator::validate | ( | Span< const Image > | images, |
| Span< const Detection > | detections, | ||
| const EstimationRequest | request, | ||
| Span< Result< FSDKError >> | errors | ||
| ) | const [pure virtual] |
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. |