TextRecognizerOptionsInterface

  • TextRecognizerOptionsInterface is an interface for options for TextRecognizer.

  • TextRecognizerOptions is a known indirect subclass of TextRecognizerOptionsInterface, providing options specifically for the Latin text model.

  • The interface includes a nested class called LanguageOption which defines language options for text recognition.

  • Several constants are defined within the interface representing different language combinations for text recognition, such as LATIN, LATIN_AND_CHINESE, LATIN_AND_DEVANAGARI, LATIN_AND_JAPANESE, and LATIN_AND_KOREAN.

public interface TextRecognizerOptionsInterface
Known Indirect Subclasses
TextRecognizerOptions Options for the text recognizer which only has latin model.

Interface for options for TextRecognizer .

Nested Class Summary

@interface TextRecognizerOptionsInterface.LanguageOption The language options for text recognition.

Constant Summary

int LATIN

Constants

public static final int LATIN

Constant Value: 1

public static final int LATIN_AND_CHINESE

Constant Value: 2

public static final int LATIN_AND_DEVANAGARI

Constant Value: 3

public static final int LATIN_AND_JAPANESE

Constant Value: 4

public static final int LATIN_AND_KOREAN

Constant Value: 5

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.