docs.unity3d.com
    Show / Hide Table of Contents

    Segmentation Camera

    The segmentation camera provides ground truth labels for a scene.

    Segmentation camera

    Implementation details

    This camera generates a label value for each object in the scene, instead of an intensity/color image. This isn't used to model a real camera, but as a ground truth. For example, you can use this to train a machine learning algorithm that segments a scene into objects.

    Inputs

    Input Description
    ResolutionH Horizontal number of photocells on the photosensor array.
    ResolutionV Vertical number of photocells on the photosensor array.
    SensorSizeH Physical width of the photosensor array, in millimeters.
    SensorSizeV Physical height of the photosensor array, in millimeters.
    FramesPerSecond Number of captured frames per second.

    Outputs

    Output Description
    Frame A Unity's render texture resident on the GPU storing object labels.
    FieldOfView The field of view, driven by focal length and sensor size.
    OutTranscode Provides a context for executing sampling custom passes, which then passes through the GPU processing pipeline.
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023