MLKitObjectDetectionCommon Framework Reference

  • MLKCompatibleImage protocol is used to signal images compatible with ML Kit.

  • Developers should utilize MLImage to generate an MLKitCompatibleImage instead of manually implementing the protocol.

  • The protocol acts as an indicator for image compatibility within the ML Kit framework.

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>