Class BoundingBoxAnnotation
Bounding boxes for all of the labeled objects in a capture
Implements
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth.Labelers
Assembly: Unity.Perception.Runtime.dll
Syntax
[Serializable]
[MovedFrom("UnityEngine.Perception.GroundTruth")]
public class BoundingBoxAnnotation : Annotation, IMessageProducer
Constructors
BoundingBoxAnnotation(BoundingBoxDefinition, string, List<BoundingBox>)
Constructs a new BoundingBoxAnnotation.
Declaration
public BoundingBoxAnnotation(BoundingBoxDefinition def, string sensorId, List<BoundingBox> boxes)
Parameters
Type | Name | Description |
---|---|---|
BoundingBoxDefinition | def | The bounding box annotation definition. |
string | sensorId | The sensor id. |
List<BoundingBox> | boxes | The list of captured bounding 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 |