Interface: SemanticSegmentationProps<C>
Defined in: types/semanticSegmentation.ts:113
Props for the useSemanticSegmentation hook.
Type Parameters
C
C extends SemanticSegmentationModelSources
A SemanticSegmentationModelSources config specifying which built-in model to load.
Properties
model
model:
C
Defined in: types/semanticSegmentation.ts:116
The model config containing modelName and modelSource.
preventLoad?
optionalpreventLoad:boolean
Defined in: types/semanticSegmentation.ts:117
Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.