![]() |
Face Engine SDK
5.15.1
A face detection, recognition and tracking engine.
|
RGBM Liveness estimator interface. More...
#include <ILivenessRGBMEstimator.h>
Public Member Functions | |
| 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. More... | |
| 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. More... | |
Public Member Functions inherited from fsdk::IRefCounted | |
| virtual int32_t | retain () noexcept=0 |
| Increase strong reference count. More... | |
| virtual int32_t | retainLocked () noexcept=0 |
| Increase strong reference count thread safely. More... | |
| virtual int32_t | release () noexcept=0 |
| Decrease strong reference count. More... | |
| virtual int32_t | getRefCount () const noexcept=0 |
| Get actual strong reference count. More... | |
| virtual int32_t | retainWeak () noexcept=0 |
| Increase weak reference count. More... | |
| virtual int32_t | releaseWeak () noexcept=0 |
| Decrease weak reference count. More... | |
| virtual int32_t | getWeakRefCount () const noexcept=0 |
| Get actual weak reference count. More... | |
RGBM Liveness estimator interface.
|
pure virtualnoexcept |
Check if detection corresponds to person alive or not.
| [in] | image | source image. |
| [in] | detection | detection coordinates in image space. |
| [in] | background | background for the track. |
| [in/out] | estimation estimation structure |
|
pure virtualnoexcept |
Prepare background method. Pass here every frame from the stream to extract background.
| [in] | image | source image. |
| [in] | iFrame | current frame number. |
| [in/out] | background current background. It will be updated by this call. Memory residence (host/gpu) of background image can be changed becase of internal implementation. |