MLKitTextRecognitionCommon Framework Reference
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
Objective-C
@protocol MLKCompatibleImage <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.
[null,null,["Last updated 2024-07-10 UTC."],[[["The `MLKCompatibleImage` protocol signifies images compatible with ML Kit, and developers should utilize `MLImage` for creation instead of direct implementation."],["Developers should not directly implement the `MLKCompatibleImage` protocol but rather use `MLImage` to create compatible images."]]],["The `MLKCompatibleImage` protocol indicates images compatible with ML Kit. It should not be implemented directly. Instead, users should utilize `MLImage` to generate an `MLKitCompatibleImage`. This protocol, declared in Objective-C as `@protocol MLKCompatibleImage \u003cNSObject\u003e`, is globally available and serves as a marker for ML Kit-ready images.\n"]]