com.google.mlkit.vision.text

  • Language options are available for text recognition.

  • TextRecognizer is a client for performing OCR on input images to detect latin-based characters.

  • TextRecognizerOptionsInterface provides options for TextRecognizer.

  • The Text class offers a hierarchical representation of texts, including elements, lines, symbols, and text blocks.

  • TextRecognition is the entry point for performing OCR to detect latin-based characters.

Annotations

TextRecognizerOptionsInterface.LanguageOption The language options for text recognition.

Interfaces

TextRecognizer TextRecognition client for performing optical character recognition(OCR) on an input image to detect latin-based characters.
TextRecognizerOptionsInterface Interface for options for TextRecognizer .

Classes

Text A hierarchical representation of texts.
Text.Element Represents a space-separated segment in a line of text (for example, a word in most Latin languages).
Text.Line Represents a line of text.
Text.Symbol Represents a single symbol in an Text.Element .
Text.TextBlock A block of text (think of it as a paragraph) as deemed by the OCR engine.
TextRecognition Entry point for performing optical character recognition(OCR) on an input image to detect latin-based characters.

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.