# TextRecognizerOptions

public class **TextRecognizerOptions** extends [Object](https://developer.android.com/reference/java/lang/Object.html)  
implements [TextRecognizerOptionsInterface](https://developers.google.com/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface) Options for the text recognizer which only has latin model.

### Nested Class Summary

|---|---|---|---|
| class | [TextRecognizerOptions.Builder](https://developers.google.com/android/reference/com/google/mlkit/vision/text/latin/TextRecognizerOptions.Builder) || Builder for `https://developers.google.com/android/reference/com/google/mlkit/vision/text/latin/TextRecognizerOptions` instances. |

### Inherited Constant Summary

From interface [com.google.mlkit.vision.text.TextRecognizerOptionsInterface](https://developers.google.com/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface)

|---|---|---|
| int | [LATIN](https://developers.google.com/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface#LATIN) |   |
| int | [LATIN_AND_CHINESE](https://developers.google.com/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface#LATIN_AND_CHINESE) |   |
| int | [LATIN_AND_DEVANAGARI](https://developers.google.com/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface#LATIN_AND_DEVANAGARI) |   |
| int | [LATIN_AND_JAPANESE](https://developers.google.com/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface#LATIN_AND_JAPANESE) |   |
| int | [LATIN_AND_KOREAN](https://developers.google.com/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface#LATIN_AND_KOREAN) |   |

### Field Summary

|---|---|---|
| public static final [TextRecognizerOptions](https://developers.google.com/android/reference/com/google/mlkit/vision/text/latin/TextRecognizerOptions) | [DEFAULT_OPTIONS](https://developers.google.com/android/reference/com/google/mlkit/vision/text/latin/TextRecognizerOptions#DEFAULT_OPTIONS) | Default option using the default executor. |

### Public Method Summary

|---|---|
| boolean | [equals](https://developers.google.com/android/reference/com/google/mlkit/vision/text/latin/TextRecognizerOptions#equals(java.lang.Object))([Object](https://developer.android.com/reference/java/lang/Object.html) o) Indicates whether some other object is "equal to" this one. |
| int | [hashCode](https://developers.google.com/android/reference/com/google/mlkit/vision/text/latin/TextRecognizerOptions#hashCode())() Returns a hash code value for the object. |

### Inherited Method Summary

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## Fields

#### public static final TextRecognizerOptions **DEFAULT_OPTIONS**

Default option using the default executor.

## Public Methods

#### public boolean **equals** ([Object](https://developer.android.com/reference/java/lang/Object.html) o)

Indicates whether some other object is "equal to" this one.

#### public int **hashCode** ()

Returns a hash code value for the object.