Use Microsoft Kinect On Mac Osx

Jan 26, 2016 Setting up the Kinect on OSX (El Capitan) With Apple buying out PrimeSense (Thanks Apple), installing the Kinect on OSX has become a little fumbly. Here’s a step by step guide on getting it up and running. System Integrity Protection (SIP) is a new default security measure introduced by Apple in OS X 10.11 onward. OSX & Kinect, 2017 June 22, 2017 mgb 7 Comments So you have a MacBook (or something else that runs OSX) and you want to play with the Kinect sensor, but you’re having trouble because there are about 1 billion sets of wrong instructions on the internet on how to connect this Kinect.

Copyright (c) 2010-2013 ofxKinect Team

MIT License.

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.

Use Microsoft Kinect On Mac Os X El Capitan

Install instructions:

September 24, 2010. Microsoft office mac 2011 serial number 2014. Office for Mac Blog. Archived from on July 17, 2011. Retrieved October 27, 2010. Retrieved November 4, 2010.

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

Use Microsoft Kinect On Mac Os X 10 11

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.

Use Microsoft Kinect On Mac Osx Pro

Adding ofxKinect to an Existing Project

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

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 Update

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 …

Use Microsoft Kinect On Mac Os X Lion

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