Face Engine SDK  5.25.0
A face detection, recognition and tracking engine.
fsdk::IDepthLivenessEstimator Struct Reference

Depth estimator interface. More...

#include <IDepthLivenessEstimator.h>

Inheritance diagram for fsdk::IDepthLivenessEstimator:
fsdk::IRefCounted

List of all members.

Public Member Functions

virtual Result< FSDKErrorestimate (const Image &depth, DepthLivenessEstimation &out) const noexcept=0
 Check whether or not depth map corresponds to the real person.
virtual Result< FSDKErrorestimate (Span< const Image > depths, Span< DepthLivenessEstimation > outs) const noexcept=0
 Check whether several depth maps correspond to real persons.
virtual Result< FSDKErrorvalidate (Span< const Image > depths, Span< Result< FSDKError >> errors) const noexcept=0
 Validates input of multiple depth maps of face warps in a single function call.

Detailed Description

Depth estimator interface.

Note:
This estimator is designed for face analysis using depth map. It works with 16 bit depth map of face warp.

Member Function Documentation

virtual Result<FSDKError> fsdk::IDepthLivenessEstimator::estimate ( const Image depth,
DepthLivenessEstimation out 
) const [pure virtual]

Check whether or not depth map corresponds to the real person.

Parameters:
[in]depthdepth image with warped face.
[out]outDepthEstimation output structure.
Returns:
Result with error code.
See also:
DepthLivenessEstimation, Image, Result and FSDKError for details.
Note:
depth warp format must be R16,
See also:
Format.
virtual Result<FSDKError> fsdk::IDepthLivenessEstimator::estimate ( Span< const Image depths,
Span< DepthLivenessEstimation outs 
) const [pure virtual]

Check whether several depth maps correspond to real persons.

Parameters:
[in]depthsdepth images with warped faces.
[out]outsliveness estimations.
Returns:
Result with error code.
See also:
DepthLivenessEstimation, Image, Result and FSDKError for details.
Note:
depth warp format must be R16,
See also:
Format.
Note:
all spans should be based on user owned continuous collections.
all spans should be equal size.
virtual Result<FSDKError> fsdk::IDepthLivenessEstimator::validate ( Span< const Image depths,
Span< Result< FSDKError >>  errors 
) const [pure virtual]

Validates input of multiple depth maps of face warps in a single function call.

Parameters:
[in]depthssource Depth images span
[out]errorsoutput span of errors for each image.
Returns:
validation result for the first failed image or FSDKError::Ok
See also:
Image, Span, Result and FSDKError for details.
Note:
depth images format must be Format::R16,
See also:
Format.
Note:
all spans should be based on user owned continuous collections.
all spans should be equal size.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines