Skip to content

Getting LUNA ID#

Download LUNA ID#

To start using LUNA ID, download it from our release portal:

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

Distribution kit#

LUNA ID for Android#

LUNA ID for Android is distributed in an AAR file that contains the following archives:

  • lunaid-core-X.X.X.aar
    Required.
    Contains the minimum set of files required to embed LUNA ID in your app.
  • lunaid-common-x86-X.X.X.aar, lunaid-common-arm-X.X.X.aar
    Required.
    Contains the minimum set of libraries and neural networks required to embed LUNA ID in your app. You can specify the dependency for either or both, x86 and ARM architectures. For details, see an example below.
  • lunaid-oslm-X.X.X.aar
    Optional.
    Contains neural networks used for Offline OneShotLiveness estimation. For details, see Performing Offline OneShotLiveness estimation.
  • lunaid-mask-X.X.X.aar
    Optional.
    Contains a neural network used to define face occlusion. For details, see Getting the best shot with an occluded face.
  • lunaid-cnn59-1X.X.X.aar, lunaid-cnn52-X.X.X.aar
    Optional.
    Contain neural networks used for descriptor generation from an image. For details, see Using descriptors.
  • lunaid-glasses-X.X.X.aar
    Optional.
    Contains neural networks used to define eye occlusion. For details, see Getting the best shot with faces with occluded eyes.

Example#

The example below shows hot to specify the core and common 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") 

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:cnn52-arm:X.X.X@aar")
implementation("ai.visionlabs.lunaid:cnn59-arm:X.X.X@aar")
implementation("ai.visionlabs.lunaid:mask-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:cnn52-x86:X.X.X@aar")
implementation("ai.visionlabs.lunaid:cnn59-x86:X.X.X@aar")
implementation("ai.visionlabs.lunaid:mask-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-sdk_ios_v.X.X.X.zip
    Required.
    Contains binary files and neural networks required to embed LUNA ID in your app.

Next steps#

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

See also#