5 #include <fsdk/Optional.h>
10 #ifndef DOXYGEN_SHOULD_SKIP_THIS
41 Image &background)
const noexcept = 0;
57 const Image& background,
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
Common data types and structures.
Object system types and interfaces.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
RGBM Liveness estimator interface.
Definition: ILivenessRGBMEstimator.h:28
virtual Result< FSDKError > estimate(const Image &image, const Detection &detection, const Image &background, LivenessRGBMEstimation &estimation) const noexcept=0
Check if detection corresponds to person alive or not.
Image.
Definition: Image.h:37
virtual Result< FSDKError > update(const Image &image, uint32_t iFrame, Image &background) const noexcept=0
Prepare background method. Pass here every frame from the stream to extract background.
LivenessRGBM estimation structure.
Definition: ILivenessRGBMEstimator.h:19
bool isReal
Where person is real or not.
Definition: ILivenessRGBMEstimator.h:21
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
float score
Estimation score.
Definition: ILivenessRGBMEstimator.h:20