docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BoundingBoxAnnotation

    Bounding boxes for all of the labeled objects in a capture

    Inheritance
    object
    DataModelElement
    Annotation
    BoundingBoxAnnotation
    Implements
    IMessageProducer
    Inherited Members
    Annotation.m_Definition
    Annotation.annotationId
    Annotation.modelType
    Annotation.description
    Annotation.sensorId
    Annotation.IsValid()
    DataModelElement.id
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    Overrides
    Annotation.ToMessage(IMessageBuilder)

    Implements

    IMessageProducer
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)