MLKitTextRecognitionCommon Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Classes
The following classes are available globally.
-
Common options for ML Kit Text Recognizer.
Declaration
Swift
class CommonTextRecognizerOptions : NSObject
-
Recognized text in an image.
Declaration
Swift
class Text : NSObject
-
A text block recognized in an image that consists of an array of text lines.
Declaration
Swift
class TextBlock : NSObject
-
A text element recognized in an image. A text element is a space-separated segment in a text
line (for example, a word in most Latin-script languages).
Declaration
Swift
class TextElement : NSObject
-
A text line recognized in an image that consists of an array of elements.
Declaration
Swift
class TextLine : NSObject
-
Detected language from text recognition.
Declaration
Swift
class TextRecognizedLanguage : NSObject
-
A text recognizer that recognizes text in an image.
Declaration
Swift
class TextRecognizer : NSObject
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["ML Kit Text Recognition provides classes for recognizing and structuring text within images."],["These classes enable access to recognized text, including elements, lines, blocks, and language identification."],["Developers can utilize the `TextRecognizer` class to process images and obtain recognized text data."],["The structured representation via `Text`, `TextBlock`, `TextLine`, and `TextElement` allows for detailed text analysis and manipulation."],["Common options for text recognition are available through `CommonTextRecognizerOptions`."]]],[]]