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
readonlymodelOpts: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
readonlymodelPath:string
Defined in: extensions/cv/tasks/semanticSegmentation.ts:47
Local path or remote URL of the .pte model file.