TrainingDataObject

public struct TrainingDataObject : Codable, Equatable

Details about the training data.

  • The name of the object.

    Declaration

    Swift

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

    Declaration

    Swift

    public var location: Location?
  • Initialize a TrainingDataObject with member variables.

    Declaration

    Swift

    public init(
        object: String? = nil,
        location: Location? = nil
    )

    Parameters

    object

    The name of the object.

    location

    Defines the location of the bounding box around the object.

    Return Value

    An initialized TrainingDataObject.