FirebaseVisionCloudTextRecognizerOptions

public class FirebaseVisionCloudTextRecognizerOptions extends Object

Represents the cloud text recognizer options.

Nested Class Summary

Constant Summary

int DENSE_MODEL Dense model type.
int SPARSE_MODEL Sparse model type.

Public Method Summary

boolean
List<String>
getHintedLanguages()
Gets the hinted language list in the options.
int
getModelType()
Gets the cloud model type in the options.
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 DENSE_MODEL

Dense model type. It is more suitable for well-formatted dense text.

Constant Value: 2

public static final int SPARSE_MODEL

Sparse model type. It is more suitable for sparse text.

Constant Value: 1

Public Methods

public boolean equals (Object o)

public List<String> getHintedLanguages ()

Gets the hinted language list in the options.

public int getModelType ()

Gets the cloud model type in the options.

Default is SPARSE_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 Aug 8, 2020

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

Updated Aug 14, 2020