![]() |
Face Engine SDK
5.25.0
A face detection, recognition and tracking engine.
|
Eye estimator interface. More...
#include <IEyeEstimator.h>
Public Member Functions | |
| virtual Result< FSDKError > | estimate (const Image &warp, const EyeCropper::EyesRects &eyeRects, EyesEstimation &eyesEstimation) const noexcept=0 |
| Estimate the attributes. | |
| virtual Result< FSDKError > | estimate (Span< const Image > warps, Span< const EyeCropper::EyesRects > eyeRects, Span< EyesEstimation > eyesEstimations) const noexcept=0 |
| Estimate the attributes of multiple warped images in a single estimate function call. | |
| virtual Result< FSDKError > | validate (Span< const Image > warps, Span< const EyeCropper::EyesRects > eyeRects, Span< Result< FSDKError >> errors) const noexcept=0 |
| Validate input of multiple frames in a single function call. | |
Eye estimator interface.
| virtual Result<FSDKError> fsdk::IEyeEstimator::estimate | ( | const Image & | warp, |
| const EyeCropper::EyesRects & | eyeRects, | ||
| EyesEstimation & | eyesEstimation | ||
| ) | const [pure virtual] |
Estimate the attributes.
| [in] | warp | image with warped face. |
| [in] | eyeRects | EyeCropper::EyesRects structure with valid rectangle coordinates of each eye. |
| [out] | eyesEstimation | Estimation of both eyes. Iris and Eyelid output landmarks are in warpedImage coordinates. If you want them in source of warpedImage image coordinates, use IWarper::unwarp |
| virtual Result<FSDKError> fsdk::IEyeEstimator::estimate | ( | Span< const Image > | warps, |
| Span< const EyeCropper::EyesRects > | eyeRects, | ||
| Span< EyesEstimation > | eyesEstimations | ||
| ) | const [pure virtual] |
Estimate the attributes of multiple warped images in a single estimate function call.
| [in] | warps | span of images with warped faces. |
| [in] | eyeRects | span of EyesRects structure of corresponding warped image with valid rectangle coordinates of each eye. |
| [out] | eyesEstimations | span of EyesEstimation of corresponding warped images. Iris and Eyelid output landmarks are in warpedImage coordinates. If you want them in source of warpedImage image coordinates, use IWarper::unwarp |
| virtual Result<FSDKError> fsdk::IEyeEstimator::validate | ( | Span< const Image > | warps, |
| Span< const EyeCropper::EyesRects > | eyeRects, | ||
| Span< Result< FSDKError >> | errors | ||
| ) | const [pure virtual] |
Validate input of multiple frames in a single function call.
| [in] | warps | span of images with warped faces. |
| [in] | eyeRects | span of EyesRects structure of corresponding warped image with valid rectangle coordinates of each eye. |
| [out] | errors | output span of errors for each image. |