MLKitTextRecognition Framework Reference
Classes
The following classes are available globally.
-
Common options for ML Kit Text Recognizer.
Declaration
Swift
class CommonTextRecognizerOptions : NSObject
-
A text recognizer that recognizes text in an image.
Declaration
Swift
class TextRecognizer : NSObject
-
Configurations for a text recognizer for Latin-based languages.
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-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[[["Three main classes are globally available: `CommonTextRecognizerOptions`, `TextRecognizer`, and `TextRecognizerOptions`."],["`CommonTextRecognizerOptions` provides shared settings for text recognition in ML Kit."],["`TextRecognizer` is the class responsible for identifying and extracting text from images."],["`TextRecognizerOptions` offers configuration options tailored for Latin-based languages, inheriting from `CommonTextRecognizerOptions`."]]],["The document outlines three globally available classes for ML Kit Text Recognition. `CommonTextRecognizerOptions` provides shared options. `TextRecognizer` is the class used to recognize text within an image. `TextRecognizerOptions` configures a text recognizer specifically for Latin-based languages and inherits from `CommonTextRecognizerOptions`. These classes are declared using Swift.\n"]]