forked from fangfufu/Linux-Fake-Background-Webcam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaults.env
17 lines (15 loc) · 832 Bytes
/
defaults.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# the input device (normally your webcam)
INPUT_DEVICE=/dev/video0
# the output device (normally the virtual device like v4l2loopback)
OUTPUT_DEVICE=/dev/video2
# path to the images (Note: these are relative to the file docker-compose-gpu.yml)
BACKGROUND_IMAGE_PATH=./fakecam/background.jpg
FOREGROUND_IMAGE_PATH=./fakecam/foreground.jpg
FOREGROUND_MASK_IMAGE_PATH=./fakecam/foreground-mask.png
# fake.py is automatically provided with the images and the bodypix-url
# here you can define all other needed options.
# Simple background image/video: --no-foreground
# blurred background: --no-foreground --no-background
# Higher-Scaling (in general: better resolution, but you will definitely want the GPU for that): --scale-factor 1
FAKE_PY_ADDITIONAL_OPTIONS_CPU="--no-foreground"
FAKE_PY_ADDITIONAL_OPTIONS_GPU="--no-foreground"