Licensed features#
To utilize license features in the code, please refer to the LicenseFeature
enum defined in the ILicense.h file. Note that certain features may not be available on all platforms.
The table below lists features and their associated estimators available on mobile platforms:
Feature | Description | Available instances |
---|---|---|
BestShot | Enables you to select the best shot from the provided images. | IAGSEstimator |
IBestShotQualityEstimator | ||
IHeadPoseEstimator | ||
IQualityEstimator | ||
Descriptor | Enables you to extract face features of a particular person and work with them. You can create a maximum of 1000 descriptors on mobile platforms. | IDescriptor |
IDescriptorBatch | ||
IDescriptorExtractor | ||
IDescriptorMatcher | ||
Detection | Enables you to to find a person's face in a frame. | IDetector |
FaceFeatures | Enables you to estimate face features. | IEyeEstimator |
IFaceOcclusionEstimator | ||
IGlassesEstimator | ||
IMouthEstimator | ||
Liveness | Enables you to get the best shot from a video. | IBestShotMobile |
MedicalMaskDetection | Enables you to detect a medical face mask on the face in the source image. | IMedicalMaskEstimator |
MobileLiveness | Enables you to predict whether a person's face is real or fake (photo, printed image). | ILivenessOneShotRGBEstimator |
NIRLiveness | Enables you to perform the NIR Liveness estimation. | INIRLivenessEstimator |
TrackEngine | Enables you to track a person in a video. | ITrackEngine |
Important: Other features such as Attributes, Emotions, Liveness, DescriptorIndex, LivenessEngine, HumanDetection are not available on mobile platforms. See FeatureMapMobile.htm for additional information about these features.
If the license for the selected feature is invalid, the factory instantiation method will return a result with an error code and an empty object.For example, method IFaceEngine::createAGSEstimator
will return ResultValue
with FSDKError::LicenseError
empty IAGSEstimatorPtr
object in case if LicenseFeature::BestShot
in not available.