FirebaseVisionCloudDetectorOptions

public class FirebaseVisionCloudDetectorOptions extends Object

Options for all cloud vision detectors (e.g. text, landmark, label).

Nested Class Summary

class FirebaseVisionCloudDetectorOptions.Builder Builder of FirebaseVisionCloudDetectorOptions
@interface FirebaseVisionCloudDetectorOptions.ModelType Model types for cloud vision APIs: STABLE_MODEL and LATEST_MODEL

Constant Summary

int LATEST_MODEL Latest model would be used.
int STABLE_MODEL Stable model would be used.

Field Summary

public static final FirebaseVisionCloudDetectorOptions DEFAULT Default options for Firebase vision cloud detector.

Public Method Summary

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

Inherited Method Summary

Constants

public static final int LATEST_MODEL

Latest model would be used.

Constant Value: 2

public static final int STABLE_MODEL

Stable model would be used.

Constant Value: 1

Fields

public static final FirebaseVisionCloudDetectorOptions DEFAULT

Default options for Firebase vision cloud detector. The max result size is 10, and the model is STABLE_MODEL.

Public Methods

public boolean equals (Object o)

public int getMaxResults ()

Gets maximum number of results to be detected.

public int getModelType ()

Gets the detector model type. It is either LATEST_MODEL or STABLE_MODEL.

public int hashCode ()