MLKitTextRecognition Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Protocols
The following protocols are available globally.
-
A protocol for indicating images that are compatible with ML Kit.
Don’t implement this protocol yourself; instead, use MLImage
to create an MLKitCompatibleImage
.
Declaration
Swift
protocol
MLKitCompatibleImage
:
NSObjectProtocol
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."],[[["\u003cp\u003eThe \u003ccode\u003eMLKitCompatibleImage\u003c/code\u003e protocol is used to indicate images that are compatible with ML Kit.\u003c/p\u003e\n"],["\u003cp\u003eUsers should not directly implement this protocol but instead utilize \u003ccode\u003eMLImage\u003c/code\u003e to create an \u003ccode\u003eMLKitCompatibleImage\u003c/code\u003e instance.\u003c/p\u003e\n"]]],["The core content defines the `MLKitCompatibleImage` protocol, which signifies images compatible with ML Kit. Users are instructed not to implement this protocol directly. Instead, they should utilize `MLImage` to create an `MLKitCompatibleImage`. The protocol is available globally and is declared using Swift's `protocol` keyword, inheriting from `NSObjectProtocol`.\n"],null,["# MLKitTextRecognition Framework Reference\n\nProtocols\n=========\n\nThe following protocols are available globally.\n- `\n ``\n ``\n `\n\n ### [MLKitCompatibleImage](#/c:objc(pl)MLKCompatibleImage)\n\n `\n ` \n A protocol for indicating images that are compatible with ML Kit.\n\n Don't implement this protocol yourself; instead, use `MLImage` to create an\n `MLKitCompatibleImage`. \n\n #### Declaration\n\n Swift \n\n protocol MLKitCompatibleImage : NSObjectProtocol"]]