FirebaseVisionCloudImageLabelerOptions
Stay organized with collections
Save and categorize content based on your preferences.
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.
Public Method Summary
boolean |
|
float |
|
int |
|
boolean |
isEnforceCertFingerprintMatch()
Checks if Cloud Vision API can only be used by registered application instances
with matching certificate fingerprint.
|
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public boolean equals (Object o)
public float getConfidenceThreshold ()
Gets the confidence threshold of labels to be detected.
public boolean isEnforceCertFingerprintMatch ()
Checks if Cloud Vision API can only be used by registered application instances with
matching certificate fingerprint.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-08-08 UTC.
[null,null,["Last updated 2020-08-08 UTC."],[],[],null,["# FirebaseVisionCloudImageLabelerOptions\n\npublic class **FirebaseVisionCloudImageLabelerOptions** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nOptions for cloud image labeler. Confidence threshold could be provided for the label\ndetection.\n\nFor example, if the confidence threshold is set to 0.7, only labels with confidence \\\u003e=\n0.7 would be returned. The default threshold is 0.5.\n\nNote: at most 20 labels will be returned for cloud image labeler. \n\n### Nested Class Summary\n\n|-------|---|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| class | [FirebaseVisionCloudImageLabelerOptions.Builder](/docs/reference/android/com/google/firebase/ml/vision/label/FirebaseVisionCloudImageLabelerOptions.Builder) || Builder of [FirebaseVisionOnDeviceImageLabelerOptions](/docs/reference/android/com/google/firebase/ml/vision/label/FirebaseVisionOnDeviceImageLabelerOptions). |\n\n### Public Method Summary\n\n|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| boolean | [equals](/docs/reference/android/com/google/firebase/ml/vision/label/FirebaseVisionCloudImageLabelerOptions#equals(java.lang.Object))([Object](//developer.android.com/reference/java/lang/Object.html) o) |\n| float | [getConfidenceThreshold](/docs/reference/android/com/google/firebase/ml/vision/label/FirebaseVisionCloudImageLabelerOptions#getConfidenceThreshold())() Gets the confidence threshold of labels to be detected. |\n| int | [hashCode](/docs/reference/android/com/google/firebase/ml/vision/label/FirebaseVisionCloudImageLabelerOptions#hashCode())() |\n| boolean | [isEnforceCertFingerprintMatch](/docs/reference/android/com/google/firebase/ml/vision/label/FirebaseVisionCloudImageLabelerOptions#isEnforceCertFingerprintMatch())() Checks if Cloud Vision API can only be used by registered application instances with matching certificate fingerprint. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public boolean **equals** ([Object](//developer.android.com/reference/java/lang/Object.html) o)\n\n#### public float **getConfidenceThreshold** ()\n\nGets the confidence threshold of labels to be detected. \n\n#### public int **hashCode** ()\n\n#### public boolean **isEnforceCertFingerprintMatch** ()\n\nChecks if Cloud Vision API can only be used by registered application instances with\nmatching certificate fingerprint."]]