3#include <fsdk/IObject.h>
4#include <fsdk/FSDKError.h>
5#include <fsdk/Optional.h>
10#ifndef DOXYGEN_SHOULD_SKIP_THIS
57 float qualityThreshold = -1.f) const noexcept = 0;
78 float qualityThreshold = -1.f,
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
FSDKError
Common SDK error codes.
Definition FSDKError.h:17
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition Detection.h:10
OneShot RGB Liveness estimator interface.
Definition ILivenessOneShotRGBEstimator.h:40
virtual Result< FSDKError > validate(Span< const Image > images, Span< const Detection > detections, Span< const Landmarks5 > landmarks5, Span< Result< FSDKError > > errors) const noexcept=0
Validate input of multiple frames in a single function call.
virtual Result< FSDKError > estimate(const Image &image, const Detection &detection, const Landmarks5 &landmarks5, LivenessOneShotRGBEstimation &estimation, float qualityThreshold=-1.f) const noexcept=0
OneShot RGB Liveness estimation.
Base strong reference counted object interface.
Definition IRefCounted.h:37
Image.
Definition Image.h:38
Face landmarks template structure.
Definition Landmarks.h:23
Liveness OneShotRGB estimation structure.
Definition ILivenessOneShotRGBEstimator.h:24
State
Definition ILivenessOneShotRGBEstimator.h:25
@ Fake
The person on image is fake (photo, printed image)
@ Unknown
The liveness status of person on image is Unknown.
@ Alive
The person on image is real.
float qualityScore
Liveness quality score.
Definition ILivenessOneShotRGBEstimator.h:33
float score
Estimation score.
Definition ILivenessOneShotRGBEstimator.h:31
State state
Liveness status.
Definition ILivenessOneShotRGBEstimator.h:32
A structure that encapsulates an action result enumeration.
Definition Result.h:27