| Face Engine SDK 5.31.2 A face detection, recognition and tracking engine.

IFaceEngine.h
1
8 #pragma once
9
32 #include <fsdk/Log.h>
33 #include <fsdk/Version.h>
34 #include <fsdk/MemoryTrim.h>
35 #include <fsdk/IObject.h>
36 #include <fsdk/ISettingsProvider.h>
37 #include <fsdk/IEstimator.h>
38 #include <fsdk/IDetector.h>
39 #include <fsdk/IFaceLandmarksDetector.h>
40 #include <fsdk/IHeadDetector.h>
41 #include <fsdk/IDescriptor.h>
42 #include <fsdk/IWarper.h>
43 #include <fsdk/IImageTransfer.h>
44 #include <fsdk/IHumanDetector.h>
45 #include <fsdk/IHumanFaceDetector.h>
46 #include <fsdk/IHumanWarper.h>
47 #include <fsdk/IIndex.h>
48 #include <fsdk/IAsyncContext.h>
49 #include <fsdk/ILicense.h>
50 #include <fsdk/LaunchOptions.h>
51 #include <fsdk/Exception.h>
52 #include <fsdk/Types/FaceEngineEdition.h>
53
55 namespace fsdk {
56
57 #ifndef DOXYGEN_SHOULD_SKIP_THIS
58 DECLARE_SMARTPTR(IFaceEngine);
59 #endif
60
70 struct IFaceEngine : IRefCounted {
71
80 virtual ResultValue<FSDKError, IDetectorPtr> createDetector(
81 ObjectDetectorClassType type = FACE_DET_DEFAULT,
82 SensorType mode = SensorType::Visible,
83 const LaunchOptions* launchOptions = nullptr) noexcept = 0;
84
91 virtual ResultValue<FSDKError, IHeadDetectorPtr>
92 createHeadDetector(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
93
101 virtual ResultValue<FSDKError, IFaceLandmarksDetectorPtr> createFaceLandmarksDetector(
102 SensorType mode = SensorType::Visible,
103 const LaunchOptions* launchOptions = nullptr) noexcept = 0;
104
105
106 virtual ResultValue<FSDKError, IOrientationEstimatorPtr>
107 createOrientationEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
108
115 virtual ResultValue<FSDKError, IHumanDetectorPtr>
116 createHumanDetector(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
117
124 virtual ResultValue<FSDKError, IHumanFaceDetectorPtr>
125 createHumanFaceDetector(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
126
133 virtual ResultValue<FSDKError, IHeadPoseEstimatorPtr>
134 createHeadPoseEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
135
142 virtual ResultValue<FSDKError, IOverlapEstimatorPtr>
143 createOverlapEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
144
151 virtual ResultValue<FSDKError, IAGSEstimatorPtr>
152 createAGSEstimator(const LaunchOptions* options = nullptr) noexcept = 0;
153
160 virtual ResultValue<FSDKError, IAttributeEstimatorPtr>
161 createAttributeEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
162
169 virtual ResultValue<FSDKError, IHumanAttributeEstimatorPtr>
170 createHumanAttributeEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
171
178 virtual ResultValue<FSDKError, IQualityEstimatorPtr>
179 createQualityEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
180
187 virtual ResultValue<FSDKError, IBlackWhiteEstimatorPtr>
188 createBlackWhiteEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
189
196 virtual ResultValue<FSDKError, ILivenessDepthEstimatorPtr>
197 createDepthEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
198
205 virtual ResultValue<FSDKError, IDepthLivenessEstimatorPtr>
206 createDepthLivenessEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
207
214 virtual ResultValue<FSDKError, IImageModificationEstimatorPtr>
215 createImageModificationEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
216
223 virtual ResultValue<FSDKError, ILivenessDepthRGBEstimatorPtr>
224 createLivenessDepthRGBEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
225
232 virtual ResultValue<FSDKError, ILivenessIREstimatorPtr>
233 createIREstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
234
241 virtual ResultValue<FSDKError, ILivenessOneShotRGBEstimatorPtr>
242 createLivenessOneShotRGBEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
243
250 virtual ResultValue<FSDKError, IMouthEstimatorPtr>
251 createMouthEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
252
259 virtual ResultValue<FSDKError, IMedicalMaskEstimatorPtr>
260 createMedicalMaskEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
261
268 virtual ResultValue<FSDKError, ILivenessFlyingFacesEstimatorPtr>
269 createLivenessFlyingFacesEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
270
277 virtual ResultValue<FSDKError, ILivenessFPREstimatorPtr>
278 createLivenessFPREstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
279
287 virtual ResultValue<FSDKError, ILivenessRGBMEstimatorPtr>
288 createLivenessRGBMEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
289
297 virtual ResultValue<FSDKError, IEyeEstimatorPtr> createEyeEstimator(
298 SensorType mode = SensorType::Visible,
299 const LaunchOptions* launchOptions = nullptr) noexcept = 0;
300
307 virtual ResultValue<FSDKError, IEmotionsEstimatorPtr>
308 createEmotionsEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
309
317 virtual ResultValue<FSDKError, IGazeEstimatorPtr> createGazeEstimator(
318 SensorType mode = SensorType::Visible,
319 const LaunchOptions* launchOptions = nullptr) noexcept = 0;
320
327 virtual ResultValue<FSDKError, IGlassesEstimatorPtr>
328 createGlassesEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
329
336 virtual ResultValue<FSDKError, IFaceOcclusionEstimatorPtr>
337 createFaceOcclusionEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
338
345 virtual ResultValue<FSDKError, IBestShotQualityEstimatorPtr>
346 createBestShotQualityEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
347
354 virtual ResultValue<FSDKError, ICredibilityCheckEstimatorPtr>
355 createCredibilityCheckEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
356
363 virtual ResultValue<FSDKError, IHeadWearEstimatorPtr>
364 createHeadWearEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
365
372 virtual ResultValue<FSDKError, IFacialHairEstimatorPtr>
373 createFacialHairEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
374
381 virtual ResultValue<FSDKError, IFishEyeEstimatorPtr>
382 createFishEyeEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
383
390 virtual ResultValue<FSDKError, INaturalLightEstimatorPtr>
391 createNaturalLightEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
392
399 virtual ResultValue<FSDKError, IPPEEstimatorPtr>
400 createPPEEstimator(const LaunchOptions* LaunchOptions = nullptr) noexcept = 0;
401
408 virtual ResultValue<FSDKError, IPortraitStyleEstimatorPtr>
409 createPortraitStyleEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
410
417 virtual ResultValue<FSDKError, IDynamicRangeEstimatorPtr>
418 createDynamicRangeEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
419
426 virtual ResultValue<FSDKError, IBackgroundEstimatorPtr>
427 createBackgroundEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
428
435 virtual ResultValue<FSDKError, IRedEyeEstimatorPtr>
436 createRedEyeEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
437
444 virtual ResultValue<FSDKError, IEyeBrowEstimatorPtr>
445 createEyeBrowEstimator(const LaunchOptions* LaunchOptions = nullptr) noexcept = 0;
446
447 virtual ResultValue<FSDKError, IEthnicityEstimatorPtr>
448 createEthnicityEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
449
457 virtual ResultValue<FSDKError, ICrowdEstimatorPtr> createCrowdEstimator(
458 fsdk::CrowdEstimatorType type = fsdk::CrowdEstimatorType::CET_DEFAULT,
459 const LaunchOptions* LaunchOptions = nullptr) noexcept = 0;
460
461
471 virtual ResultValue<FSDKError, experimental::IDeepFakeEstimatorPtr>
472 createDeepFakeEstimator(const LaunchOptions* launchOptions = nullptr) noexcept = 0;
473
481 virtual ResultValue<FSDKError, INIRLivenessEstimatorPtr> createNIRLivenessEstimator(
482 const NIRLivenessMode mode = NIRLivenessMode::Default,
483 const LaunchOptions* launchOptions = nullptr) noexcept = 0;
484
491 virtual ResultValue<FSDKError, IFightsEstimatorPtr>
492 createFightsEstimator(const LaunchOptions* LaunchOptions = nullptr) noexcept = 0;
493
502 virtual ResultValue<FSDKError, IDescriptorPtr> createDescriptor(uint32_t version = 0) noexcept = 0;
503
511 virtual ResultValue<FSDKError, IDescriptorPtr>
512 createDescriptor(IArchive* archive, uint32_t flags = 0) noexcept = 0;
513
524 virtual ResultValue<FSDKError, IDescriptorBatchPtr>
525 createDescriptorBatch(int32_t size, uint32_t version = 0) noexcept = 0;
526
537 virtual ResultValue<FSDKError, IDescriptorExtractorPtr>
538 createExtractor(uint32_t version = 0, const LaunchOptions* launchOptions = nullptr) noexcept = 0;
539
549 virtual ResultValue<FSDKError, IDescriptorMatcherPtr> createMatcher(uint32_t version = 0) noexcept = 0;
550
558 virtual ResultValue<FSDKError, IIndexBuilderPtr>
559 createIndexBuilder(const size_t capacity = 0, uint32_t version = 0) noexcept = 0;
560
568 virtual ResultValue<FSDKError, IDenseIndexPtr> loadDenseIndex(const char* indexPath) noexcept = 0;
569
577 virtual ResultValue<FSDKError, IDynamicIndexPtr> loadDynamicIndex(const char* indexPath) noexcept = 0;
578
584 virtual ResultValue<FSDKError, IWarperPtr> createWarper() noexcept = 0;
585
591 virtual ResultValue<FSDKError, IHumanWarperPtr> createHumanWarper() noexcept = 0;
592
599 virtual ResultValue<FSDKError, IImageTransferPtr>
600 createImageTransfer(const LaunchOptions* LaunchOptions = nullptr) noexcept = 0;
601
608 virtual ResultValue<FSDKError, IAsyncContextPtr>
609 createAsyncContext(const int8_t threadCount) noexcept = 0;
610
618 virtual FaceEngineEdition getFaceEngineEdition() const noexcept = 0;
619
624 virtual void setDataDirectory(const char* path) noexcept = 0;
625
631 virtual const char* getDataDirectory() const noexcept = 0;
632
637 virtual void setSettingsProvider(ISettingsProvider* provider) noexcept = 0;
638
643 virtual void setRuntimeSettingsProvider(ISettingsProvider* provider) noexcept = 0;
644
649 virtual ISettingsProvider* getSettingsProvider() const noexcept = 0;
650
655 virtual ISettingsProvider* getRuntimeSettingsProvider() const noexcept = 0;
656
661 virtual ILicense* getLicense() const noexcept = 0;
662 };
663
672 FSDK_API Result<FSDKError> activateLicense(ILicense* license, const char* configPath) noexcept;
673
682 FSDK_API Result<FSDKError> activateLicense(ILicense* license, ISettingsProvider* settings) noexcept;
683
689 FSDK_API ResultValue<FSDKError, Fingerprint> getFingerprint(const ISettingsProvider* settings) noexcept;
690
702 FSDK_API ResultValue<FSDKError, IFaceEnginePtr> createFaceEngine(
703 const char* dataPath = nullptr,
704 const char* configPath = nullptr,
705 const char* runtimePath = nullptr) noexcept;
706
712 FSDK_API ResultValue<FSDKError, ISettingsProviderPtr> createSettingsProvider(const char* path) noexcept;
713
720 FSDK_API ResultValue<FSDKError, ISettingsProviderPtr>
721 createSettingsProviderFromString(const char* content) noexcept;
722
723
726 } // namespace fsdk
fsdk::IFaceEngine::createHeadWearEstimator
virtual ResultValue< FSDKError, IHeadWearEstimatorPtr > createHeadWearEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates HeadWear estimator.
fsdk::IFaceEngine::createWarper
virtual ResultValue< FSDKError, IWarperPtr > createWarper() noexcept=0
Creates warper.
fsdk::IFaceEngine::createHumanDetector
virtual ResultValue< FSDKError, IHumanDetectorPtr > createHumanDetector(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates a human detector.
fsdk::IFaceEngine::createPortraitStyleEstimator
virtual ResultValue< FSDKError, IPortraitStyleEstimatorPtr > createPortraitStyleEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates PortraitStyle estimator.
fsdk::IFaceEngine::createAGSEstimator
virtual ResultValue< FSDKError, IAGSEstimatorPtr > createAGSEstimator(const LaunchOptions *options=nullptr) noexcept=0
Creates AGS estimator.
fsdk::IFaceEngine::createFacialHairEstimator
virtual ResultValue< FSDKError, IFacialHairEstimatorPtr > createFacialHairEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates FacialHair estimator.
fsdk::IFaceEngine::createDepthEstimator
virtual ResultValue< FSDKError, ILivenessDepthEstimatorPtr > createDepthEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Liveness Depth estimator.
FSDK_API
#define FSDK_API
Dummy.
Definition: Def.h:27
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:56
fsdk
SDK namespace.
Definition: IAGSEstimator.h:8
fsdk::LaunchOptions
LaunchOptions struct configures inference options on per-estimator/detector basis, giving user fine grained control over cpu/gpu utilisation.
Definition: LaunchOptions.h:34
fsdk::IFaceEngine::createFishEyeEstimator
virtual ResultValue< FSDKError, IFishEyeEstimatorPtr > createFishEyeEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates FishEye estimator.
fsdk::FACE_DET_DEFAULT
Default detector cpecified in config file.
Definition: IDetector.h:37
IWarper.h
Image and landmarks warping.
fsdk::IFaceEngine::createDynamicRangeEstimator
virtual ResultValue< FSDKError, IDynamicRangeEstimatorPtr > createDynamicRangeEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates DynamicRange estimator.
fsdk::Result
A structure that encapsulates an action result enumeration.
Definition: Result.h:27
fsdk::IFaceEngine::createHeadPoseEstimator
virtual ResultValue< FSDKError, IHeadPoseEstimatorPtr > createHeadPoseEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Head pose estimator.
fsdk::IFaceEngine::createDescriptorBatch
virtual ResultValue< FSDKError, IDescriptorBatchPtr > createDescriptorBatch(int32_t size, uint32_t version=0) noexcept=0
Creates Batch of descriptors.
fsdk::IFaceEngine::createLivenessFlyingFacesEstimator
virtual ResultValue< FSDKError, ILivenessFlyingFacesEstimatorPtr > createLivenessFlyingFacesEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates LivenessFlyingFaces estimator.
fsdk::IFaceEngine::createFaceLandmarksDetector
virtual ResultValue< FSDKError, IFaceLandmarksDetectorPtr > createFaceLandmarksDetector(SensorType mode=SensorType::Visible, const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates a face landmark detector.
fsdk::IFaceEngine::createCredibilityCheckEstimator
virtual ResultValue< FSDKError, ICredibilityCheckEstimatorPtr > createCredibilityCheckEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates CredibilityCheck estimator.
fsdk::IFaceEngine::createRedEyeEstimator
virtual ResultValue< FSDKError, IRedEyeEstimatorPtr > createRedEyeEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Red Eye estimator.
fsdk::IFaceEngine::createMouthEstimator
virtual ResultValue< FSDKError, IMouthEstimatorPtr > createMouthEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Mouth estimator.
fsdk::IFaceEngine::createLivenessOneShotRGBEstimator
virtual ResultValue< FSDKError, ILivenessOneShotRGBEstimatorPtr > createLivenessOneShotRGBEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Liveness OneShot estimator.
fsdk::IFaceEngine::getSettingsProvider
virtual ISettingsProvider * getSettingsProvider() const noexcept=0
Gets settings provider.
fsdk::IFaceEngine::createLivenessDepthRGBEstimator
virtual ResultValue< FSDKError, ILivenessDepthRGBEstimatorPtr > createLivenessDepthRGBEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Liveness Depth+RGB estimator.
IHumanWarper.h
Image warping base on Human detection.
fsdk::IFaceEngine::createEyeBrowEstimator
virtual ResultValue< FSDKError, IEyeBrowEstimatorPtr > createEyeBrowEstimator(const LaunchOptions *LaunchOptions=nullptr) noexcept=0
Creates EyeBrow estimator .
fsdk::IFaceEngine::createPPEEstimator
virtual ResultValue< FSDKError, IPPEEstimatorPtr > createPPEEstimator(const LaunchOptions *LaunchOptions=nullptr) noexcept=0
Creates Personal Protection Equipment (PPE) estimator.
fsdk::IFaceEngine::createCrowdEstimator
virtual ResultValue< FSDKError, ICrowdEstimatorPtr > createCrowdEstimator(fsdk::CrowdEstimatorType type=fsdk::CrowdEstimatorType::CET_DEFAULT, const LaunchOptions *LaunchOptions=nullptr) noexcept=0
Creates Crowd estimator.
fsdk::IFaceEngine::createHumanWarper
virtual ResultValue< FSDKError, IHumanWarperPtr > createHumanWarper() noexcept=0
Creates human warper.
IObject.h
Object system types and interfaces.
fsdk::IFaceEngine::createMatcher
virtual ResultValue< FSDKError, IDescriptorMatcherPtr > createMatcher(uint32_t version=0) noexcept=0
Creates descriptor matcher.
fsdk::activateLicense
FSDK_API Result< FSDKError > activateLicense(ILicense *license, const char *configPath) noexcept
Makes License activation with some platform specific manner. Network connection is required...
fsdk::NIRLivenessMode
NIRLivenessMode
NIRLiveness estimation mode. Currently, available values to select the estimation mode are: Default...
Definition: INIRLivenessEstimator.h:23
fsdk::ILicense
License objects interface.
Definition: ILicense.h:66
fsdk::IFaceEngine::createGlassesEstimator
virtual ResultValue< FSDKError, IGlassesEstimatorPtr > createGlassesEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Glasses estimator.
fsdk::IFaceEngine::createFaceOcclusionEstimator
virtual ResultValue< FSDKError, IFaceOcclusionEstimatorPtr > createFaceOcclusionEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates FaceOcclusion estimator.
fsdk::IFaceEngine::createDepthLivenessEstimator
virtual ResultValue< FSDKError, IDepthLivenessEstimatorPtr > createDepthLivenessEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates universal DepthLiveness estimator.
fsdk::createSettingsProviderFromString
FSDK_API ResultValue< FSDKError, ISettingsProviderPtr > createSettingsProviderFromString(const char *content) noexcept
Creates a settings provider from the xml-formatted string.
fsdk::IFaceEngine::createBestShotQualityEstimator
virtual ResultValue< FSDKError, IBestShotQualityEstimatorPtr > createBestShotQualityEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates BestShotQuality estimator.
fsdk::IFaceEngine::getLicense
virtual ILicense * getLicense() const noexcept=0
Get current License object, which was set for FaceEngine object.
fsdk::getFingerprint
FSDK_API ResultValue< FSDKError, Fingerprint > getFingerprint(const ISettingsProvider *settings) noexcept
Gets the device fingerprint which could be used for the offline activation.
fsdk::IFaceEngine::setSettingsProvider
virtual void setSettingsProvider(ISettingsProvider *provider) noexcept=0
Sets settings provider.
fsdk::IFaceEngine
Root LUNA SDK object interface.
Definition: IFaceEngine.h:70
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:37
fsdk::CET_DEFAULT
Default type which is specified in config file.
Definition: ICrowdEstimator.h:27
fsdk::IFaceEngine::createHumanFaceDetector
virtual ResultValue< FSDKError, IHumanFaceDetectorPtr > createHumanFaceDetector(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates a HumanFace detector, which detects humans, faces and associations between them...
fsdk::IFaceEngine::createFightsEstimator
virtual ResultValue< FSDKError, IFightsEstimatorPtr > createFightsEstimator(const LaunchOptions *LaunchOptions=nullptr) noexcept=0
Creates FightsEstimator estimator.
fsdk::IFaceEngine::createIndexBuilder
virtual ResultValue< FSDKError, IIndexBuilderPtr > createIndexBuilder(const size_t capacity=0, uint32_t version=0) noexcept=0
Creates index builder.
Version.h
SDK version information routines.
Log.h
Log interfaces.
IEstimator.h
Image analysis and attribute estimation interfaces.
fsdk::createFaceEngine
FSDK_API ResultValue< FSDKError, IFaceEnginePtr > createFaceEngine(const char *dataPath=nullptr, const char *configPath=nullptr, const char *runtimePath=nullptr) noexcept
Create the LUNA SDK root object.
fsdk::SensorType
SensorType
Sensor type structure. Determines which type of camera sensor is used to perform face recognition...
Definition: SensorType.h:9
fsdk::IFaceEngine::createExtractor
virtual ResultValue< FSDKError, IDescriptorExtractorPtr > createExtractor(uint32_t version=0, const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates descriptor extractor.
IDescriptor.h
Descriptor extractor and matcher interfaces.
fsdk::IFaceEngine::createLivenessRGBMEstimator
virtual ResultValue< FSDKError, ILivenessRGBMEstimatorPtr > createLivenessRGBMEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Liveness RGBM estimator.
fsdk::IFaceEngine::createGazeEstimator
virtual ResultValue< FSDKError, IGazeEstimatorPtr > createGazeEstimator(SensorType mode=SensorType::Visible, const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Gaze estimator.
fsdk::IFaceEngine::createDescriptor
virtual ResultValue< FSDKError, IDescriptorPtr > createDescriptor(uint32_t version=0) noexcept=0
Creates Descriptor.
fsdk::IFaceEngine::getRuntimeSettingsProvider
virtual ISettingsProvider * getRuntimeSettingsProvider() const noexcept=0
Gets runtime settings provider.
fsdk::IFaceEngine::createHeadDetector
virtual ResultValue< FSDKError, IHeadDetectorPtr > createHeadDetector(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates a head detector.
fsdk::IFaceEngine::createOverlapEstimator
virtual ResultValue< FSDKError, IOverlapEstimatorPtr > createOverlapEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Overlap estimator.
fsdk::IFaceEngine::loadDenseIndex
virtual ResultValue< FSDKError, IDenseIndexPtr > loadDenseIndex(const char *indexPath) noexcept=0
Loads dense index.
fsdk::IFaceEngine::createLivenessFPREstimator
virtual ResultValue< FSDKError, ILivenessFPREstimatorPtr > createLivenessFPREstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates LivenessFPR estimator.
fsdk::ResultValue
Addon for Result to output some value aside the result. Specialization for copiable types...
Definition: ResultValue.h:21
IDetector.h
Face detector interfaces.
fsdk::SensorType::Visible
Visible sensor type.
fsdk::IFaceEngine::createDetector
virtual ResultValue< FSDKError, IDetectorPtr > createDetector(ObjectDetectorClassType type=FACE_DET_DEFAULT, SensorType mode=SensorType::Visible, const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates a detector of a given type.
fsdk::IFaceEngine::createEmotionsEstimator
virtual ResultValue< FSDKError, IEmotionsEstimatorPtr > createEmotionsEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Emotions estimator.
IAsyncContext.h
Async context interface.
fsdk::IFaceEngine::loadDynamicIndex
virtual ResultValue< FSDKError, IDynamicIndexPtr > loadDynamicIndex(const char *indexPath) noexcept=0
Loads dynamic index.
fsdk::IFaceEngine::createNaturalLightEstimator
virtual ResultValue< FSDKError, INaturalLightEstimatorPtr > createNaturalLightEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates NaturalLight estimator.
fsdk::IFaceEngine::setRuntimeSettingsProvider
virtual void setRuntimeSettingsProvider(ISettingsProvider *provider) noexcept=0
Sets runtime settings provider.
fsdk::IFaceEngine::createQualityEstimator
virtual ResultValue< FSDKError, IQualityEstimatorPtr > createQualityEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Quality estimator.
fsdk::IFaceEngine::createMedicalMaskEstimator
virtual ResultValue< FSDKError, IMedicalMaskEstimatorPtr > createMedicalMaskEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates MedicalMask estimator.
fsdk::IFaceEngine::getDataDirectory
virtual const char * getDataDirectory() const noexcept=0
Gets data directory.
fsdk::IFaceEngine::createEyeEstimator
virtual ResultValue< FSDKError, IEyeEstimatorPtr > createEyeEstimator(SensorType mode=SensorType::Visible, const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Eye estimator.
fsdk::IFaceEngine::createAsyncContext
virtual ResultValue< FSDKError, IAsyncContextPtr > createAsyncContext(const int8_t threadCount) noexcept=0
Creates async context.
fsdk::ObjectDetectorClassType
ObjectDetectorClassType
Object detector type enumeration.
Definition: IDetector.h:36
fsdk::IArchive
Archive interface.
Definition: IObject.h:38
fsdk::IFaceEngine::createNIRLivenessEstimator
virtual ResultValue< FSDKError, INIRLivenessEstimatorPtr > createNIRLivenessEstimator(const NIRLivenessMode mode=NIRLivenessMode::Default, const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates NIRLiveness estimator.
fsdk::IFaceEngine::getFaceEngineEdition
virtual FaceEngineEdition getFaceEngineEdition() const noexcept=0
Get LUNA SDK ditribution edition.
fsdk::FSDKError
FSDKError
Common SDK error codes.
Definition: FSDKError.h:17
fsdk::IFaceEngine::createImageModificationEstimator
virtual ResultValue< FSDKError, IImageModificationEstimatorPtr > createImageModificationEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates image modification estimator.
fsdk::IFaceEngine::createDeepFakeEstimator
virtual ResultValue< FSDKError, experimental::IDeepFakeEstimatorPtr > createDeepFakeEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates DeepFake estimator. The current implementation is experimental, and does not support backward...
fsdk::IFaceEngine::createBackgroundEstimator
virtual ResultValue< FSDKError, IBackgroundEstimatorPtr > createBackgroundEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Background estimator.
fsdk::IFaceEngine::createIREstimator
virtual ResultValue< FSDKError, ILivenessIREstimatorPtr > createIREstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Liveness Infrared estimator.
ISettingsProvider.h
Settings provider interface.
fsdk::IFaceEngine::createImageTransfer
virtual ResultValue< FSDKError, IImageTransferPtr > createImageTransfer(const LaunchOptions *LaunchOptions=nullptr) noexcept=0
Creates Image transfer facility.
fsdk::createSettingsProvider
FSDK_API ResultValue< FSDKError, ISettingsProviderPtr > createSettingsProvider(const char *path) noexcept
Creates a settings provider.
fsdk::IFaceEngine::createBlackWhiteEstimator
virtual ResultValue< FSDKError, IBlackWhiteEstimatorPtr > createBlackWhiteEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates BlackWhite estimator.
fsdk::IFaceEngine::setDataDirectory
virtual void setDataDirectory(const char *path) noexcept=0
Sets data directory.
fsdk::IFaceEngine::createAttributeEstimator
virtual ResultValue< FSDKError, IAttributeEstimatorPtr > createAttributeEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates Attribute estimator.
fsdk::CrowdEstimatorType
CrowdEstimatorType
CrowdEstimator type enumeration.
Definition: ICrowdEstimator.h:26
fsdk::IFaceEngine::createHumanAttributeEstimator
virtual ResultValue< FSDKError, IHumanAttributeEstimatorPtr > createHumanAttributeEstimator(const LaunchOptions *launchOptions=nullptr) noexcept=0
Creates HumanAttribute estimator.
fsdk::ISettingsProvider
SDK settings provider interface.
Definition: ISettingsProvider.h:32