Search code examples
image-processingsavekinectface-detection

Is it possible to save a user's skeleton and facial data for recognition purposes?


I would like to be able to keep track of people that enter and exit a premises. Basically when the user approaches the Kinect, it will store his/her facial and skeletal data. Then upon leaving, that data will be removed. For now I am only wondering if this is possible or not with the Microsoft SDK. I have seen videos/demos of the Kinect being able to track people but my goal is to identify them uniquely. Any information will be greatly appreciated.


Solution

  • Yes you can save skeleton and face data.... but for what you are doing, it sounds like you only want to save that for the session. Since as soon as they leave, the data will be removed, you can use a Skeleton Tracking ID... or a Indexes

    SkeletonFrame sf = e.SkeletonFrame;
    //check which skeletons in array are active and
    // use that array indexes for player index
    SkeletonData player1 = sf.Skeletons[playerIndex1];
    SkeletonData player2 = sf.Skeletons[playerIndex2];
    

    You can look to my answer on Kinect user Detection for more information.