summarylogtreecommitdiffstats
path: root/config.ini
blob: a6ed6fea24533616c297f710869f7de90c302504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# https://pypi.org/project/ConfigArgParse/

#Set real webcam width
#width=1280

#Set real webcam height
#height=720

#Set real webcam FPS
#fps=30

#Set real webcam codec
#codec='MJPG'

#Set real webcam path
#webcam-path="/dev/video0"

#V4l2loopback device path
#v4l2loopback-path="/dev/video2"

#Disable background image and blur the real background
#no-background=true

#Background image path, animated background is supported.
#background-image=background.jpg
background-image=/var/lib/lfbw/default/background.jpg

#Tile the background image
#tile-background=true

#The gaussian bluring kernel size in pixels
#background-blur=21

#The fraction of the kernel size to use for the sigma value (ie. sigma = k / frac)
#background-blur-sigma-frac=3

#Crop background if needed to maintain aspect ratio
#background-keep-aspect=true

#Disable foreground image
#no-foreground=true

#Foreground image path
foreground-image=/var/lib/lfbw/default/foreground.jpg

#Foreground mask image pat
foreground-mask-image=/var/lib/lfbw/default/foreground-mask.png

#Add a hologram effect
#hologram=true

#Continue processing when there is no application using the virtual webcam
#no-ondemand=true

#The running average percentage for background mask updates
#background-mask-update-speed=50

#Force the mask to follow a sigmoid distribution
#use-sigmoid=true

#The minimum percentage threshold for accepting a pixel as foreground
#threshold=75

#Disable postprocessing (masking dilation and blurring)
#no-postprocess=false

#Select the model for MediaPipe. For more information, please refer to https://github.com/fangfufu/Linux-Fake-Background-Webcam/issues/135#issuecomment-883361294
#select-model=1

#Apply colour map to the person using cmapy. For examples, please refer to https://gitlab.com/cvejarano-oss/cmapy/blob/master/docs/colorize_all_examples.md
#cmap-person=

#Apply colour map to background using cmapy
#cmap-bg=