Options for all cloud vision detectors (e.g. text, landmark, label).
| class | FirebaseVisionCloudDetectorOptions.Builder | Builder of
FirebaseVisionCloudDetectorOptions. |
|
| @interface | FirebaseVisionCloudDetectorOptions.ModelType | Model types for cloud vision APIs:
STABLE_MODEL and
LATEST_MODEL. |
|
| int | LATEST_MODEL | Latest model would be used. |
| int | STABLE_MODEL | Stable model would be used. |
| public static final FirebaseVisionCloudDetectorOptions | DEFAULT | Default options for Firebase vision cloud detector. |
| FirebaseVisionCloudDetectorOptions.Builder |
builder()
Creates a new builder for
FirebaseVisionCloudDetectorOptions.
|
| boolean | |
| int |
getMaxResults()
Gets maximum number of results to be detected.
|
| int |
getModelType()
Gets the detector model type.
|
| int |
hashCode()
|
Latest model would be used.
Stable model would be used.
Default options for Firebase vision cloud detector. The max result size is 10, and
the model is
STABLE_MODEL.
Creates a new builder for
FirebaseVisionCloudDetectorOptions.
Gets maximum number of results to be detected.
Gets the detector model type. It is either
LATEST_MODEL or
STABLE_MODEL.