Face Engine SDK
5.25.0
A face detection, recognition and tracking engine.
|
FaceOcclusion estimator interface. More...
#include <IFaceOcclusionEstimator.h>
Public Member Functions | |
virtual ResultValue< FSDKError, FaceOcclusionEstimation > | estimate (const Image &warp, const Landmarks5 &landmarks5) const noexcept=0 |
Checks whether persons face is occluded or not. | |
virtual Result< FSDKError > | estimate (Span< const Image > warps, Span< const Landmarks5 > landmarks, Span< FaceOcclusionEstimation > faceOcclusionEstimations) const noexcept=0 |
This structure is used to check for occlusions in various parts of the face (such as the lower face, nose, eyes, or forehead) across multiple warped images in a single estimate function call. | |
virtual Result< FSDKError > | validate (Span< const Image > warps, Span< const Landmarks5 > landmarks, Span< Result< FSDKError >> errors) const noexcept=0 |
Validate input of multiple frames in a single function call. |
FaceOcclusion estimator interface.
virtual ResultValue<FSDKError, FaceOcclusionEstimation> fsdk::IFaceOcclusionEstimator::estimate | ( | const Image & | warp, |
const Landmarks5 & | landmarks5 | ||
) | const [pure virtual] |
Checks whether persons face is occluded or not.
[in] | warp | image with warped face; |
virtual Result<FSDKError> fsdk::IFaceOcclusionEstimator::estimate | ( | Span< const Image > | warps, |
Span< const Landmarks5 > | landmarks, | ||
Span< FaceOcclusionEstimation > | faceOcclusionEstimations | ||
) | const [pure virtual] |
This structure is used to check for occlusions in various parts of the face (such as the lower face, nose, eyes, or forehead) across multiple warped images in a single estimate function call.
[in] | warps | span of images with warped faces. |
[in] | landmarks | span of warped landmarks. |
[out] | faceOcclusionEstimations | output FaceOcclusionEstimation span. |
virtual Result<FSDKError> fsdk::IFaceOcclusionEstimator::validate | ( | Span< const Image > | warps, |
Span< const Landmarks5 > | landmarks, | ||
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] | landmarks | span of landmarks. |
[out] | errors | output span of errors for each image. |