Skip to content

isir/InfraTechPythonSpout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published