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.18.0.aar Contains the minimum set of files required to embed LUNA ID in your application. None
lunaid-common-arm-v.1.18.0.aar Contains the minimum set of libraries and neural networks required for embedding LUNA ID. For details, see an example below. ags_v3_arm.plan
eye_status_estimation_arm.plan
eyes_estimation_flwr8_arm.plan
face_occlusion_v1_arm.plan
FaceDet_v2_first_arm.plan
FaceDet_v2_second_arm.plan
FaceDet_v2_third_arm.plan
headpose_v3_arm.plan
model_subjective_quality_v1_arm.plan
model_subjective_quality_v2_arm.plan
vlTracker_detection_arm.plan
vlTracker_template_arm.plan
vlTracker_update_arm.plan
lunaid-oslm-arm-v.1.18.0.aar Contains neural networks used for Offline OneShotLiveness estimation. oneshot_rgb_liveness_v11_model_4_arm.plan
oneshot_rgb_liveness_v11_model_5_arm.plan
oneshot_rgb_liveness_v11_model_6_arm.plan
lunaid-security-arm-v.1.18.0.aar Contains a functionality for checking virtual camera usage. None
lunaid-mouthestimator-arm-v.1.18.0.aar Contains a neural network used to predict a mouth state of a person in the frame. mouth_estimation_v4_arm.plan (deprecated)
lunaid-mask-arm-v.1.18.0.aar Contains a neural network used to define face occlusion with a medical mask. mask_clf_v3_arm.plan
lunaid-cnn59-arm-v.1.18.0.aar Contains a neural network used for descriptor generation from an image. For details, see Using descriptors. cnn59m_arm.plan (deprecated)
lunaid-cnn60-arm-v.1.18.0.aar Contains a neural network used for descriptor generation from an image. For details, see Using descriptors. cnn60m_arm.plan
lunaid-glasses-arm-v.1.18.0.aar Contains a neural network used to define eye occlusion with glasses. For details, see Getting the best shot with faces with occluded eyes. glasses_estimation_v2_arm.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:security-arm:X.X.X@aar") 

The example below shows how to specify all the dependencies:

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")

For a detailed example, see CameraExample.

LUNA ID for iOS#

LUNA ID for iOS provides the following archives containing the necessary frameworks for integration. Dependencies updated in v.1.18.1 are marked with . Download the required frameworks and proceed with the integration.

Archive Updated in v.1.18.1 Description
flower Contains flower_v.5.30.2.xcframework.
tsdk Contains tsdk_v.5.30.2.xcframework.
fsdk Contains fsdk_v.5.30.2.xcframework.
LunaCore Contains LunaCore_v.1.18.1.
LunaCamera Contains LunaCamera_v.1.18.1.
LunaWeb Contains LunaWeb_v.1.18.1.
CryptoSwift Contains CryptoSwift.xcframework.
CheckJailBreakDevice Contains CheckJailBreakDevice.xcframework.

Next steps#

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

See also#