Kinect: Difference between revisions

From ISRWiki
Jump to navigation Jump to search
m (→‎See also: add link to openni-dev mailing list)
(give more relevance to ROS OpenNI wrapper)
Line 17: Line 17:


Below we explain how to manually install Kinect programs on Ubuntu 10.04 LTS (officially you need 10.10 or higher, but 10.04 works too).
Below we explain how to manually install Kinect programs on Ubuntu 10.04 LTS (officially you need 10.10 or higher, but 10.04 works too).
== ROS wrapper ==
See http://www.ros.org/wiki/openni_kinect


== Ubuntu manual installation ==
== Ubuntu manual installation ==
Line 78: Line 82:
* http://en.wikipedia.org/wiki/Kinect#Software
* http://en.wikipedia.org/wiki/Kinect#Software
* [http://opencv.willowgarage.com/wiki/Kinect Kinect - OpenCV Wiki]
* [http://opencv.willowgarage.com/wiki/Kinect Kinect - OpenCV Wiki]
* [http://www.ros.org/wiki/openni_kinect openni_kinect - ROS Wiki]
* [http://www.mrpt.org/Kinect_and_MRPT Kinect and MRPT | The Mobile Robot Programming Toolkit]
* [http://www.mrpt.org/Kinect_and_MRPT Kinect and MRPT | The Mobile Robot Programming Toolkit]
* [http://www.i-programmer.info/programming/hardware/1905-getting-started-pc-kinect.html Getting Started with PC Kinect]
* [http://www.i-programmer.info/programming/hardware/1905-getting-started-pc-kinect.html Getting Started with PC Kinect]


[[Category:Vislab]]
[[Category:Vislab]]

Revision as of 14:15, 29 April 2011

As of March 2011, there are two software possibilities to use the Microsoft Kinect:

  1. OpenKinect/libfreenect: fully open source but still lacking some functionality
  2. OpenNI framework + Prime Sensor drivers + NITE motion tracking middleware binaries (skeleton tracking, gesture recognition etc.). The last component is closed source, while the first two ones are open source

OpenKinect/libfreenect

See http://openkinect.org/

YARP wrapper

See $YARP_ROOT/src/modules/kinect/README.txt for installation instructions.

OpenNI + Prime Sensor + NITE

Installing binary files, if you prefer this possibility, is straightforward.

Below we explain how to manually install Kinect programs on Ubuntu 10.04 LTS (officially you need 10.10 or higher, but 10.04 works too).

ROS wrapper

See http://www.ros.org/wiki/openni_kinect

Ubuntu manual installation

The following instructions refer to the Unstable branch.

Prerequisites

Mandatory:

 sudo apt-get install g++ python git-core libusb-1.0-0-dev freeglut3-dev
 audo adduser YOURNAME video

Optional:

 sudo apt-get install doxygen graphviz

OpenNI

 mkdir ~/kinect && cd ~/kinect
 git clone https://github.com/OpenNI/OpenNI.git
 cd OpenNI

Now follow instructions on https://github.com/OpenNI/OpenNI/tree/unstable

Sensor

Boilerbots repository (unofficial)

 cd ~/kinect
 git clone https://github.com/boilerbots/Sensor.git
 cd Sensor
 git checkout kinect

Now follow instructions on https://github.com/PrimeSense/Sensor/tree/unstable

avin2 repository (official)

 cd ~/kinect
 git clone https://github.com/avin2/SensorKinect
 cd SensorKinect

Now follow instructions on https://github.com/PrimeSense/Sensor/tree/unstable

NITE

  • http://www.openni.org/downloadfiles "OpenNI Compliant Middleware Binaries"
  • Latest Unstable
  • download, for example, PrimeSense NITE Unstable Build for for Ubuntu 10.10 x64 (64-bit) v1.3.0.18 to ~/kinect
  • extract this archive:
 tar -jxvf NITE-Bin-Linux64-v1.3.0.18.tar.bz2

Demos

Demos are located in

  • Nite-VERSION/Samples/Bin
  • OpenNI/Platform/Linux-x86/Bin/Release

See also