多个Azure Kinect

判断每个设备识别的人 

   for (int i = 0; i < GetSensorCount(); i++)
                {
                    //for (int j = 0; j < GetSensorData(i).trackedBodiesCount; j++)
                    {
                        //int currentIndex = GetSensorData(i).alTrackedBodies[j].iBodyIndex;
                        if (IsSensorBodyDetected(i, bodyIndex))
                        {
                            Debug.Log("识别: " + i + "  "+ bodyIndex);
                        }
                    }
                }

猜你喜欢

转载自blog.csdn.net/qq_39097425/article/details/132065497