FirebaseVisionCloudDetectorOptions

public class FirebaseVisionCloudDetectorOptions extends Object

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

Nested Class Summary

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

Object
clone()
boolean
equals(Object arg0)
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()

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 ()

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Sep 20, 2024

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Sep 20, 2024

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Dec 3, 2019