MLKitVision 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
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.
[null,null,["Last updated 2024-07-10 UTC."],[[["The `MLKitCompatibleImage` protocol signifies images compatible with ML Kit for use in various machine learning tasks."],["Developers should utilize the `MLImage` class to create instances of `MLKitCompatibleImage` instead of implementing the protocol directly."]]],[]]