![]() |
Face Engine SDK
4.6.0
A face detection, recognition and tracking engine.
|
Face image attribute estimator interface. More...
#include <IAttributeEstimator.h>
Classes | |
struct | EstimationResult |
Unified Attribute Estimator output structure. More... | |
Public Types | |
enum | EstimationRequest { estimateAge = 1 << 0, estimateGender = 1 << 1, estimateEthnicity = 1 << 2, estimateAll = 0xffff } |
EstimationRequest lists all possible estimation attributes that AttributeEstimator is currently able to estimate. More... | |
Public Member Functions | |
virtual Result< FSDKError > | estimate (const Image &warp, const IAttributeEstimator::EstimationRequest request, IAttributeEstimator::EstimationResult &out) const noexcept=0 |
Estimate unified attributes. More... | |
virtual ResultValue< FSDKError, IAttributeEstimator::EstimationResult > | estimate (const Span< const Image > warps, const IAttributeEstimator::EstimationRequest request, Span< IAttributeEstimator::EstimationResult > results) const noexcept=0 |
Estimate unified attributes of multiple frames in a single estimate function call. More... | |
![]() | |
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... | |
Face image attribute estimator interface.
Optional estimated attributes are:
|
pure virtualnoexcept |
Estimate unified attributes.
[in] | warp | with warped face; format must be R8G8B8. |
[in] | request | EstimationRequest structure; |
[out] | out | output estimation; |
|
pure virtualnoexcept |
Estimate unified attributes of multiple frames in a single estimate function call.
[in] | warps | warps span; format must be R8G8B8. |
[in] | request | EstimationRequest structure. |
[out] | results | span of estimations. |