![]() |
Face Engine SDK
5.27.0
A face detection, recognition and tracking engine.
|
Common interfaces and macros shared across all SDK objects. More...
Classes | |
| struct | fsdk::IFaceEngine |
| Root LUNA SDK object interface. More... | |
| struct | fsdk::IFaceEnginePos |
| Root LUNA SDK object interface. More... | |
| struct | fsdk::IArchive |
| Archive interface. More... | |
| struct | fsdk::ISerializableObject |
| Serializable object interface. More... | |
| struct | fsdk::ErrorTraits< ISerializableObject::Error > |
| Specialized for ISerializableObject::SerializationError. More... | |
| struct | fsdk::IDataStorageObject |
| Data storage object interface helper. More... | |
| struct | fsdk::IRefCounted |
| Base strong reference counted object interface. More... | |
| struct | fsdk::ISettingsProvider |
| SDK settings provider interface. More... | |
| struct | fsdk::ErrorTraits< ISettingsProvider::Error > |
| Specialized for ISettingsProvider::ParseError. More... | |
Macros | |
| #define | ALIGN_UP(value, align) (((value) & (align - 1)) ? (((value) + (align - 1)) & ~(align - 1)) : (value)) |
| #define | ALIGNED(x) __attribute__((aligned(x))) |
| #define | RESTRICT __restrict__ |
| #define | FORCE_INLINE inline __attribute__((always_inline)) |
| #define | DECLARE_SMARTPTR(X) |
| Smart ptr declaration helper macro. More... | |
| #define | STRINGIFY2(x) #x |
| Stringification helper macro. | |
| #define | STRINGIFY(x) STRINGIFY2(x) |
| Stringifies it's argument. | |
Functions | |
| FSDK_API Result< FSDKError > | fsdk::activateLicense (ILicense *license, const char *configPath) noexcept |
| Makes License activation with some platform specific manner. Network connection is required. More... | |
| FSDK_API Result< FSDKError > | fsdk::activateLicense (ILicense *license, ISettingsProvider *settings) noexcept |
| Makes License activation with some platform specific manner. Network connection is required. More... | |
| FSDK_API ResultValue< FSDKError, IFaceEnginePtr > | fsdk::createFaceEngine (const char *dataPath=nullptr, const char *configPath=nullptr, const char *runtimePath=nullptr) noexcept |
| Create the LUNA SDK root object. More... | |
| FSDK_API ResultValue< FSDKError, ISettingsProviderPtr > | fsdk::createSettingsProvider (const char *path) noexcept |
| Creates a settings provider. More... | |
| FSDK_API ResultValue< FSDKError, ISettingsProviderPtr > | fsdk::createSettingsProviderFromString (const char *content) noexcept |
| Creates a settings provider from the xml-formatted string. More... | |
| virtual ResultValue< FSDKError, IDetectorPtr > | fsdk::IFaceEnginePos::createDetector () noexcept=0 |
| Creates a detector of given type. More... | |
| virtual ResultValue< FSDKError, IHeadPoseEstimatorPtr > | fsdk::IFaceEnginePos::createHeadPoseEstimator () noexcept=0 |
| Creates Head pose estimator. More... | |
| virtual ResultValue< FSDKError, IMedicalMaskEstimatorPtr > | fsdk::IFaceEnginePos::createMedicalMaskEstimator () noexcept=0 |
| Creates MedicalMask estimator. More... | |
| virtual ResultValue< FSDKError, IGlassesEstimatorPtr > | fsdk::IFaceEnginePos::createGlassesEstimator () noexcept=0 |
| Creates Glasses estimator. More... | |
| virtual ResultValue< FSDKError, IQualityEstimatorPtr > | fsdk::IFaceEnginePos::createQualityEstimator () noexcept=0 |
| Creates Quality estimator. More... | |
| virtual ResultValue< FSDKError, INIRLivenessEstimatorPtr > | fsdk::IFaceEnginePos::createNIRLivenessEstimator (const NIRLivenessMode mode=NIRLivenessMode::Default) noexcept=0 |
| Creates NIRLiveness estimator. More... | |
| virtual ResultValue< FSDKError, IDescriptorPtr > | fsdk::IFaceEnginePos::createDescriptor (uint32_t version=0) noexcept=0 |
| Creates Descriptor. More... | |
| virtual ResultValue< FSDKError, IDescriptorPtr > | fsdk::IFaceEnginePos::createDescriptor (IArchive *archive, uint32_t flags=0) noexcept=0 |
| Creates and loads Descriptor from Archive. More... | |
| virtual ResultValue< FSDKError, IDescriptorBatchPtr > | fsdk::IFaceEnginePos::createDescriptorBatch (int32_t size, uint32_t version=0) noexcept=0 |
| Creates Batch of descriptors. More... | |
| virtual ResultValue< FSDKError, IDescriptorExtractorPtr > | fsdk::IFaceEnginePos::createExtractor (uint32_t version=0) noexcept=0 |
| Creates descriptor extractor. More... | |
| virtual ResultValue< FSDKError, IDescriptorMatcherPtr > | fsdk::IFaceEnginePos::createMatcher (uint32_t version=0) noexcept=0 |
| Creates descriptor matcher. More... | |
| virtual ResultValue< FSDKError, IWarperPtr > | fsdk::IFaceEnginePos::createWarper () noexcept=0 |
| Creates warper. More... | |
| virtual FaceEngineEdition | fsdk::IFaceEnginePos::getFaceEngineEdition () const noexcept=0 |
| Get LUNA SDK distribution edition. More... | |
| virtual void | fsdk::IFaceEnginePos::setDataDirectory (const char *path) noexcept=0 |
| Sets data directory. More... | |
| virtual const char * | fsdk::IFaceEnginePos::getDataDirectory () const noexcept=0 |
| Gets data directory. More... | |
| virtual void | fsdk::IFaceEnginePos::setSettingsProvider (ISettingsProvider *provider) noexcept=0 |
| Sets settings provider. More... | |
| virtual void | fsdk::IFaceEnginePos::setRuntimeSettingsProvider (ISettingsProvider *provider) noexcept=0 |
| Sets runtime settings provider. More... | |
| virtual ISettingsProvider * | fsdk::IFaceEnginePos::getSettingsProvider () const noexcept=0 |
| Gets settings provider. More... | |
| virtual ISettingsProvider * | fsdk::IFaceEnginePos::getRuntimeSettingsProvider () const noexcept=0 |
| Gets runtime settings provider. More... | |
| virtual ILicense * | fsdk::IFaceEnginePos::getLicense () const noexcept=0 |
| Get current License object, which was set for FaceEngine object. More... | |
| FSDK_API ResultValue< FSDKError, IFaceEnginePosPtr > | fsdk::createFaceEngineMobile (const char *dataPath=nullptr, const char *configPath=nullptr, const char *runtimePath=nullptr) noexcept |
| Create the LUNA SDK root object. More... | |
Common interfaces and macros shared across all SDK objects.
| #define DECLARE_SMARTPTR | ( | X | ) |
Smart ptr declaration helper macro.
|
noexcept |
Makes License activation with some platform specific manner. Network connection is required.
| [in] | license | pointer to the license object which should be activated |
| [in] | configPath | path to license.conf file with licensing settings. |
| [in] | license | pointer to the license object which should be activated |
| [in] | configPath | path to license.conf file with licensing settings. |
|
noexcept |
Makes License activation with some platform specific manner. Network connection is required.
| [in] | license | pointer to the license object which should be activated |
| [in] | provider | settings provider. |
| [in] | license | pointer to the license object which should be activated |
| [in] | settings | settings provider. |
|
pure virtualnoexcept |
Creates Descriptor.
| [in] | version | descriptor version. |
face descriptor will created by default, to create human descriptor pass version, minimum version of human descriptor is DV_MIN_HUMAN_DESCRIPTOR_VERSION == 102
|
pure virtualnoexcept |
Creates and loads Descriptor from Archive.
| [in] | archive | Archive with descriptor. |
| [in] | flags | Archive flag. |
|
pure virtualnoexcept |
Creates Batch of descriptors.
face descriptor batch will be created by default, to create human descriptor batch you must pass version, minimum version of human descriptor is DV_MIN_HUMAN_DESCRIPTOR_VERSION == 102
| [in] | size | - amount of descriptors in batch. |
| [in] | version | - descriptor version in batch. If 0 - use dafault version from config. |
|
pure virtualnoexcept |
Creates a detector of given type.
|
pure virtualnoexcept |
Creates descriptor extractor.
| [in] | version | descriptor version. |
face descriptor extractor will created by default, to create human descriptor extractor descriptor you must pass version, minimum version of human descriptor is DV_MIN_HUMAN_DESCRIPTOR_VERSION == 102
|
noexcept |
Create the LUNA SDK root object.
| [in] | dataPath | [optional] path to folder with FSDK data. Default: ./data (on windows), /opt/visionlabs/data (on linux) |
| [in] | configPath | [optional] path to faceengine.conf file. Default: <dataPath>/faceengine.conf |
| [in] | runtimePath | [optional] path to runtime.conf file. Default: <dataPath>/runtime.conf |
|
noexcept |
Create the LUNA SDK root object.
| [in] | dataPath | [optional] path to folder with FSDK data. Default: ./data (on windows), /opt/visionlabs/data (on linux) |
| [in] | configPath | [optional] path to faceengine.conf file. Default: <dataPath>/faceengine.cong |
| [in] | runtimePath | [optional] path to runtime.conf file. Default: <dataPath>/runtime.cong |
|
pure virtualnoexcept |
Creates Glasses estimator.
|
pure virtualnoexcept |
Creates Head pose estimator.
|
pure virtualnoexcept |
Creates descriptor matcher.
| [in] | version | descriptor version. |
face descriptor matcher will created by default, to create human descriptor matcher you must pass version, minimum version of human descriptor is DV_MIN_HUMAN_DESCRIPTOR_VERSION == 102
|
pure virtualnoexcept |
Creates MedicalMask estimator.
|
pure virtualnoexcept |
Creates NIRLiveness estimator.
| [in] | mode | is the option to set estimation scenario. |
| [in] | launchOptions | launch options for fine grained control over target device resources. |
|
pure virtualnoexcept |
Creates Quality estimator.
|
noexcept |
Creates a settings provider.
Create a settings provider.
| [in] | path | configuration file path |
| [in] | path | configuration file path. |
|
noexcept |
Creates a settings provider from the xml-formatted string.
| [in] | content | content string in xml-format, in a case of nullptr empty config will be created |
|
pure virtualnoexcept |
Creates warper.
|
pure virtualnoexcept |
Gets data directory.
By default is set to "./data".
|
pure virtualnoexcept |
Get LUNA SDK distribution edition.
|
pure virtualnoexcept |
Get current License object, which was set for FaceEngine object.
|
pure virtualnoexcept |
Gets runtime settings provider.
|
pure virtualnoexcept |
Gets settings provider.
|
pure virtualnoexcept |
Sets data directory.
| [in] | path | path to data directory. |
|
pure virtualnoexcept |
Sets runtime settings provider.
| [in] | provider | runtime settings provider. |
|
pure virtualnoexcept |
Sets settings provider.
| [in] | provider | settings provider. |