- 51 ARKit Blendshapes: Perfect Sync facial tracking with a webcam
- Head Transform: Translation and Rotation with Quaternions.
- Works on Linux
-
Clone the repo:
git clone https://cyb3rkun/MPVMC.git
-
Setup Virtual Environment:
cd MPVMC python3 -m venv MPVMCenv source ./MPVMCenv/bin/activate pip install mediapipe numpy python-osc python opencv-python
-
Run the script:
python facetracker.py
-
configure you're software:
- IP: 127.0.0.1
- PORT: 39539
-
Face Landmarker Task:
- This repo contains the mediapipe task file v2 that supports blendshapes and head transform matrixes. no need to download it manually,
- If you want to download it manually, you can do so whith this command:
cd MPVMC && \ wget -O ./assets/face_landmarker_v2_with_blendshapes.task -q https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/1/face_landmarker.task
- for more information visit: Mediapipe Python Example Code for Face Landmarker or collab.research
-
Enjoy you're vtubing journey with mediapipe on linux :)