mirror of
https://github.com/jech/galene.git
synced 2024-12-22 15:25:48 +01:00
Document installation of MediaPipe.
This commit is contained in:
parent
5bb54803dc
commit
801e10c824
1 changed files with 21 additions and 0 deletions
21
INSTALL
21
INSTALL
|
@ -29,6 +29,27 @@ You may use the following definition:
|
||||||
See the README file for more details about defining groups.
|
See the README file for more details about defining groups.
|
||||||
|
|
||||||
|
|
||||||
|
## Optional: install libraries for background blur
|
||||||
|
|
||||||
|
Galene's client uses Google's MediaPipe library to implement background
|
||||||
|
blur. This library is optional, and if it is absent, Galene will
|
||||||
|
disable the menu entries for background blur.
|
||||||
|
|
||||||
|
Optionally install Google's MediaPipe library:
|
||||||
|
```
|
||||||
|
mkdir mediapipe
|
||||||
|
npm pack @mediapipe/tasks-vision
|
||||||
|
tar xzf mediapipe-tasks-vision-*.tgz
|
||||||
|
rm -f ../static/third-party/tasks-vision
|
||||||
|
mv package ../static/third-party/tasks-vision
|
||||||
|
cd ../static/third-party/tasks-vision
|
||||||
|
mkdir models
|
||||||
|
cd models
|
||||||
|
wget wget https://storage.googleapis.com/mediapipe-models/image_segmenter/selfie_segmenter/float16/latest/selfie_segmenter.tflite
|
||||||
|
cd ../../../../
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Test locally
|
## Test locally
|
||||||
|
|
||||||
./galene &
|
./galene &
|
||||||
|
|
Loading…
Reference in a new issue