![]() |
Face Engine SDK
5.17.0
A face detection, recognition and tracking engine.
|
Approximate Garbage Score estimator interface. More...
#include <IAGSEstimator.h>
Public Member Functions | |
virtual ResultValue< FSDKError, float > | estimate (const Image &image, const Detection &detection) const noexcept=0 |
Estimate the ags. | |
virtual Result< FSDKError > | estimate (Span< const Image > images, Span< const Detection > detections, Span< float > out) const noexcept=0 |
Estimate ags of multiple frames in a single estimate function call. | |
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. |
Approximate Garbage Score estimator interface.
virtual ResultValue<FSDKError, float> fsdk::IAGSEstimator::estimate | ( | const Image & | image, |
const Detection & | detection | ||
) | const [pure virtual] |
Estimate the ags.
[in] | image | source image. |
[in] | detection | detection coordinates in image space. |
virtual Result<FSDKError> fsdk::IAGSEstimator::estimate | ( | Span< const Image > | images, |
Span< const Detection > | detections, | ||
Span< float > | out | ||
) | const [pure virtual] |
Estimate ags 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. |
[out] | out | output span of scores for each image. |
virtual Result<FSDKError> fsdk::IAGSEstimator::validate | ( | Span< const Image > | images, |
Span< const Detection > | detections, | ||
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. |
[out] | errors | output span of errors for each image. |