Face_Filters_using_python_mediapipe.mp4
This project demonstrates how to use computer vision to overlay various filters on faces. By utilizing OpenCV and other Python libraries, the project can detect faces in an image and superimpose fun and thematic filters based on popular superhero characters.
- Deadpool Mask: Adds Deadpool's mask over the face.
- Wolverine Mask and Claws: Adds Wolverine's mask and claws to the face and hands.
- Captain America's Shield: Adds Captain America's shield.
main.ipynb
: Jupyter Notebook containing the main code for applying face filters.main.py
: Python script containing the main code for applying face filters.images/
: Directory containing image assets used for the filters.claw_1.png
: Wolverine claw image.deadpool1.png
: Deadpool mask image.deadpool2.png
: Another Deadpool mask image.shield_1.png
: Captain America's shield image.Wolverine_3.png
: Wolverine mask image.
- Clone the repository:
git clone https://github.com/SudharsanSambathkumar/Face_Filters_using_python_mediapipe.git
cd Face_Filters_using_python_mediapipe
- Install the required packages:
pip install -r requirements.txt
- Run the Jupyter Notebook:
jupyter notebook main.ipynb
OR run the Python script:
python main.py
- Follow the instructions in
main.ipynb
ormain.py
to see the face filters applied to sample images.