5 #include <fsdk/Optional.h>
10 #ifndef DOXYGEN_SHOULD_SKIP_THIS
27 bool isOk() const noexcept {
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
bool isReal
boolean flag that indicates whether a person is real.
Definition: ILivenessDepthEstimator.h:37
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
Common data types and structures.
Depth range configuration structure in millimeters.
Definition: ILivenessDepthEstimator.h:20
bool isOk() const noexcept
Definition: ILivenessDepthEstimator.h:27
Object system types and interfaces.
float min
Minimum distance.
Definition: ILivenessDepthEstimator.h:21
Base strong reference counted object interface.
Definition: IRefCounted.h:36
virtual Result< FSDKError > estimate(const Image &depth, DepthEstimation &out) const noexcept=0
Check whether or not depth map corresponds to the real person.
float score
confidence score in [0,1] range. The closer the score to 1, the more likely that person is alive...
Definition: ILivenessDepthEstimator.h:36
Depth estimator interface.
Definition: ILivenessDepthEstimator.h:45
Image.
Definition: Image.h:38
Depth estimator output structure.
Definition: ILivenessDepthEstimator.h:35
float max
Maximum distance.
Definition: ILivenessDepthEstimator.h:22