SimpleOpenNI Repository
Hi! Thanks for sharing! For those who don’t know: what can you do with this library? Does it require specific hardware? The GitHub page seems to assume the user knows what is SimpleOpenNI. I didn’t find an explanation of its purpose
Sorry! but the library is used to be able to use the Kinect Sensor with Processing, I assumed that most of the people that worked or is currently working knew about it.
@totovr76 – thanks for posting this!
I also think it is a great suggestion to add a top description line like:
“Use Kinect 1 or 2 sensors with Processing 2 or 3”
to the top of this thread, and to:
Updated! @jeremydouglass
Can anyone confirm which versions of kinect work with which versions of processing?
Does KinectV2 only work with win10 or is win7 good? That link seemed to suggest it only works on OSX.
As I wrote in the decription, this is only working for Mac users, I don’t have any windows computer to taste it
does your library work with processing 3.5.3 - I installed SimpleOPenNI in my sketch folder but when I run the test same program https://github.com/totovr/SimpleOpenni/tree/Processing_3.5.2
I get SimpleOpenNi Error: Can’t open device: DeviceOpen using default: no devices found.
Did you follow the instructions file?
I reinstalled my Mac so I got it working now (at least initializes) but I get a time-out as follows:
After initialization:
[Info] [Freenect2DeviceImpl] opening…
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 2016384 ir: 4128*33792
[Info] [Freenect2DeviceImpl] opened
[Error] [protocol::CommandTransaction] bulk transfer failed: LIBUSB_ERROR_TIMEOUT Operation timed out
[Error] [protocol::CommandTransaction] bulk transfer failed: LIBUSB_ERROR_TIMEOUT Operation timed out
[Error] [protocol::CommandTransaction] bulk transfer failed: LIBUSB_ERROR_TIMEOUT Operation timed out
Any clues? My machine is old, mid 2012 MAC but does have USB3 port for the Kinect2 and I can get Shiffman’s examples running.
Go to:
~/OpenNI2/Drivers/
In my case:
and paste the drivers directly in the SimpleOpenNI folder:
/libraries/SimpleOpenNI/library/osx/OpenNI2/Drivers/libfreenect2-openni2.0.dylib
and /libraries/SimpleOpenNI/library/osx/OpenNI2/Drivers/libfreenect2-openni2.dylib
Thanks you so much I got it working. I was not installing the OpenNI2 drivers correctly - I did the libfreenect2 build & install before installing and exporting the drivers so perhaps that was the reason.
Thanks again.
Cool! hope you can end your project soon.
Hi! I am using Kinect V1 and just download and paste the library in the the Processing folder, but no devices found:cry:
Which is the output of the log? and which version of OS?
SimpleOpenNI Version 1.96
After initialization:
SimpleOpenNI Error: Can’t open device: DeviceOpen using default: no devices found
NullPointerException
macOS version is 10.14 and my processing version is 3.53
Can you try one version of the previous branches?
For your information on this “no device found problem”, I had the same problem on MacOS10.13.6 with a kinect V1 (model 1414) in Processing 3.5.3.
I solved it by doing all the installation process detailed in the https://github.com/totovr/SimpleOpenNI/blob/master/instructions.md page, which is said to be necessary only for kinectV2. So I installed freenectv2 and OpenNI2.
After this, the problem was just gone.
I did not copy any dylib into the SimpleOpenNI folder.
And there was no libfreenect2-openni2.dylib
file in the libfreenect2/build/lib
folder. Nor in the ~/OpenNI2/Drivers/
folder.
Hope this helps…
Coukd anyone got it working on Linux/Ubuntu with Processing 3.5.3.? I am aware it was developed for Mac, but I gave it a try since the Linux libraries are into the branch. I appreciate any hints regarding this.
Ubuntu 19:04
Kinect V1
Thanks!