Neural networks used in LUNA ID#
In LUNA ID, neural networks provide efficient and accurate processing of faces in images and video streams. The neural networks are stored in .plan files.
The table below shows all .plan files used in LUNA ID and functionality that the files cover. Some of them are required for using LUNA ID in your app.
Note, that using the .plan files will add extra size to your app. To learn how to exclude extra .plan files, see Reducing your app size by excluding .plan files.
.plan file | Size | Required | Feature name | Description |
---|---|---|---|---|
(in LUNA ID for Android only) (in LUNA ID for Android only) |
Yes | Best shot quality estimation | Evaluates image quality to choose the best image for further processing. The BestShotQuality estimator consists of two components - AGS (Approximate Garbage Store) and Head Pose. For details, see: |
|
(in LUNA ID for Android only) |
Yes | AGS estimation | Evaluates the source image score for further image processing. | |
(in LUNA ID for Android only) (in LUNA ID for Android only) (in LUNA ID for Android only) (in LUNA ID for Android only) (in LUNA ID for iOS only) |
No | Descriptor generation from an image | Stores a compact set of packed properties as well as some helper parameters used to extract these properties from the source image. For details, see: |
|
(in LUNA ID for Android only) |
Yes | Eye state | Determines the eye state: open, closed, occluded. For details, see: |
|
(in LUNA ID for Android only) |
Yes | Eye state estimation | Determines the following eye state and keypoints: For details, see: |
|
(in LUNA ID for iOS only) |
350 KB | No | Face occlusion | Predicts occlusions of different parts of the face, such as the forehead, eyes, nose, mouth, and lower face. For details, see Face occlusion. |
(in LUNA ID for Android only) (in LUNA ID for Android only) (in LUNA ID for Android only) |
Yes | Face detection | Detects a face in an image and shows a rectangular area around the detected face. The neural networks should be launched consequently. For details, see: |
|
(in LUNA ID for Android only) |
No | Glasses estimation | Detects glasses on the face in the source image. You can then define whether images with occluded eyes can be considered best shots. For details, see: |
|
(in LUNA ID for Android only) |
Yes | Head pose estimation | Determines a person’s head rotation angles in 3D space, that is pitch, yaw, and roll. | |
(in LUNA ID for Android only) |
No | Medical mask estimation | Detects a medical mask on the face in the source image. You can then define whether images with occluded faces can be considered best shots. For details, see: |
|
(in LUNA ID for Android only) (in LUNA ID for Android only) |
Yes | Image quality estimation | Determines an image quality by the following criteria: For details, see: |
|
(in LUNA ID for Android only) |
No | Mouth estimation | The estimation predicts a mouth state of a person in the frame. For details, see: |
|
(in LUNA ID for Android only) (in LUNA ID for Android only) |
No | Offline OneShotLiveness estimation | Determines whether a person’s face is real or fake, for example, a photo or printed image. For details, see: |
Configuration options of the supported features are stored in the faceengine.conf file. The file is located in data/faceengine.conf in the current working directory.
Warning: We do not recommend that you change any configuration settings from default ones as these settings affect performance and output results of your application.
For more information about the settings stored in the faceengine.conf file, see: