4 ms·
How do you do the background? Are you using the bodypix tensorflow library? Because in my tests it had been horrible slow and very inaccurate depending on light
by tpetry 6y ago
How do you do the background? Are you using the bodypix tensorflow library? Because in my tests it had been horrible slow and very inaccurate depending on lighting,
- perenzo 6y agoThat's correct, I use https://github.com/tensorflow/tfjs-models/tree/master/body-pix#bodypixdrawbokeheffect https://github.com/tensorflow/tfjs-models/tree/master/body-p... It is indeed slow. The video signal first is drawn to a canvas and then from there streamed as a video again. Some browsers perform better than others. Probably due to WASM support, but I did not dig deeper here. The "pro" though is it all happens on the client in the browser.