MLKitImageLabelingCommon Framework Reference

Stay organized with collections Save and categorize content based on your preferences.

Type Definitions

The following type definitions are available globally.

  • A block containing an array of label results or nil if there’s an error.

    Declaration

    Swift

    typealias ImageLabelingCallback = ([MLKImageLabel]?, Error?) -> Void

    Parameters

    labels

    Array of label results in the image or nil if there was an error.

    error

    The error or nil.