15 #include <fsdk/FaceEngine.h>
20 #ifndef DECLARE_SMARTPTR
21 #ifndef DOXYGEN_SHOULD_SKIP_THIS
22 #define DECLARE_SMARTPTR(X) typedef fsdk::Ref<X> X##Ptr
26 #ifndef DOXYGEN_SHOULD_SKIP_THIS
27 DECLARE_SMARTPTR(ILiveness);
28 DECLARE_SMARTPTR(IComplexLiveness);
105 #ifndef DOXYGEN_SHOULD_SKIP_THIS
Liveness detector interface.
Definition: ILiveness.h:82
ComplexLivenessAlgorithmType
Complex liveness algorithm type enumeration.
Definition: ILiveness.h:40
FSDK_API ILivenessEngine * createLivenessEngine(fsdk::Ref< fsdk::IFaceEngine > FaceEngine, const char *path=nullptr) noexcept
Create the Liveness SDK root object.
Unified liveness detector interface. This liveness type includes previous types and performs all cal...
Definition: ILiveness.h:197
virtual ILiveness * createLiveness(LivenessAlgorithmType type) noexcept=0
Creates a simple livenes of given type.
LivenessAlgorithmType
Simple liveness algorithm type enumeration.
Definition: ILiveness.h:23
virtual IComplexLiveness * createComplexLiveness(ComplexLivenessAlgorithmType type) noexcept=0
Creates a complex livenes of given type.
Complex liveness detector interface.
Definition: ILiveness.h:224
virtual void setSettingsProvider(fsdk::ISettingsProvider *provider) noexcept=0
Sets settings provider.
virtual void setDataDirectory(const char *path) noexcept=0
Sets data directory.
Root Liveness SDK object interface.
Definition: LivenessEngine.h:39
virtual IUnifiedLiveness * createUnifiedLiveness(LivenessAlgorithmType type) noexcept=0
Creates a unified liveness which performs all possible calculations and tracks value from given type...
virtual const char * getDataDirectory() const noexcept=0
Gets data directory.
Liveness detection and analysis interfaces.
virtual fsdk::ISettingsProvider * getSettingsProvider() const noexcept=0
Gets settings provider.