Skip to main content
Version: 0.10.0-legacy

Interface: SemanticSegmentationProps<C>

Defined in: types/semanticSegmentation.ts:104

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

The model config containing modelName and modelSource.


preventLoad?​

optional preventLoad: boolean

Defined in: types/semanticSegmentation.ts:108

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