Face image attribute estimator interface.
More...
#include <IAttributeEstimator.h>
Face image attribute estimator interface.
- Note
- This estimator is designed to work with a person face image; you should pass a warped face detection image.
- See also
- IWarper for details.
Optional estimated attributes are:
◆ EstimationRequest
EstimationRequest lists all possible estimation attributes that AttributeEstimator is currently able to estimate.
Enumerator |
---|
estimateAge | Estimate age.
|
estimateGender | Estimate gender.
|
estimateEthnicity | Estimate Ethnicity.
|
estimateAll | Make full estimation (all attributes)
|
◆ estimate() [1/2]
Estimate unified attributes.
- Parameters
-
[in] | warp | with warped face; format must be R8G8B8. |
[in] | request | EstimationRequest structure; |
- See also
- EstimationRequests for more details.
- Parameters
-
[out] | out | output estimation; |
- See also
- IAttributeEstimator::EstimationResult.
- Returns
- Error code;
- See also
- FSDKError for details.
◆ estimate() [2/2]
Estimate unified attributes of multiple frames in a single estimate function call.
- Parameters
-
[in] | warps | warps span; format must be R8G8B8. |
[in] | request | EstimationRequest structure. |
[out] | results | span of estimations. |
- Returns
- Error code and aggregative estimations result for all warps;
- See also
- FSDKError for details.
-
IAttributeEstimator::EstimationResult, IAttributeEstimator::EstimationRequest and Span for more info.
- Note
- all spans should be based on user owned continuous collections.
-
all spans should be equal size
◆ validate()
Validate input of multiple frames in a single function call.
- Parameters
-
[in] | images | warps span |
[in] | request | EstimationRequest structure. |
[out] | errors | output span of errors for each image. |
- Returns
- Error code;
- See also
- FSDKError for details.
- Note
- all spans should be based on user owned continuous collections.
The documentation for this struct was generated from the following file: