0

我正在使用 Kinect 开发应用程序,我需要全深度分辨率。面部跟踪工作速度快 (30 fps),深度分辨率为 320x240。但是,当我切换到 640x480 时,我得到了三分之一的速度(~10fps)。我已经尝试提取 320x240 深度图像进行人脸跟踪(每隔一列和一行),但我没有检测到任何人脸。

depthImageSmall = new short[this.depthImage.Length/4];
  for (int y = 0; y < 240; y++)
    for (int x = 0; x < 320; x++)
      depthImageSmall[y * 320 + x] = this.depthImage[y * 640 + x * 2];

如何加快人脸跟踪?

谢谢

4

0 回答 0