Skip to content

Z-Ray-Entertainment/Facetracker

Repository files navigation

OpenSeeFace Facetracking Wrapper

logo

Simple wrapper UI for OpenSeeFace's facetracker.

  • Start / Stop the tracker
  • Select Webcam
  • Select video mode (width, height, frames per second)
  • Select tracking model used by the facetracker
  • Set IP and Port for the tracker to listen

screenshot screenshot screenshot

Download

Development Requirements

  • gcc
  • python3-devel
  • python3-pip
  • gobject-introspection-devel
  • v4l2-utils

Setup

  • Clone repository
  • pip install -e .

OpenSeeFace prebuild binary

To ease up flatpak distribution Facetracker uses OpenSeeFace's facetracker as a pre-build binary.
Get is as follows:

  • git clone [email protected]:emilianavt/OpenSeeFace.git
  • cd OpenSeeFace
  • pip install onnxruntime opencv-python pillow numpy
  • pip install -U pyinstaller
  • pyinstaller ./facetracker.py
  • cp models ./dist/facetracker/

To test the pre-build locally create a symbolic link inside the source directory of Facetracker/facetracker/osf pointing towards the dist directory pf teh pre-build.

Webcams tested

The following cams have been tested with this application in functioning and gathering device capabilities properly

  • NB Pro: BisonCam
  • Logitec C922 Pro Stream Webcam
  • USB3.0 capture (yes an actual capture card)
  • Logitec HD WebCam C270
  • pulsonic HDR webcam