Primesense Kinect Camera Drivers For Mac

May 2014: PrimeSense was bought by Apple at the end of April, and the OpenNI.org website was shut down. Fortunately, several sites have set up archives of the oldOpenNI and NITE software, such as Simple-OpenNI and Structure Sensor.

When looking through these archives, it's important to remember that thecode examples in my book use OpenNI version 1. It's quite different from version 2, which sports many changes tothe skeleton and hand detection functions, resulting in big changes to NITE as well. In other words, you need to find archive copies of version 1 of OpenNI and NITE to run my code.The following instructions explain how to do that.

Step-by-step walkthroughs are available for Windows 7, Mac OS X, and Ubuntu that cover installing the libfreenect drivers, OpenNI, NITE, and SensorKinect,.

This page is written in the form of a checklist. If you prefer a wordier explanation, thenplease have a look at section 3 of the draft chapter.Remember that it refers to the now-defunct OpenNI website from 2012, so ignore any weblink information in that chapter.

1. Clean Up

Useful freeware tools for cleaning Windows:Revo Uninstaller,CCleaner

  • use Revo Uninstallerto delete any applications that mention 'Kinect', 'Xbox', 'PrimeSense', 'OpenNI' or 'NITE'
  • delete the C:Program FilesPrimeSense and C:Program FilesOpenNI directories (or the equivalents for your platform)
  • uninstall any drivers that mention 'Kinect', 'Xbox' or 'PrimeSense' via Window's Device Manager

2. Download the Packages

Download the relevant OpenNI/NITE zip file from the Simple-OpenNI downloads website. Searchfor 'All Downloads' to find suitable versions of OpenNI and NITE for Windows, Linux, and OSX.I recommend the following:

  • Windows 32-bit: OpenNI_NITE_Installer-win32-0.27.zip
  • Windows 64-bit: OpenNI_NITE_Installer-win64-0.27.zip
  • Linux 32-bit: OpenNI_NITE_Installer-Linux32-0.27.zip
  • Linux 64-bit: OpenNI_NITE_Installer-Linux64-0.27.zip
  • OSX: OpenNI_NITE_Installer-OSX-0.24.zip

For example, the Windows 32-bit zip file (OpenNI_NITE_Installer-win32-0.27.zip) contains four installers:

  • nite-win32-1.5.2.21-dev.msi
  • openni-win32-1.5.4.0-dev.msi
  • SensorKinect092-Bin-Win32-v5.1.2.1.msi
  • sensor-win32-5.1.2.1-redist.msi

I've also made that zip file available here; it's 120 MB large.

There are two installers containing the word 'sensor', which relate to the SensorKinect driver. It seems that the driver inside SensorKinect092-Bin-Win32-v5.1.2.1.msi is compiled using VC++ 2010 so you musthaveMicrosoft's VC++ 2010 redistributable installed for the driver to correctlyexecute. The redistributable is inside sensor-win32-5.1.2.1-redist.msi.

If you don't want to install the 64-bit version of OpenNI on your 64-bit Windows machine, then you can use the 32-bit installer instead.Some good instructions on how to do that can be foundhere.

WinZip Pro 2019 Crack Full Activation Code Free Download WinZip Pro 2019 Crack is the greatest software for compressing files. This application enables you to definitely manage your archives files and provides full use of extract data in most formats. Winzip full free download for mac tumblr full

3. Installation

Install the four downloaded packages in the order:

  1. OpenNI: openni-win32-1.5.4.0-dev.msi
  2. SensorKinect driver -- there are two steps: first sensor-win32-5.1.2.1-redist.msi, and then SensorKinect092-Bin-Win32-v5.1.2.1.msi
  3. NITE: nite-win32-1.5.2.21-dev.msi

Afterwards, check if the software is in theC:Program FilesOpenNI and C:Program FilesPrimeSense directories.

To install the three hardware drivers (for motor, audio, and camera), you should:

  • plug the Kinect into your PC and into the mains;
  • this will trigger Windows into installing the drivers, but don't let the installation search for the drivers itself. Instead you should supply their location in C:Program FilesPrimeSenseSensorKinectDriver
  • afterwards, check if the 3 drivers show up in Windows' Device Manager under a 'PrimeSense' header

Delete OpenNI's Java CLASSPATH environment variable via Windows' System control panel Advanced tab

4. Edit four XML Configuration Files

In C:Program FilesPrimeSenseNITEData edit:

  • Sample-Scene.xml
  • Sample-Training.xml
  • Sample-User.xml

In C:Program FilesOpenNIData edit:

  • SampleConfig.xml

The edits to these XML files are:

  • add the PrimeSense license: <License vendor='PrimeSense' key='0KOIk2JeIBYClPWVnMoRKn5cdY4='/>
  • add <MapOutputMode> attributes to all the <Configuration> subterms:
    <MapOutputMode xRes='640' yRes='480' FPS='30'/>

Look at SampleConfig.xml in the chapter 2 code for examples of these changes.

5. Test OpenNI and NITE

In C:Program FilesOpenNISamplesBinRelease, run the applications:

  • NiSimpleRead.exe
  • NiSimpleViewer.exe
  • NiViewer.exe,
  • NiUserTracker.exe.

In C:Program FilesPrimeSenseNITESamplesBinRelease, run:

  • Sample-Boxes.exe

6. Start Java Programming

The Java wrappers for OpenNI and NITE are part of the installation, so you can nowstart programming. For details, please read the draft chapter.

Navigation:
  • Up to the Kinect Open Source Programming Secrets Index Page
  • On to Chapters 1 and 2. Kinect Imaging
Dr. Andrew Davison
E-mail: ad@fivedots.coe.psu.ac.th
Back to my home page
    Search