Codel1417 / MediaPipe-OSC

Face Tracking capture app using MediaPipe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MediaPipe OSC

This wraps Google MediaPipe Face Landmark API for real time webcam based face and eye tracking. This is designed to be used with VRCFT-MediaPipe. This is only tested and supported on Windows 11, but the code itself should be compatible with linux and mac with minimal editing.

How to use

  1. Download the latest EXE
  2. Start it
image
  1. Select the camera to use
  2. Check the enabled box
  3. If VRCFaceTracking is set up with the VRCFT-MediaPipe plugin, Face tracking should be ready to go.

Notes

  • Requires a webcam.
  • The OSC port is editable, but the VRCFT plugin only supports port 8888.
  • Eye tracking is less accurate with glasses, and may be inconsistent if your head is moving

Build

Building an EXE

  • setup Python3 on windows
  • Install dependencies pip -r requirements.txt
  • build the EXE pyinstaller --noconfirm .\mediaPipeFaceTracking.spec

About

Face Tracking capture app using MediaPipe

License:MIT License


Languages

Language:Python 100.0%