Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNAP - Real-time Face Filter App

SNAP is a real-time face filter application that uses MediaPipe and OpenCV to overlay filters on a live video feed. The current implementation includes a sunglasses filter, which can be applied to the detected face in the video stream.

Features

  • Real-time face detection using MediaPipe.
  • Apply overlay filters to the detected face.
  • Currently supports a sunglasses filter.

Prerequisites

Make sure you have the following packages installed:

  • opencv-python
  • mediapipe
  • streamlit
  • numpy

You can install these packages using pip:

pip install -r requirements.txt

Usage

  1. Clone or download the repository.

  2. Place your sunglasses.png filter image in the same directory as the script.

  3. Run the application using Streamlit:

    streamlit run app.py
  4. Open the Streamlit app in your browser (typically at http://localhost:8501).

  5. Choose the "Sunglasses" filter from the sidebar to apply it to the live video feed.

Demo

Here is a demo video of the application: demo

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages