32.1 webcam configure
20210521
The configuration will not only ensure the required support software is installed but will also create the dummy webcam video.
$ ml configure webcam
*** The following required system packages are already installed:
v4l2loopback-utils
*** The following required system packages are already installed:
python3-opencv
*** The following required pip packages are already installed:
pyfakewebcam
*** Downloading required files ...
* https://.../No%2Btransmission.jpg
using cached copy found in /home/kayon/.mlhub/webcam/notrans.jpg ...
Configuring using '/home/kayon/.mlhub/webcam/configure.sh'...
Create a Dummy webcam (requires admin access).
[sudo] password for kayon:
To view the model's README:
$ ml readme webcam
The package assumes the real webcam is /dev/video0
and the dummy
webcam is /dev/video4
. The lowest numbered integrated camera is
taken as the existing webcam and the highest numbered dummy video is
taken as the default new webcam.
To identify the webcam devices, including the newly created dummy device:
$ v4l2-ctl --list-devices
Dummy video device (0x0000) (platform:v4l2loopback-000):
/dev/video4
Integrated Camera: Integrated C (usb-0000:00:14.0-8):
/dev/video0
/dev/video1
/dev/video2
/dev/video3
To test the package before you use it for Zoom, view the video signal locally by running the following after you have started up the gui, for example.
Some useful commands include:
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0