Table of Contents

Class InstanceSegmentationOptions<T>

Options for instance segmentation models.

public class InstanceSegmentationOptions<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
InstanceSegmentationOptions<T>
Inherited Members

Properties

Architecture

Architecture to use for instance segmentation.

public InstanceSegmentationArchitecture Architecture { get; set; }

Property Value

InstanceSegmentationArchitecture

ConfidenceThreshold

Confidence threshold for detection.

public T ConfidenceThreshold { get; set; }

Property Value

T

InputSize

Input image size [height, width].

public int[] InputSize { get; set; }

Property Value

int[]

MaskResolution

Mask resolution (output mask size).

public int MaskResolution { get; set; }

Property Value

int

MaskThreshold

Mask threshold for binarization.

public T MaskThreshold { get; set; }

Property Value

T

MaxDetections

Maximum number of detections per image.

public int MaxDetections { get; set; }

Property Value

int

NmsThreshold

NMS threshold for suppression.

public T NmsThreshold { get; set; }

Property Value

T

NumClasses

Number of classes to detect.

public int NumClasses { get; set; }

Property Value

int

UsePretrained

Whether to use pretrained weights.

public bool UsePretrained { get; set; }

Property Value

bool

WeightsUrl

URL for pretrained weights.

public string? WeightsUrl { get; set; }

Property Value

string