/pokerfake

protect your webcam feed from tools that detect your heart rate

Primary LanguagePythonMIT LicenseMIT

pokerfake

protect your webcam feed from tools that detect your heart rate
License: MIT Updates Python3

Inspiration: https://github.com/thearn/webcam-pulse-detector

Pokerfake works by very slightly varying the image brightness to simulate a pulse, therefore covering up your real heart rate. It's currently just a proof of concept, so don't rely on it.

Setup and usage:

  • sudo apt install v4l2loopback-utils python-opencv
  • pip3 install -r requirements.txt
  • sudo modprobe v4l2loopback devices=1

This will set up a virtual /dev/video device to which you can write the faked video stream using pokerfake.py
Example:   [videochat-app]<----/dev/video1---[pokerfake.py]<----/dev/video0----[your webcam]

Python dependencies:

  • opencv_python
  • pyfakewebcam
  • numpy