Kinect

From FourMs

Revision as of 10:12, 27 August 2011 by Even (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The fourMs lab has several Kinects


Macintosh driver setup

OSX 10.6 or higher required


  • In Terminal run
sudo port install libtool
  • Restart


  • Run
sudo port install libusb-devel +universal
  • Restart


Install OpenNI

  • Download the latest unstable   
  • Create a folder called OpenNI (e.g. Macintosh HD - /Developer/OpenNI)
  • Unpack the archive in the OpenNI folder
  • Navigate to the folder in Terminal, for example:
cd /Developer/OpenNI/OpenNI-Bin-MacOSX-v1.0.0.25 
  • Run
sudo ./install.sh


Install SensorKinect

  • Navigate to the folder you want to install SensorKinect in Terminal, for example
cd /Developer
  • Run
git clone https://github.com/avin2/SensorKinect
  • Navigate to the now created SensorKinect folder
SensorKinect 
  • Run
sudo ./install.sh


Install NITE 

  • Download the latest unstable 
  • Unpack the archive inside your OpenNI folder
  • Navigate to the now created NITE folder in Terminal, for example
cd /Developer/OpenNI/NITE-Bin-MacOSX-v1.4.1.2
  • Run
sudo ./install.sh 
  • When prompted, enter key from PrimeSense website: 0KOIk2JeIBYClPWVnMoRKn5cdY4=
  • Copy the 3 files from the .../avin2.../NITE/Data folder to .../NITE-Bin-MacOSX-v1.4.1.2/Data


Test an example

  • Navigate to the .../NITE.../Samples/Bin folder in Terminal
  • Run for example
./Sample-PointViewer 
  • Do an attention (wave) gesture


Windows driver setup


OSCeleton setup

OSCeleton is a program that will detect a user and track and transmit x/y/z positions of 15 joints by OSC-protocol

  • Navigate to the folder you wish to install OSCeleton in Terminal, for example:
cd /Developer 
  • Run
git clone https://github.com/Sensebloom/OSCeleton
  • Navigate to the OSCeleton folder
cd OSCeleton
  • Run
make
  • Run the osceleton program
./osceleton 
  • Stand in front of the Kinect and perform a calibration (PSI) pose

When user calibration is done, OSC data will start streaming. This can be gathered for example in Max/MSP. 

----------begin_max5_patcher----------
4160.3oc6cssjihiD84p+JH7yc2C5FRLus69ArQryiytQEtroayzTfCap9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