Open In Github
Python scripts using the Mediapipe models for Christmas.
WHY
Mainly for fun. But this repository also includes useful examples for things like image transformations (affine), image overlapping, model inference…
Installation
1
2
3
git clone https://github.com/ibaiGorordo/Mediapipe-Christmas-Examples
cd Mediapipe-Christmas-Examples
pip install -r requirements.txt
Original models
Most of the models were taken from Mediapipe: https://google.github.io/mediapipe/solutions/solutions.html.
Examples
- Christmas Background:
- Webcam:
python webcam_christmas_background.py
Video:
python video_christmas_background.py
- Reindeer Face:
- Webcam:
python webcam_reindeer_face.py
Video:
python video_reindeer_face.py
- Santa Face Mesh:
- Webcam:
python webcam_facemesh_santa.py
- Video:
python video_facemesh_santa.py
References:
- Halloween examples: https://github.com/ibaiGorordo/Mediapipe-Halloween-Examples Check the header in each of the scripts for the references for each model.