Closed benbro closed 3 years ago
you basically just use a virtual (fake) webcam in the browser app, the background replacement reads a real webcam and feeds the virtual one, all outside of the browser task/thread/process
I have attempted to try tfjs, but it is very slow and not usable. ONNX.js straight up can't be converted.
@PeterL1n can you please share your tfjs code and model? The Google Meet model is fast in the browser so we could probably make BackgroundMattingV2 model fast too.
Export yourself using the TensorFlow Implementation: https://github.com/PeterL1n/BackgroundMattingV2-TensorFlow
Thanks
Is it possible to use it in a browser for real-time video background replacement? Are there instructions? Something like: https://ai.googleblog.com/2020/10/background-features-in-google-meet.html