Skip to main content
Version: 0.10.0

Type Alias: SemanticSegmenterModel<L>

SemanticSegmenterModel<L> = object

Defined in: extensions/cv/tasks/semanticSegmentation.ts:45

Model configuration required to instantiate a segmenter task runner.

Type Parameters​

L​

L

Properties​

modelOpts​

readonly modelOpts: SemanticSegmenterOptions<L>

Defined in: extensions/cv/tasks/semanticSegmentation.ts:53

Image preprocessing, output mask interpolation, and label vocabulary. resizeMode is fixed to 'stretch'. See SemanticSegmenterOptions.


modelPath​

readonly modelPath: string

Defined in: extensions/cv/tasks/semanticSegmentation.ts:47

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