Hi Victor,
You can try to remove the background, which can help to solve your issue (please use the latest version of Nuitrack):
- Find the section
"Segmentation.Background"in thenuitrack.configfile and replace the line"BackgroundMode": "dynamic"with these two lines:"BackgroundMode" : "static_first_frame", "CalibrationFramesNumber": 20
It’ll turn on a static background model. -
Wait for
CalibrationFramesNumberframes, and only then enter the scene. If you set 20 frames as mentioned above, the background should be static for 20 frames (no users, only background). This is very important - if a user appears in the frame immediately, during calibration, the background won’t be calculated and you won’t see any effect. You have to wait for some time after running the program to let Nuitrack calculate the background.
You can also set these options using Nuitrack API:
nuitrack::setConfigValue("Segmentation.Background.BackgroundMode", "static_first_frame"); nuitrack::setConfigValue("Segmentation.Background.CalibrationFramesNumber", "20");