FirebaseVisionLabelDetectorOptions

public class FirebaseVisionLabelDetectorOptions extends Object

Options for Label detector. Confidence threshold could be provided for the label detection.

For example, if the confidence threshold is set to 0.7, only labels with confidence >= 0.7 would be returned. The default threshold is 0.5.

Nested Class Summary

class FirebaseVisionLabelDetectorOptions.Builder Builder of FirebaseVisionLabelDetectorOptions

Public Method Summary

boolean
float
getConfidenceThreshold()
Gets the confidence threshold of labels to be detected.
int

Inherited Method Summary

Public Methods

public boolean equals (Object o)

public float getConfidenceThreshold ()

Gets the confidence threshold of labels to be detected.

public int hashCode ()

Send feedback about...

Need help? Visit our support page.