Luna Config
Class which describes operating parameters of the best shot.
Types
LunaConfig companion object.
Properties
If we accept faces with closed eyes as bestshot candidates true - face on bestshot could have both eyes closed false - bestshot guaranteed to have both eyes opened
When true: no checks for occluded faces will be performed and face with occluded mouth can make it into bestshot candidates
When true: Faces with one eye will make it into bestshot candidates
Time interval between take best shots for liveness.
Number of the best shots that need to be collected for liveness.
The threshold for estimating image blurriness
Check security.
The threshold for estimating image darkness
Minimal detect frame size.
The count of frames between frames with full detection, 0 .. 30.
When true: The estimation of eye status will be based on aggregated results.
Liveness similarity threshold.
Delay between face found and bestshot search start.
When true: The estimation of glasses status will be based on aggregated results.
list of checks for glasses
Delay between interactions
The threshold for estimating image lightness
Quality of the image sent to liveness. The value 0 represents the maximum compression.
Liveness quality.
Liveness type.
Minimum face size in pixels
Minimum detections count to consider track as real face.
When true: The FinishSuccessData object will return a list of best shots, the size of which is determined by the parameter bestShotsCount
Liveness error timeout.
When true: The FinishSuccessData object will contain a list of captured interaction frames. Each frame is saved at a specific stage of the interaction process, allowing detailed analysis and verification.
If there is no detection in estimated area, waiting this number of frames and stop the track 0 .. 50.
If the strictlyMinSize parameter is enabled (the value is equal to 1), all detections with a size (max of width/height ) smaller than minFaceSize (faceengine.conf) will be excluded from the final result. By default, this minFaceSize value is 50 pixels.
Security feature. If set to true, the flow will be performed on the primary face only.