Label

public struct Label : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Level of confidence.

    Declaration

    Swift

    public let confidence: Float?
  • If Label represents an object, Instances contains the bounding boxes for each instance of the detected object. Bounding boxes are returned for common object labels such as people, cars, furniture, apparel or pets.

    Declaration

    Swift

    public let instances: [Instance]?
  • The name (label) of the object or scene.

    Declaration

    Swift

    public let name: String?
  • The parent labels for a label. The response includes all ancestor labels.

    Declaration

    Swift

    public let parents: [Parent]?
  • Undocumented

    Declaration

    Swift

    public init(confidence: Float? = nil, instances: [Instance]? = nil, name: String? = nil, parents: [Parent]? = nil)