public class FirebaseVisionCloudTextRecognizerOptions extends Object
Represents the cloud text recognizer options.
Nested Class Summary
class | FirebaseVisionCloudTextRecognizerOptions.Builder | Builder of
FirebaseVisionCloudTextRecognizerOptions . |
|
@interface | FirebaseVisionCloudTextRecognizerOptions.CloudTextModelType | Cloud model types for text recognition. |
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 |
hashCode()
|
Inherited Method Summary
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 int getModelType ()
Gets the cloud model type in the options.
Default is
SPARSE_MODEL