Last active
February 5, 2022 16:31
-
-
Save kirk86/d2450f39768f63a676342d657e1ae864 to your computer and use it in GitHub Desktop.
shell script to run the virtual webcam background removal software
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# remove any pre-existing virtual camera devices | |
virtualcamera remove-devices | |
# add virtual device with name FakeCam0 showing in zoom as Virtual Camera | |
virtualcamera add-device -i FakeCam0 "Virtual Camera" | |
# setup the format, dimensions and frames per second of virtual device | |
virtualcamera add-format FakeCam0 RGB24 1024 720 30 | |
# confirm the settings of the virtual device | |
virtualcamera update | |
#activate the conda environment | |
source activate fakecam | |
# run the actual python neural network background removal | |
python ./virtual_webcam.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment