Package Details: linux-fake-background-webcam-opt-git r131.4fbb74b-2

Git Clone URL: https://aur.archlinux.org/linux-fake-background-webcam-opt-git.git (read-only, click to copy)
Package Base: linux-fake-background-webcam-opt-git
Description: Utility for replacing the background of a webcam for video conferencing. Installs dependencies to /opt/.
Upstream URL: https://github.com/fangfufu/Linux-Fake-Background-Webcam
Licenses: GPL3
Submitter: CodingKoopa
Maintainer: CodingKoopa
Last Packager: CodingKoopa
Votes: 1
Popularity: 0.34
First Submitted: 2021-02-16 04:04
Last Updated: 2021-02-19 18:39

Dependencies (7)

Required by (0)

Sources (1)

Pinned Comments

CodingKoopa commented on 2021-02-16 04:13

GENERAL USAGE INFORMATION:

  • This package installs the bodypix and fakecam binaries.
  • akvcam support is untested.
  • For support for using bodypix as a systemd service, and using system dependencies, use this package instead of this one.

USING GPU ACCELERATION (NVIDIA ONLY):

Tensorflow requires an older version of CUDA, 10.0, and, by extension (due to package requirements), cuDNN.

sudo pacman -U https://archive.org/download/archlinux_pkg_cuda/cuda-10.0.130-2-x86_64.pkg.tar.xz https://archive.org/download/archlinux_pkg_cudnn/cudnn-7.4.2.24-1-x86_64.pkg.tar.xz

Latest Comments

markkuit commented on 2021-03-16 17:23

For anyone else having issues with bodypix dying with error:

/opt/linux-fake-background-webcam-opt-git/bodypix/node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core/dist/engine.js:542
                out = _this.tidy(function () { return forwardFunc(_this.backend, saveFunc_1); });
                                                      ^

TypeError: forwardFunc is not a function

The issue is being discussed on GitHub, along with a temporary quick fix.

CodingKoopa commented on 2021-02-20 05:58

Oh! Yes, I had that at one point too. You will be needing to install the gcc7 AUR package. That's cool that you were able to feed the package URL directly to Pacman like that; I updated the instructions with both of those things.

asix commented on 2021-02-20 00:49

Advice on the "cuda downgrade"? Getting this:

sudo pacman -U https://archive.org/download/archlinux_pkg_cuda/cuda-10.0.130-2-x86_64.pkg.tar.xz
[sudo] password for anders: 
 cuda-10.0.130-2-x86_64                                                                                                                                           1316.9 MiB  1279 KiB/s 17:34 [########################################################################################################################] 100%
 cuda-10.0.130-2-x86_64.sig                                                                                                                                        566.0   B  0.00   B/s 00:00 [########################################################################################################################] 100%
loading packages...
resolving dependencies...
warning: cannot resolve "gcc7-libs", a dependency of "cuda"
warning: cannot resolve "gcc7", a dependency of "cuda"
:: The following package cannot be upgraded due to unresolvable dependencies:
      cuda

:: Do you want to skip the above package for this upgrade? [y/N] 

CodingKoopa commented on 2021-02-19 17:51

This is intentional. Rather than depending on the Arch packages for these Python libraries and potentially dealing with API breakage down the road, this package bundles the exact library versions in /opt/. If you're not a fan of this, you can use the other package mentioned in the first comment.

Kortekaasy commented on 2021-02-19 11:49

It seems like several python dependencies are missing, such as aio-http, cv2, pyfakewebcam, and requests_unixsocket. Could these be added as dependencies to the package?

CodingKoopa commented on 2021-02-16 04:13

GENERAL USAGE INFORMATION:

  • This package installs the bodypix and fakecam binaries.
  • akvcam support is untested.
  • For support for using bodypix as a systemd service, and using system dependencies, use this package instead of this one.

USING GPU ACCELERATION (NVIDIA ONLY):

Tensorflow requires an older version of CUDA, 10.0, and, by extension (due to package requirements), cuDNN.

sudo pacman -U https://archive.org/download/archlinux_pkg_cuda/cuda-10.0.130-2-x86_64.pkg.tar.xz https://archive.org/download/archlinux_pkg_cudnn/cudnn-7.4.2.24-1-x86_64.pkg.tar.xz

CodingKoopa commented on 2021-02-16 04:08

I've been meaning to make this package for some time, and started doing so last month - at which point there was no package like this. I finished this package today, and checked again, and sure enough, somebody else has made a package, and submitted it just yesterday! (https://aur.archlinux.org/packages/fake-background-bodypix-git/)

However, there are some key differences between this package and that one:

  • This package bundles all of the Node.js and npm dependencies in /opt/ (along with the program itself). I did this in fear of the Python (and Node) packages in the Arch repos being updated to where they become incompatible with this tool.
  • The other package bundles a nice systemd service.
  • This package includes both bodypix and fakecam in one, whereas the other package splits them into different packages.