docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InstanceSegmentationLabeler

    Produces instance segmentation for each frame.

    Inheritance
    object
    CameraLabeler
    InstanceSegmentationLabeler
    Implements
    IOverlayPanelProvider
    Inherited Members
    CameraLabeler.enabled
    CameraLabeler.hudPanel
    CameraLabeler.overlayPanel
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: UnityEngine.Perception.GroundTruth
    Assembly: solution.dll
    Syntax
    [Serializable]
    public sealed class InstanceSegmentationLabeler : CameraLabeler, IOverlayPanelProvider

    Constructors

    Name Description
    InstanceSegmentationLabeler()

    Creates a new InstanceSegmentationLabeler. Be sure to assign idLabelConfig before adding to a PerceptionCamera.

    InstanceSegmentationLabeler(IdLabelConfig)

    Creates a new InstanceSegmentationLabeler with the given IdLabelConfig.

    Fields

    Name Description
    annotationId

    The GUID to associate with annotations produced by this labeler.

    idLabelConfig

    The idLabelConfig which associates objects with labels.

    Properties

    Name Description
    description

    A human-readable description of the labeler

    label

    Interface that should be defined by a class that wants to be able to provide a image to the overlay panel.

    overlayImage

    Interface that should be defined by a class that wants to be able to provide a image to the overlay panel.

    supportsVisualization

    Labelers should set this in their setup to define if they support realtime visualization of their data.

    Methods

    Name Description
    OnBeginRendering()

    Called just before the camera renders each frame the the labeler is enabled and ShouldCaptureThisFrame is true.

    Setup()

    Called just before the first call to OnUpdate() or OnBeginRendering(). Implement this to initialize state.

    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)