Skip to main content

Enumeration: SegmentCategory

Defined in: src/world/segmentation/SegmentationMask.ts:6

Per-pixel semantic categories emitted by the selfie multiclass segmentation model. Index 0 is the background; every other index is part of a person, so anything >= 1 can be treated as foreground.

Enumeration Members

Background

Background: 0

Defined in: src/world/segmentation/SegmentationMask.ts:7


BodySkin

BodySkin: 2

Defined in: src/world/segmentation/SegmentationMask.ts:9


Clothes

Clothes: 4

Defined in: src/world/segmentation/SegmentationMask.ts:11


FaceSkin

FaceSkin: 3

Defined in: src/world/segmentation/SegmentationMask.ts:10


Hair

Hair: 1

Defined in: src/world/segmentation/SegmentationMask.ts:8


Others

Others: 5

Defined in: src/world/segmentation/SegmentationMask.ts:12