Face Engine SDK
5.17.0
A face detection, recognition and tracking engine.
|
00001 #pragma once 00002 00003 #include <fsdk/IObject.h> 00004 #include <fsdk/FSDKError.h> 00005 00006 namespace fsdk { 00007 00008 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00009 DECLARE_SMARTPTR(ILicense); 00010 #endif 00011 00015 enum class LicenseFeature : uint32_t { 00016 Detection = 1, 00017 BestShot = 2, 00018 Attributes = 3, 00019 Emotions = 4, 00020 FaceFeatures = 5, 00021 Liveness = 6, 00022 Descriptor = 7, 00023 DescriptorIndex = 8, 00024 LivenessEngine = 9, 00025 TrackEngine = 10, 00026 HumanDetection = 11, 00027 PPEDetection = 17, 00028 MobileLiveness = 18, 00029 MedicalMaskDetection = 19, 00030 ReIdDescriptor = 20, 00031 ISOCheck = 21, 00032 DeepFakeEstimation = 22, 00033 DepthRGBLiveness = 23, 00034 FightsEstimation = 24, 00035 BodyAttributes = 25, 00036 NIRLiveness = 26 00037 }; 00038 00043 struct ILicense : IRefCounted { 00051 virtual ResultValue<FSDKError, bool> checkFeatureId(LicenseFeature feature) const noexcept = 0; 00052 00059 virtual ResultValue<FSDKError, bool> isActivated() const noexcept = 0; 00060 00067 virtual Result<FSDKError> 00068 FSDK_DEPRECATED("loadFromFile is deprecated since v.5.5.0," 00069 " Use loadFromFile(const char* path, const ISettingsProvider* settings) instead") 00070 loadFromFile(const char* path) noexcept = 0; 00071 00079 virtual Result<FSDKError> loadFromFile(const char* path, const ISettingsProvider* settings) noexcept = 0; 00080 00087 virtual Result<FSDKError> saveToFile(const char * path) const noexcept = 0; 00088 00097 virtual ResultValue<FSDKError, uint32_t> getExpirationDate(LicenseFeature feature) const noexcept = 0; 00098 }; 00099 }