VisionLabelDetector

class VisionLabelDetector : NSObject

A label detector that detects labels in an image.

  • Unavailable. Use Vision factory methods.

  • Detects labels in a given image.

    Declaration

    Swift

    func detect(in image: FIRVisionImage, completion: @escaping VisionLabelDetectionCallback)

    Parameters

    image

    The image to use for detecting labels.

    completion

    Handler to call back on the main queue with labels detected or error.