Reputation: 11
I am using ASUS Xtion Pro and OpenNI to program some gesture recognition.
FingertipDetector2D fingertipDetector2D = new FingertipDetector2D(
new DepthImage(this.depthMetadata.XRes,
this.depthMetadata.YRes,
this.depthMetadata.DepthMapPtr),
point3D,
(ushort)this.depthGenerator.DeviceMaxDepth);
I use the code above to read the data from the device but I getn an exception from ImageAnalyzer.dll. It says it's a devide by zero exception.
The device is okay since the sample files of OpenNI library work fine.
Does anyone know what the problem might be
Upvotes: 0
Views: 436