Detection of person lying on a surface or against a surface

Hi,

Nuitrack isn’t designed for thresholded depth maps. However you could try the following:

  1. open %NUITRACK_HOME%/data/nuitrack.config file in a text editor;
  2. set “Skeletonization.ActiveUsers” to 1;
  3. add this line:

“BoxCutter”:{“x”:“0”,“y”:“0”,“z”:“0”,“width”:“1000”,“height”:“4000”,“depth”:“3000”,“alpha”:“0”,“beta”:"-1.5"},

as the first line to the “Segmentation” section.

Notes about the 3rd step:

  • depth map will be thresholded by height/2 mm (depth values [0…height/2] will be processed only);
  • “beta” parameter is the BoxCutter’s rotation angle in radians along the X-axis of a sensor.

Please note this configuration of the nuitrack.config file isn’t default and could lead to accuracy issues.