Interface: InstanceSegmentationProps<C>
Defined in: types/instanceSegmentation.ts:140
Props for the useInstanceSegmentation hook.
Type Parameters
C
C extends InstanceSegmentationModelSources
A InstanceSegmentationModelSources config specifying which built-in model to load.
Properties
model
model:
C
Defined in: types/instanceSegmentation.ts:143
The model config containing modelName and modelSource.
preventLoad?
optionalpreventLoad:boolean
Defined in: types/instanceSegmentation.ts:144
Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.