setEyeOpenProbability

public final Unit setEyeOpenProbability(Float eyeOpenProbability)

Option to set eye open probability while capturing.

Minimum eye open probability percentage, represented as a varue between 0.0 and 1.0. Default is 0.4. If a user is detected as closing one or both of their eyes, they will be prompted to open them.

Type: Float
nullable: false
example: 0.4f