Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.18 KB

Readme.md

File metadata and controls

29 lines (21 loc) · 1.18 KB

Reespiration - FaceAnalysis module

Installation

  • Install [Python 3.11]
  • Create python virtual environment python -m venv venv
  • Activate it venv/Scripts/activate
  • Install python requirements pip install -r requirements.txt

Usage

In your virtual environment run python main.py

It should output:

Loading dll...
True
standard rel. path import scheme
SDK Program Files import scheme
<WinDLL 'C:\Program Files\InfraTec\IRBGRAB_SDK\v4\irbgrab_win64.dll', handle 110000000 at 0x154e1f099d0>
Found camera: simulator
Found camera: variocamhd

It connects to IRBIS camera and shared IR stream as Spout shared texture named "IR" by default, then it sends live facetracking data for the closest face (68 face landmarks as 3D points, 3D pose, age, male, frame_shape of the received texture and a face_found boolean) through OSC protocol (localhost:10000 by default)

When successful, it shows the texture stream with the 68 face landmarks overlaid in blue.

Press 'q' or 'escape' to quit.