SimpleOpenNI error while opening .oni file in Processing 2.2.1

edited August 2014 in Kinect

Hello, I asked the same question on stackoverflow, but with no answers until now. Maybe someone here encountered the same problem or something similar. I am trying to open an .oni file to test some stuff without having a Kinect connected to my computer. I've used one of the examples provided with SimpleOpenNI (the SimpleOpenNI DepthImage Test) and some code I found on stackoverflow: stackoverflow.com/questions/17044116/how-to-read-oni-file-in-processing-2

The error is:

NullPointerException

SimpleOpenNI Error: Can't open device:      DeviceOpen 
     using default: no devices found

Technically, when no device is found, it should just open up the file, but I can't figure out why it doesn't happen that way.

I am using Processing 2.2.1 and the SimpleOpenNI 1.9.6 library for Processing, along with OpenNI on Windows 7 x64. OpenNI seems to be ok, as its reader can open .oni files. The problem seems to be somewhere in Processing, but I can't figure it out. Is there a way to make Processing work without connecting a Kinect to my computer, just by opening .oni files? What am I doing wrong?

Thank you!

Answers

Sign In or Register to comment.