Skip to main content
Version: 0.10.0

Type Alias: SegmentInstancesOptions

SegmentInstancesOptions = object

Defined in: extensions/cv/tasks/instanceSegmentation.ts:74

Optional configuration parameters for instance segmentation inference.

Properties​

confidenceThreshold?​

readonly optional confidenceThreshold: number

Defined in: extensions/cv/tasks/instanceSegmentation.ts:79

Minimum confidence threshold. If omitted, uses InstanceSegmenterOptions.defaultConfidenceThreshold.


iouThreshold?​

readonly optional iouThreshold: number

Defined in: extensions/cv/tasks/instanceSegmentation.ts:84

Intersection over Union (IoU) threshold in NMS. If omitted, uses InstanceSegmenterOptions.defaultIouThreshold.


maskThreshold?​

readonly optional maskThreshold: number

Defined in: extensions/cv/tasks/instanceSegmentation.ts:89

Mask binarization probability threshold. If omitted, uses InstanceSegmenterOptions.defaultMaskThreshold.