Skip to main content
Version: Next

Interface: InstanceSegmentationProps<C>

Defined in: types/instanceSegmentation.ts:142

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:145

The model config containing modelName and modelSource.


preventLoad?

optional preventLoad: boolean

Defined in: types/instanceSegmentation.ts:146

Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.