Builder of
FirebaseVisionOnDeviceImageLabelerOptions.
| FirebaseVisionCloudImageLabelerOptions |
build()
|
| FirebaseVisionCloudImageLabelerOptions.Builder |
enforceCertFingerprintMatch()
Only allow registered application instances with matching certificate
fingerprint to use Cloud Vision API.
|
| FirebaseVisionCloudImageLabelerOptions.Builder |
setConfidenceThreshold(float confidenceThreshold)
Sets confidence threshold of detected labels.
|
Only allow registered application instances with matching certificate fingerprint to use Cloud Vision API.
Do not set this for debug build if you use simulators to test.
Sets confidence threshold of detected labels. Only labels detected with confidence higher than this threshold are returned.
Default is 0.5.
| IllegalArgumentException | if the confidenceThreshold is out of the range [0.0f, 1.0f]. |
|---|