Use Microsoft Kinect On Mac Osx

  • Jan 26, 2016  Setting up the Kinect on OSX (El Capitan) January 26, 2016 January 26. Create a Kinect directory in Home to place all applications you’ll need to run the Kinect on the Mac. Do not try to Download OpenNI v2 beta as it relies solely on the Microsoft Kinect SDK which we cannot use. The version we are going to use is OpenNI SDK (V1.5.7.10).
  • Connect Kinect to mac OSX Hi guys, I'm in my final year of university studying interactive audio and I want to connect my Kinect to my mac but haven't a clue how to do it. Any help would be greatly appreciated.

Copyright (c) 2010-2013 ofxKinect Team

Kinect for Xbox 360 is the latest buzz in the gaming world. And here is the tutorial to connect Kinect to Mac. Yes, you read that right, now you can use Kinect with your Mac. For that you need to install the driver for Kinect compatible on Mac. Kinect is the motion sensor.

MIT License.

Share calendar outlook for mac. For information on usage and redistribution, and for a DISCLAIMER OF ALLWARRANTIES, see the file, 'LICENSE.txt,' in this distribution.

See https://github.com/openframeworks/openFrameworks/tree/master/addons/ofxKinect for documentation as well as the OF forums.

This project uses libfreenect, copyrighted by the Open Kinect Project using the Apache License v2. See the file 'APACHE20' in libs/libfreenect.

Description

ofxKinect is an Open Frameworks addon for the Xbox Kinect that runs on Mac OSX, Linux, and Windows.OpenFrameworks is a cross platform open source toolkit for creative coding in C++.

NOTE: Xbox Kinect models > 1414 (1473, etc) or Kinect4Windows devices that have been plugged into an XBox will not work with ofxKinect on Mac OSX

If you have an Xbox Kinect model 1473+ or Kinect4Windows device and want to use it with ofxKinect on OSX, DO NOT plug it into an XBox! If you do, it will receive a firmware update which will cause it to freeze after about 20 secs with libfreenect/ofxKinect on OSX. Linux and Windows are fine. The fix is in the works.

In the meantime, we suggest you get the original Xbox Kinect model 1414 and keep those new toys away from an XBox ..

Running the Example Project

An example project is provided in the examples/addons/kinectExample in your OpenFrameworks distribution. If you've downloaded/cloned OF from Github, use the OpenFrameworks ProjectGenerator in apps/projectGenerator to generate the Xcode, VS2012, CodeBlocks projects and/or Makefiles by pointing it to the kinectExample folder and making sure to include the following addons:

  • ofxKinect (duh)
  • ofxOpenCv (for blob tracking in the example, not required by ofxKinect itself.)

OSX

Open the Xcode project, select the 'kinectExample Debug' scheme, and hit 'Run'.

Linux

Install the libusb-1.0 library. On Ubuntu, you can do this with:

Note: as of OF 0.8.2 ofxKinect requires libusb 1.0.12 or newer.This can be installed by updating or re-installing the libusb-1.0-0-dev package.

Open the Code::Blocks .cbp and hit F9 to build. Optionally, you can build the example with the Makefile.

To run it, use the terminal:

Also, you can add a set of udev rules which allow you to run a Kinect app without root privileges:

Windows

Precompiled libusb libs are included for Windows.

Install instructions:

Mac

The easiest way to add the correct usb drivers to a Kinect device is to use the Free USB Driver tool: http://zadig.akeo.ie/Select your Xbox Camera, Xbox Audio and Xbox Motor in the drop down and then select the libusbk driver from the driver menu and click install. ( you will need to do this three times, once for the camera, then motor, then audio ). This advice comes from the https://github.com/OpenKinect/libfreenect#windows ReadMe.

ofxKinect will not work if the drivers are not installed.

NOTE: You cannot use the OpenNI drivers and the libfreenect drivers included with ofxKinect at the same time. You must manually uninstall one and reinstall the other in the Device Manager. Sorry, that's just how it is. :P

Windows (Msys2):

Install libusb using

How to Create a New ofxKinect Project

As of OF 0.8.0, you can also create a new ofxKinect project using the ProjectGenerator, found in openFrameworks/apps/projectGenerator.

Adding ofxKinect to an Existing Project

As of OF 0.8.0, you can use the OF ProjectGenerator to create ofxKinect projects

Mac

Notes

Using multiple Kinects

ofxKinect supports multiple Kinects, however stability is based on the bandwidth of your usb hardware. If you only require the depth image, it is recommended to disable the video grabbing of the rgb/ir images from your devices:

Use Microsoft Kinect On Mac Os X 10 11

For Kinect4Windows, Microsoft states that only 2 Kinects can be supported on the same USB bus. In practice on OSX, this proves to be the case as, even with the RGB images disabled, there are transfer errors using ofxKinect and 3 Kinects simultaneously. If you need to support many Kinects, you will probably need to add extra USB controllers to your machine …

Developing ofxKinect

Use Microsoft Kinect On Mac Os X 10 12

Feel free to log bug reports and issues to the openFrameworks Github page: https://github.com/openframeworks/openFrameworks