Mobile SDKs18 pages

setLabelsConfidenceThreshold

← Browse native SDK reference

IDentity-SDK/com.idmission.sdk2.client.model/SelfieCaptureOptions/setLabelsConfidenceThreshold

setLabelsConfidenceThreshold

public final Unit setLabelsConfidenceThreshold(Float labelsConfidenceThreshold)

Option to set label confidence threshold.

Hat and glasses detection confidence threshold, represented as a varue between 0.0 and 1.0. Default is 0.79. If a user is detected as wearing a hat or glasses, they will be prompted to remove them.

Type: Float
nullable: false
example: 0.79f

Report a docs issue

Copy this context into your team’s issue tracker or an email to support@idmission.com.