Kinect / PyKinect2

Wrapper to expose Kinect for Windows v2 API in Python
MIT License
496 stars 236 forks source link

Get the body index frame of just one particular body #70

Open avpai opened 5 years ago

avpai commented 5 years ago

Hi, I want to get only body index frame of only one body. Normally when you get a body index frame, you get it with all the identified bodies. But I only want one with a specified index. I identified the body as : body = self._bodies.bodies[l] where i is the index of the body I want to track. Is there any way to do this? I tried : body_index_frame = self._kinect.get_last_body_index_frame(l) but its not working. any suggestions? @vladkol @TheSOMGuy