MLKitVision Framework Reference

  • 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.

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