Skip to main content
Version: 0.9.x

Type Alias: SemanticSegmentationConfig<T>

SemanticSegmentationConfig<T> = object

Defined in: types/semanticSegmentation.ts:13

Configuration for a custom semantic segmentation model.

Type Parameters​

T​

T extends LabelEnum

The LabelEnum type for the model.

Properties​

labelMap​

labelMap: T

Defined in: types/semanticSegmentation.ts:14

The enum-like object mapping class names to indices.


preprocessorConfig?​

optional preprocessorConfig: object

Defined in: types/semanticSegmentation.ts:15

Optional preprocessing parameters.

normMean?​

optional normMean: Triple<number>

normStd?​

optional normStd: Triple<number>