MLKitFaceDetection Framework Reference

  • MLKCompatibleImage is a protocol used to indicate if images are compatible with ML Kit.

  • Developers should use MLImage to create an MLKitCompatibleImage, rather than implementing the protocol themselves.

  • The protocol ensures that images can be utilized within the ML Kit framework for machine learning tasks.

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>