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