Skip to content

FingerSense is a real-time webcam filter that detects when the middle finger is shown and applies a Gaussian blur over it for automatic censorship. It uses OpenCV and MediaPipe for hand tracking, with a gesture history voting system to ensure smooth, flicker-free detection and robust performance.

Notifications You must be signed in to change notification settings

Sushrutha05/FingerSense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

FingerSense

FingerSense is a real-time webcam filter that detects when the middle finger is shown and automatically applies a Gaussian blur to censor it. It leverages OpenCV and MediaPipe for accurate hand tracking, combined with a gesture history voting system to reduce flicker and ensure smooth, reliable detection.

Features

  • Real-time middle finger detection using MediaPipe hand tracking
  • Automatic Gaussian blur applied to censor the middle finger gesture
  • Gesture history voting system to stabilize detection and minimize flicker
  • Handles hand disappearance gracefully to prevent crashes

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/FingerSense.git
    cd FingerSense
  2. Install dependencies:

    pip install -r requirements.txt

Usage

Run the main script to start the webcam filter:

python finger_sense.py

Show your middle finger to see it blurred in real-time!

Requirements

  • Python 3.7+
  • OpenCV (opencv-python==4.10.0.82)
  • MediaPipe (mediapipe==0.10.21)

About

FingerSense is a real-time webcam filter that detects when the middle finger is shown and applies a Gaussian blur over it for automatic censorship. It uses OpenCV and MediaPipe for hand tracking, with a gesture history voting system to ensure smooth, flicker-free detection and robust performance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages