Options for cloud image labeler. 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.
Note: at most 20 labels will be returned for cloud image labeler.
Nested Class Summary
class | FirebaseVisionCloudImageLabelerOptions.Builder | Builder of
FirebaseVisionOnDeviceImageLabelerOptions . |
Public Method Summary
boolean | |
float |
getConfidenceThreshold()
Gets the confidence threshold of labels to be detected.
|
int |
hashCode()
|
boolean |
isEnforceCertFingerprintMatch()
Checks if Cloud Vision API can only be used by registered application instances
with matching certificate fingerprint.
|
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 ()
public boolean isEnforceCertFingerprintMatch ()
Checks if Cloud Vision API can only be used by registered application instances with matching certificate fingerprint.