Untitled

Even if in the NITHsensors collection, NITHwebcamWrapper is not properly a sensor, but a Python script to use a webcam as a sensor.

Please see the NITHwebcamWrapper GitHub repository readme and follow the instructions in order to download and use it!

https://github.com/LIMUNIMI/NithFC

NITHwebcamWrapper extracts head position, eyes aperture and mouth aperture through the Mediapipe library.

For developers

Preprocessor

NITHwebcamWrapper does not provide some values by default, such as binary blink detection and calibration thresholds for eyes aperture and mouth aperture. However, the library NITHlibrary and NITHdmis does provide a preprocessor for NithModule (NithPreprocessor_FaceCam) able to compute these, client side. See the library for more informations!

Output arguments

In addition, using the preprocessor, the following parameters will become available: