Skip to main content
Version: 0.10.0

Type Alias: InstanceSegmenterModel<F, L>

InstanceSegmenterModel<F, L> = object

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

Model configuration required to instantiate an instance segmenter task runner.

Type Parameters

F

F extends BoxFormat

The format type of the bounding box.

L

L

The label type.

Properties

modelOpts

readonly modelOpts: InstanceSegmenterOptions<F, L>

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

Image preprocessing, label vocabulary, bounding box format, and default NMS/mask/confidence thresholds. See InstanceSegmenterOptions.


modelPath

readonly modelPath: string

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

Local path or remote URL of the .pte model file.