Skip to main content
Version: Next

Type Alias: SemanticSegmentationConfig<T>

SemanticSegmentationConfig<T> = object

Defined in: types/semanticSegmentation.ts:15

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

The enum-like object mapping class names to indices.


preprocessorConfig?

optional preprocessorConfig: object

Defined in: types/semanticSegmentation.ts:17

Optional preprocessing parameters.

normMean?

optional normMean: Triple<number>

normStd?

optional normStd: Triple<number>