I am trying to track multiple people with the kinect over time, so I want to know and record when someone has left, entered, and where they move. In other words I need to keep track of the blobs over multiple frames.
The problem is that the blob array blobs[i], is refreshing every frame, and therefore what used to be blob 0 (blobs) might now be blobs. I can’t seem to figure out in what order its detecting and inserting the blobs into the array every frame. Currently my application is drawing lines with the blobs[i].boundingRect information, but for example the line for blobs is formed from multiple objects since in a new frame blob might not be the same object in the scene.