Skip to content

m3at/virtcamdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Add a "flame" effect on each hand's index onto a video stream.

recording.webm.mov

This script is just a quick hack, it's a bit of glue between mediapipe for hand detection, VidGear for fast frame fetching and pyvirtualcam for the virtual camera. Also a basic particle system to draw a 🔥 (of dubious artistic quality).

Should work on Linux/MacOS/Windows, through tested on Mac only.

Setup

Install dependencies:

python3 -m pip install pyvirtualcam opencv-python-headless vidgear numpy mediapipe

Then setup your camera (only need to do this once), by following: https://github.com/letmaik/pyvirtualcam#supported-virtual-cameras

Usage

  • python3 demo.py
  • Select "OBS Virtual Camera" as a video source

Some services will overtake the webcam by default (example Google Meet), so this script will be stopped. If that happen, just restart it after switching to the OBS source.

About

Simple demo to add effect on a virtual camera

Topics

Resources

License

Stars

Watchers

Forks

Languages