Items with no label
3335 Discussions

Tracking the same person after camera lost track?

tlian5
Beginner
1,191 Views

Hi, I'm trying use the Person Tracking in SDK 2016R2. I just wondering how can I track the same person after the person walk out of camera screen and come back.

I'm trying to use the integer from QueryId() in PersonTracking object. But seems like if the same person walk out of screen and comes back the SDK treat it as a new person and the QueryId() returns a different value.

Thanks for your help.

0 Kudos
3 Replies
MartyG
Honored Contributor III
235 Views

I remembered that there were some similar cases to yours back when RealSense first launched in 2014, so went back in the older RealSense forum to research it (this forum is the second, newer RealSense forum).

RealSense expert Samontab thought that the IDs were being incremented because the user was being unregistered, and so a new ID was being created when that same person was registered again.

This discussion on the old forum may be relevant to your problem.

https://software.intel.com/en-us/forums/realsense/topic/537776 Face Recognition problem

When someone else had a problem with retaining a registered face, Intel support member Colleen Culbertson suggested changing registration from Continuous to On Demand mode. I.e change

REGISTRATION_MODE_CONTINUOUS

to

REGISTRATION_MODE_ON_DEMAND

In other words:

SetRegistrationMode(PXCFaceConfiguration::RecognitionConfiguration::REGISTRATION_MODE_ON_DEMAND);

0 Kudos
BVaga
Beginner
235 Views

Dear Sir,

In Ros person tracking package i didn't find word like REGISTRATION_MODE_CONTINUOUS or REGISTRATION_MODE_ON_DEMAND.

If you know then please guide me.

0 Kudos
MartyG
Honored Contributor III
235 Views

This mode applies to the '2016 R2' RealSense SDK, which you were working with in another post on this forum. That is why I recommended looking at this link.

I know that you were trying to do facial recognition with the ROS module of the RealSense SDK For Linux before you started using R2 though. But I do not believe that the ROS module in the Linux SDK has the Registration_Mode function, as the Windows and Linux SDKs are very different products.

0 Kudos
Reply