Volcomix / virtual-background

Demo on adding virtual background to a live video stream in the browser
https://volcomix.github.io/virtual-background
Apache License 2.0
489 stars 124 forks source link

Installing / adding to project #28

Open royherma opened 3 years ago

royherma commented 3 years ago

First of all @Volcomix , thanks for this awesome lib and demo!

My main questions are in terms of implementation - I've forked over the project and started integrating it with mine, as my end goal is to incorporate some of this BG removal functionality in my project.

I haven't had any experience with docker before, so my question is if its required to set up a docker project with the TFLite models in order to get this to work?

Also, in general - what would be the best way to integrate this into an existing project (vs cloning and running locally as a separate one).

Thanks!

Volcomix commented 3 years ago

Hi @royherma and thank you!

As of today there is no easy way to take a whole "pipeline", integrate it into an existing project and keep it in sync with this demo. At some point I was considering providing some features in an NPM package but I'm not sure how to provide an API which:

That being said, you could have different options depending on your needs:

I could be willing to reconsider providing an NPM package but I'll need some help to define what should go inside and the API.