/slowcam

a virtual green backdrop for OBS Studio that works on linux but is SLOOOOOW

Primary LanguageJavaScriptApache License 2.0Apache-2.0

SlowCam

SlowCam is a virtual green backdrop. It basically replaces every thing around you by green color. So that you can use the Chroma Key filter in OBS Studio to put yourself in any other video. SlowCam is powered by a machine learning technology called Tensorflow and its public model BodyPix.

I was unable to make it work fast enough with any amount of tweaking on Ryzen 5 3600 + RTX4070. Maybe with a different model it'll work faster.

Pros Utilizes GPU unlike many alternatives
Cons slow, hogs GPU and CPU resources

Temp graphs
image
image CPU temp image NVME temp image RTX 4070 temp

GPU utilization alone:
image

How to use

Follow steps below to setup:

Before you start: Check this will show you how even with RTX4070 it's lagging like hell

Install locally if it somehow runs fine for you:

$ npm install

I had node v21, so this popped out:
image

To fix that run:

$ npm audit fix --force

image

Nw just open in a browser:

$ chrome index.html

Slowcam is written in vanilla Javascript, you don't need to build/transpile any thing. Opening the index.html in your favorite browser is what makes it run.