3 Replies Latest reply on Nov 16, 2017 5:02 AM by MartyG

    Tracking the same person after camera lost track?


      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.

        • 1. Re: Tracking the same person after camera lost track?

          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.


          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








          In other words:



          • 2. Re: Tracking the same person after camera lost track?

            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.

            • 3. Re: Tracking the same person after camera lost track?

              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.