ObjectDetail

public struct ObjectDetail : Codable, Equatable

Details about an object in the collection.

  • The label for the object.

    Declaration

    Swift

    public var object: String
  • Defines the location of the bounding box around the object.

    Declaration

    Swift

    public var location: ObjectDetailLocation
  • Confidence score for the object in the range of 0 to 1. A higher score indicates greater likelihood that the object is depicted at this location in the image.

    Declaration

    Swift

    public var score: Double