Class BoundingBoxAnnotation
Bounding boxes for all of the labeled objects in a capture
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth
Syntax
[Serializable]
public class BoundingBoxAnnotation : Annotation, IMessageProducer
Constructors
BoundingBoxAnnotation(BoundingBoxDefinition, String, List<BoundingBox>)
Declaration
public BoundingBoxAnnotation(BoundingBoxDefinition def, string sensorId, List<BoundingBox> boxes)
Parameters
Type | Name | Description |
---|---|---|
BoundingBoxDefinition | def | |
String | sensorId | |
List<BoundingBox> | boxes |
Properties
boxes
The bounding boxes recorded by the annotator
Declaration
public List<BoundingBox> boxes { get; set; }
Property Value
Type | Description |
---|---|
List<BoundingBox> |
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 |