Skip to content

Getting the best shot with faces with closed eyes#

Important: This topic applies to LUNA ID for Android.

In LUNA ID, you can define whether images with faces with closed eyes can be considered best shots.

To do this, you the acceptEyesClosed parameter. The parameter has the following values:

Value Description
true Specifies that frames that contain faces with closed eyes can be best shots.
false Default. Specifies that frames that contain faces with closed eyes cannot be best shots.

Consider an example below:

LunaConfig.create(
acceptEyesClosed = false,
)