Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Roshan Pulapura 09441c2632
feat(virtual-backgrounds) use new Open Source model
4 лет назад
..
models feat(virtual-backgrounds) use new Open Source model 4 лет назад
tflite feat(virtual-backgrounds) add virtual background support 4 лет назад
README.md feat(virtual-backgrounds) use new Open Source model 4 лет назад

README.md

Virtual Background on stream effects

From https://google.github.io/mediapipe/solutions/models.html#selfie-segmentation

Canvas 2D + CPU

This rendering pipeline is pretty much the same as for BodyPix. It relies on Canvas compositing properties to blend rendering layers according to the segmentation mask.

Interactions with TFLite inference tool are executed on CPU to convert from UInt8 to Float32 for the model input and to apply softmax on the model output.

The framerate is higher and the quality looks better than BodyPix

SIMD and non-SIMD

How to test on SIMD:

  1. Go to chrome://flags/
  2. Search for SIMD flag
  3. Enable WebAssembly SIMD support(Enables support for the WebAssembly SIMD proposal).
  4. Reopen Google Chrome

More details: