Class BoundingBoxDefinition
The annotation definition of a bounding box labeler
Namespace: UnityEngine.Perception.GroundTruth
Syntax
public class BoundingBoxDefinition : AnnotationDefinition, IMessageProducer
Properties
description
The description of the annotation.
Declaration
public override string description { get; }
Property Value
| Type | Description |
|---|---|
| String |
Overrides
modelType
Declaration
public override string modelType { get; }
Property Value
| Type | Description |
|---|---|
| String |
Overrides
spec
The registered labels
Declaration
public IdLabelConfig.LabelEntrySpec[] spec { get; }
Property Value
| Type | Description |
|---|---|
| IdLabelConfig.LabelEntrySpec[] |
Methods
ToMessage(IMessageBuilder)
Convert contents int a message.
Declaration
public override void ToMessage(IMessageBuilder builder)
Parameters
| Type | Name | Description |
|---|---|---|
| IMessageBuilder | builder | The message builder that will convert the class's contents into a message |