Skip to main content

FacePresenceLevel

public enum FacePresenceLevel

package com.onekosmos.blockid.sdk.cameramodule.liveID


An enum to determine the degree to which parameters are enforced for face detection within the mobile SDK. In cases where a face is not detected, the onFaceFocusChanged callback method of ILiveIDResponseListener will signal an error with the message "Face is not found'.

Enum constants

ConstantDescription
LOWNon-restrictive:
- Accepts minimal visibility of left and right eyes.
- Accepts minimal to no smile.
- Accepts maximum degree of face tilt.
MEDIUMLess restrictive:
- Both left and right eyes must be open and visible.
- A slight smile is required.
- Allows for a slight face tilt.
HIGHHighly restrictive:
- Both left and right eyes must be wide open.
- A big smile is mandatory.
- Minimal to no facial tilt is permitted.