CARA AMMANN
 

MARKERLESS MOTION TRACKING

May 2022


 

Markerless motion caption with a single camera is a promising approach for skeleton tracking. Nowadays, used within video gaming it is a possible system for clinical gait analysis. This project aims to assess the reliability and validity of an Intel® RealSenseTM camera compared to a reference system for gait analysis in running sports. Inertial Measurement Units were used as the reference standard and a Python script based on the Nuitrack SDK was implemented to process the optical data.
As part of a feasibility study, seven healthy participants were tracked with both systems during walking and jogging indoors and outdoors. The knee, hip, shoulder, and elbow angles were tracked simultaneously and processed to be statistically analyzed.
Although the optical system was able to track skeletons in outdoor and indoor settings, the results of the outdoor settings were too poor to be analyzed. The indoor measurement results found a moderate ability of the optical system to approximately match the knee, shoulder, and elbow angles measured with the reference system. The hip angles generated the highest errors and the lowest correlation. In conclusion, the Intel® RealSenseTM camera and Nuitrack SDK are not yet reliable and valid tools for gait analysis in clinical settings and need improvement hardware- and software-wise.



Used Hardware




Normal RGB camera with frame rate of30 fps
Depth cameraD430 with maximum frame rate of90 fps
IR projector projects static IR pattern
2 imagers detect the reflected IR pattern

IMUs MYON aktos

Serial number 026
Reference standard


Composition of an Intel® RealSenseTM D435i camera



Used Software


Nuitrack SDK

Software for processing of depth images
Matches the camera and tracks skeletons
Using NuitrackSDK Trial Licence
Up to 6 different skeletons with 19 joints

EMG Motion Tools Software from Cometa srl

Version 6.0.4.0
Used for the IMUs


Scheme of the Nuitrack skeleton and joint detection



Implementation using Python


The following angles were calculated by establishing several vectors taking the tracked coordinates and using the dot product: shoulder angle α, right hip H, right shoulder S and right elbow E. All angles were then stored as CSV files. The recorded videos, RGB and depth, were displayed and stored as single frames as PNG.


Sketch of the joints and angles



Experimental Setup


Indoor setup


Indoor setting:


One laptop equipped with the EMG Motion Tools Software connected to the MYON Aktos Reciever.


One laptop equipped with Nuitrack and the script connected to the camera.

Walking path marked 2.2m in front of the camera.




Results

A conducted feasibility study was able to assess the performance of the Intel® RealSenseTM camera compared to an IMU system.
But in conclusion, it was found that a system consisting of the Intel® RealSenseTM camera and the Nuitrack SDK is neither a valid nor a reliable tool for markerless motion analysis in clinical settings compared to an IMU system. The ability to approximately track skeletons with the system is maybe appropriate for video games but the errors were clinically too significant for an exact gait analysis. However, the experimental setup and the measurement protocol were working and with future upgrades of the hardware, e.g. with higher frequency cameras, and upgrades of the software, e.g. using deep learning, the system could possibly generate good results and be successfully implemented in practice.




Do not hesitate to contact me for any more details or available code.