Dren Selimi
Dren Selimi

Reputation: 11

Programming with ASUS Xtion Pro - it won't read data

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

Answers (0)

Related Questions