docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor NonMaxSuppression

    NonMaxSuppression(string, string, string, string, string, string, CenterPointBox)

    Initializes and returns an instance of NonMaxSuppression object detection layer.

    Declaration
    public NonMaxSuppression(string name, string boxes, string scores, string maxOutputBoxesPerClass = null, string iouThreshold = null, string scoreThreshold = null, CenterPointBox centerPointBox = CenterPointBox.Corners)
    Parameters
    Type Name Description
    string name

    The name to use for the output tensor of the layer.

    string boxes

    The name to use for the boxes tensor of the layer.

    string scores

    The name to use for the scores tensor of the layer.

    string maxOutputBoxesPerClass

    The name to use for an optional scalar tensor, with the maximum number of boxes to return for each class.

    string iouThreshold

    The name to use for optional scalar tensor, with the threshold above which the intersect-over-union rejects a box.

    string scoreThreshold

    The name to use for an optional scalar tensor, with the threshold below which the box score filters a box from the output.

    CenterPointBox centerPointBox

    The format the boxes tensor uses to store the box data as a CenterPointBox. The default value is CenterPointBox.Corners.

    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)