Skip to content

Getting LUNA ID#

Download LUNA ID#

To start using LUNA ID, download it from our release portal. You can find the list of downloadable artifacts in the Distribution kit section.

Contact your manager to get your login and password to download LUNA ID.

Distribution kit#

LUNA ID is distributed as a set of modular archives that provide the necessary libraries, neural networks, and frameworks to embed its functionality into mobile applications. Below is a detailed description of the distribution kits for LUNA ID for Android and iOS.

LUNA ID for Android#

The following .aar files are available for integrating LUNA ID into Android applications. Each archive serves a specific purpose and includes the required dependencies.

Archive Required Description Neural networks
lunaid-core-v.1.17.2.aar Contains the minimum set of files required to embed LUNA ID in your application. None
lunaid-common-x86-v.1.17.2.aar

lunaid-common-arm-v.1.17.2.aar
Contain the minimum set of libraries and neural networks required for embedding LUNA ID. You can specify the dependency for either or both, x86 and ARM architectures. For details, see an example below. ags_v3_device.plan
eye_status_estimation_device.plan
eyes_estimation_flwr8_device.plan
face_occlusion_v1_device.plan
FaceDet_v2_first_device.plan
FaceDet_v2_second_device.plan
FaceDet_v2_third_device.plan
headpose_v3_device.plan
model_subjective_quality_v1_device.plan
model_subjective_quality_v2_device.plan
vlTracker_detection_device.plan
vlTracker_template_device.plan
vlTracker_update_device.plan
lunaid-oslm-x86-v.1.17.2.aar

lunaid-oslm-arm-v.1.17.2.aar
Contain neural networks used for Offline OneShotLiveness estimation. oneshot_rgb_liveness_v9_model_3_device.plan
oneshot_rgb_liveness_v9_model_4_device.plan
lunaid-security-arm-v.1.17.2.aar Contains a functionality for checking virtual camera usage. None
lunaid-mouthestimator-x86-v.1.17.2.aar

lunaid-mouthestimator-arm-v.1.17.2.aar
Contain neural networks used to predict a mouth state of a person in the frame. mouth_estimation_v4_device.plan
lunaid-mask-x86-v.1.17.2.aar

lunaid-mask-arm-v.1.17.2.aar
Contain neural networks used to define face occlusion with a medical mask. mask_clf_v3_device.plan
lunaid-cnn59-x86-v.1.17.2.aar

lunaid-cnn59-arm-v.1.17.2.aar
Contains neural networks used for descriptor generation from an image. For details, see Using descriptors. cnn59m_device.plan
lunaid-cnn60-x86-v.1.17.2.aar

lunaid-cnn60-arm-v.1.17.2.aar
Contains neural networks used for descriptor generation from an image. For details, see Using descriptors. cnn60m_device.plan
lunaid-glasses-x86-v.1.17.2.aar

lunaid-glasses-arm-v.1.17.2.aar
Contain neural networks used to define eye occlusion with glasses. For details, see Getting the best shot with faces with occluded eyes. glasses_estimation_v2_device.plan

Example#

The example below shows how to specify the core, common, and security required dependencies:

implementation("ai.visionlabs.lunaid:core:X.X.X@aar") 
implementation("ai.visionlabs.lunaid:common-arm:X.X.X@aar") 
implementation("ai.visionlabs.lunaid:common-x86:X.X.X@aar")
implementation("ai.visionlabs.lunaid:security-arm:X.X.X@aar") 

The example below shows how to specify the dependencies for either or both, x86 and ARM architectures:

implementation("ai.visionlabs.lunaid:core:X.X.X@aar")

implementation("ai.visionlabs.lunaid:common-arm:X.X.X@aar")
implementation("ai.visionlabs.lunaid:security-arm:X.X.X@aar") 
implementation("ai.visionlabs.lunaid:cnn59-arm:X.X.X@aar")
implementation("ai.visionlabs.lunaid:cnn60-arm:X.X.X@aar")
implementation("ai.visionlabs.lunaid:mask-arm:X.X.X@aar")
implementation("ai.visionlabs.lunaid-mouthestimator-arm-X.X.X@aar")
implementation("ai.visionlabs.lunaid:oslm-arm:X.X.X@aar")
implementation("ai.visionlabs.lunaid:glasses-arm:X.X.X@aar")

implementation("ai.visionlabs.lunaid:common-x86:X.X.X@aar")
implementation("ai.visionlabs.lunaid:cnn59-x86:X.X.X@aar")
implementation("ai.visionlabs.lunaid:cnn60-x86:X.X.X@aar")
implementation("ai.visionlabs.lunaid:mask-x86:X.X.X@aar")
implementation("ai.visionlabs.lunaid-mouthestimator-x86-X.X.X@aar")
implementation("ai.visionlabs.lunaid:oslm-x86:X.X.X@aar")
implementation("ai.visionlabs.lunaid:glasses-x86:X.X.X@aar") 

For a detailed example, see CameraExample.

LUNA ID for iOS#

LUNA ID for iOS provides the following archives containing the necessary frameworks for integration:

Archive Description
flower Contains flower.xcframework.
tsdk Contains tsdk.xcframework.
fsdk Contains fsdk.xcframework.
LunaCore Contains LunaCore.xcframework.
LunaCamera Contains LunaCamera.xcframework.
LunaWeb Contains LunaWeb.xcframework.

Next steps#

Perform initial setup of LUNA ID to embed it in your application. For details, see:

See also#