TextRecognizerOptionsInterface
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Constants
public static final int
LATIN
public static final int
LATIN_AND_CHINESE
public static final int
LATIN_AND_DEVANAGARI
public static final int
LATIN_AND_JAPANESE
public static final int
LATIN_AND_KOREAN
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eTextRecognizerOptionsInterface\u003c/code\u003e defines options for the \u003ccode\u003eTextRecognizer\u003c/code\u003e, used for text recognition tasks.\u003c/p\u003e\n"],["\u003cp\u003eIt offers various language options, including Latin and combinations with Chinese, Devanagari, Japanese, and Korean.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this interface to customize the text recognition process by specifying the desired language(s).\u003c/p\u003e\n"],["\u003cp\u003eConstants such as \u003ccode\u003eLATIN\u003c/code\u003e, \u003ccode\u003eLATIN_AND_CHINESE\u003c/code\u003e, etc., represent the supported language options.\u003c/p\u003e\n"]]],[],null,["# TextRecognizerOptionsInterface\n\npublic interface **TextRecognizerOptionsInterface** \n\n|---|---|---|\n| Known Indirect Subclasses [TextRecognizerOptions](/android/reference/com/google/mlkit/vision/text/latin/TextRecognizerOptions) |------------------------------------------------------------------------------------------------------|-------------------------------------------------------------| | [TextRecognizerOptions](/android/reference/com/google/mlkit/vision/text/latin/TextRecognizerOptions) | Options for the text recognizer which only has latin model. | |||\n\nInterface for options for [TextRecognizer](/android/reference/com/google/mlkit/vision/text/TextRecognizer). \n\n### Nested Class Summary\n\n|------------|---|---|--------------------------------------------|\n| @interface | [TextRecognizerOptionsInterface.LanguageOption](/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface.LanguageOption) || The language options for text recognition. |\n\n### Constant Summary\n\n|-----|-----------------------------------------------------------------------------------------------------------------------------|---|\n| int | [LATIN](/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface#LATIN) | |\n| int | [LATIN_AND_CHINESE](/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface#LATIN_AND_CHINESE) | |\n| int | [LATIN_AND_DEVANAGARI](/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface#LATIN_AND_DEVANAGARI) | |\n| int | [LATIN_AND_JAPANESE](/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface#LATIN_AND_JAPANESE) | |\n| int | [LATIN_AND_KOREAN](/android/reference/com/google/mlkit/vision/text/TextRecognizerOptionsInterface#LATIN_AND_KOREAN) | |\n\nConstants\n---------\n\n#### public static final int\n**LATIN**\n\nConstant Value: 1 \n\n#### public static final int\n**LATIN_AND_CHINESE**\n\nConstant Value: 2 \n\n#### public static final int\n**LATIN_AND_DEVANAGARI**\n\nConstant Value: 3 \n\n#### public static final int\n**LATIN_AND_JAPANESE**\n\nConstant Value: 4 \n\n#### public static final int\n**LATIN_AND_KOREAN**\n\nConstant Value: 5"]]