Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install OpenNI 2.1 on Mac?

Tags:

kinect

openni

I can not find installation instructions for this version of OpenNI. I have a Kinect for Windows and Mac OSX 10.8.

It is listed as the downloadable on OpenNI.org, but there are no installation instructions on that site (that I can find) and the OpenNI2 Github page does not have instructions for Mac.

So, I tried downloading the repository and running:

sudo ./install.sh

As is typical to do with the previous version. I get no response, just the prompt back. When I run

./Tools/NiViewer

I get

openDevice failed:
DeviceOpen using default: no devices found

Press any key to continue . . .

Any help appreciated!

like image 325
BishopZ Avatar asked Oct 21 '22 17:10

BishopZ


1 Answers

You need to install a library called libfreenect, as well as libusb. The easiest way to do it on your mac is too add the brew package manager, and from your command line dial up:#brew install libfreenect

The link below will guide you (it worked for me) http://openkinect.org/wiki/Getting_Started#OS_X

like image 157
Вадим Avatar answered Jan 02 '23 20:01

Вадим