UNPKG

@virtualscenery/greenscreenstream

Version:

Genereate new MediaStreams or Canvas elements based on MediaStreams (webcam) with any background image/video. Greenscreen your webcam and enable virtual backgrounds in your web applications.

14 lines 518 B
/** * Enumeration representing the available modes for BodyPix processing. * * - `Fast`: Optimized for speed, providing quicker results with lower accuracy. * - `Standard`: Balanced mode offering a compromise between speed and accuracy. * - `Precise`: Prioritizes accuracy over speed, suitable for more detailed segmentation. * - `Maximum`: Uses the highest level of precision, potentially at the cost of performance. */ export enum BodyPixMode { Fast, Standard, Precise, Maximum }