FirebaseVisionCloudTextRecognizerOptions

public class FirebaseVisionCloudTextRecognizerOptions extends Object

Represents the cloud text recognizer options.

Nested Class Summary

class FirebaseVisionCloudTextRecognizerOptions.BuilderBuilder of FirebaseVisionCloudTextRecognizerOptions
@interface FirebaseVisionCloudTextRecognizerOptions.CloudTextModelTypeCloud model types for text recognition. 

Constant Summary

int DENSE_MODELDense model type.
int SPARSE_MODELSparse 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

Constants

public static final intDENSE_MODEL

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

Constant Value:2

public static final intSPARSE_MODEL

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

Constant Value:1

Public Methods

public booleanequals(Object o)

public List<String>getHintedLanguages()

Gets the hinted language list in the options.

public intgetModelType()

Gets the cloud model type in the options.

Default is SPARSE_MODEL

public inthashCode()