Get Data From JSON Nuitrack Help!

Hi people!
Im trying to use this method tdv::nuitrack::Nuitrack::getInstancesJson to get info from users.
Im starting on this callback:

void URealSenseUserTracker::onNewUserCallback(int userId){
    qDebug() << "Debug USER ID: " << userId ;
    std::string jsondData = Nuitrack::getInstancesJson();
}

I can receive id from qDebug, but the json is empty everythime.

Someone know what happen?

Hi dguimaraes88,

getInstancesJson is part of Nuitrack Instance-based API. Please refer to related documentation page http://download.3divi.com/Nuitrack/doc/Instance_based_API.html.
It provides information about faces at this moment.

Face modules are by default disabled. To enable face modules, open nuitrack.config file and set Faces.ToUse and DepthProvider.Depth2ColorRegistration to true .

You should also set the value of AstraProPerseeDepthProvider.CameraID for Orbbec Astra PRO camera on Windows or Linux (usually it’s 0 , but if it doesn’t work, try 1 , 2 and so on).