Skip to content

Instantly share code, notes, and snippets.

@kirk86
Last active February 5, 2022 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kirk86/d2450f39768f63a676342d657e1ae864 to your computer and use it in GitHub Desktop.
Save kirk86/d2450f39768f63a676342d657e1ae864 to your computer and use it in GitHub Desktop.
shell script to run the virtual webcam background removal software
#!/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