5 #include <fsdk/Optional.h>
10 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 bool useJpegCompression,
58 virtual Image getCompressedWarp()
const = 0;
59 virtual void setCompressedWarp(
const Image& warp)
const = 0;
60 virtual void clearCompessedWarp()
const = 0;
FPR Liveness estimator interface.
Definition: ILivenessFPREstimator.h:37
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:56
A structure that encapsulates an action result enumeration.
Definition: Result.h:27
float phoneScore
Numerical value in range [0, 1].
Definition: ILivenessFPREstimator.h:27
Common data types and structures.
Face landmarks template structure.
Definition: Landmarks.h:23
virtual Result< FSDKError > estimate(const Image &image, const Detection &detection, const Landmarks5 &landmarks5, bool useJpegCompression, LivenessFPREstimation &estimation) const noexcept=0
Helps to check if person is real or not.
Object system types and interfaces.
bool isReal
Is real face (true) or not (false).
Definition: ILivenessFPREstimator.h:30
Base strong reference counted object interface.
Definition: IRefCounted.h:37
float totalScore
Numerical value in range [0, 1].
Definition: ILivenessFPREstimator.h:29
float flyingFacesScore
Numerical value in range [0, 1].
Definition: ILivenessFPREstimator.h:28
Liveness FPR estimation output.
Definition: ILivenessFPREstimator.h:25
float replayScore
Numerical value in range [0, 1].
Definition: ILivenessFPREstimator.h:26
Image.
Definition: Image.h:38
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10