我正在使用 ASUS Xtion Pro 和 OpenNI 来编程一些手势识别。
FingertipDetector2D fingertipDetector2D = new FingertipDetector2D(
new DepthImage(this.depthMetadata.XRes,
this.depthMetadata.YRes,
this.depthMetadata.DepthMapPtr),
point3D,
(ushort)this.depthGenerator.DeviceMaxDepth);
我使用上面的代码从设备中读取数据,但我从 ImageAnalyzer.dll 中得到了一个异常。它说这是零例外。
该设备没问题,因为 OpenNI 库的示例文件工作正常。
有谁知道问题可能是什么