Contents

extractLabels(from:)

Extracts all the labels from a list of annotations.

Declaration

static func extractLabels(from annotations: [ObjectDetectionAnnotation<Label>]) -> Set<Label>

Parameters

  • annotations:

    A list of annotations.

Return Value

A set of all the labels present in the annotations.