Skip to main content
Version: Next

Function: typeGpuPersonSegmentation()

typeGpuPersonSegmentation(options): PersonSegmentationProvider

Defined in: segmentation/typegpu/index.ts:63

Experimental fixed-graph MediaPipe Selfie Segmentation provider. It encodes inference into the caller's command encoder and returns a GPU-only mask.

Parameters​

ParameterType
optionsTypeGpuPersonSegmentationOptions

Returns​

PersonSegmentationProvider