3#include <fsdk/FSDKError.h>
4#include <fsdk/IObject.h>
9#ifndef DOXYGEN_SHOULD_SKIP_THIS
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition Span.h:14
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition Def.h:56
SDK namespace.
Definition IAGSEstimator.h:8
Depth estimator output structure.
Definition IDepthLivenessEstimator.h:21
float score
confidence score in [0,1] range. "1" means absolute confidence that the person is real.
Definition IDepthLivenessEstimator.h:22
bool isReal
boolean flag that indicates whether a person is real.
Definition IDepthLivenessEstimator.h:23
Depth estimator interface.
Definition IDepthLivenessEstimator.h:31
virtual Result< FSDKError > estimate(const Image &depth, DepthLivenessEstimation &out) const noexcept=0
Check whether or not depth map corresponds to the real person.
virtual Result< FSDKError > estimate(Span< const Image > depths, Span< DepthLivenessEstimation > outs) const noexcept=0
Check whether several depth maps correspond to real persons.
virtual Result< FSDKError > validate(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.
Base strong reference counted object interface.
Definition IRefCounted.h:37
Image.
Definition Image.h:38
A structure that encapsulates an action result enumeration.
Definition Result.h:27