rebecca@11
|
1
|
rebecca@11
|
2 --------------------------------------------------------------------
|
rebecca@11
|
3 Install instructions for OpenNI
|
rebecca@11
|
4 --------------------------------------------------------------------
|
rebecca@11
|
5
|
rebecca@11
|
6 Install notes:
|
rebecca@11
|
7 1) Install unstable OpenNI (http://www.openni.org/downloadfiles/openni-binaries/20-latest-unstable)
|
rebecca@11
|
8 On Linux/Mac please do: ./sudo install.sh
|
rebecca@11
|
9 2) Install Sensor (this version...)
|
rebecca@11
|
10 On Linux/Mac please do: ./sudo install.sh
|
rebecca@11
|
11 3) Install unstable NITE (http://www.openni.org/downloadfiles/openni-compliant-middleware-binaries/33-latest-unstable)
|
rebecca@11
|
12 On Linux/Mac please do: ./sudo install.sh
|
rebecca@11
|
13 Use this license when asked during the installation: 0KOIk2JeIBYClPWVnMoRKn5cdY4=
|
rebecca@11
|
14 4) Test #1: Run the NiViewer sample to make sure depth & image streams are working.
|
rebecca@11
|
15 5) Test #2: Run the OpenNI/NiUserTracker sample play with the skeleton. Don't forget to start with the calibration pose! (Explained in the PDFs)
|
rebecca@11
|
16 6) Test #3: Try the NITE/Sample-PointViewer sample for the hand tracking demo.
|
rebecca@11
|
17
|
rebecca@11
|
18 For Mac/Linux, you will need to install the latest LibUSB.
|
rebecca@11
|
19 Linux:
|
rebecca@11
|
20 1) Run: sudo apt-get install libusb-1.0-0-dev
|
rebecca@11
|
21 2) Run: sudo apt-get install freeglut3-dev
|
rebecca@11
|
22 MaxOSX:
|
rebecca@11
|
23 1) Intall MacPorts from: http://distfiles.macports.org/MacPorts/MacPorts-1.9.2-10.6-SnowLeopard.dmg
|
rebecca@11
|
24 2) Run: sudo port install libtool
|
rebecca@11
|
25 3) Run: sudo port install libusb-devel +universal
|
rebecca@11
|
26 Note: Do not forget the +universal, it's very important!!
|
rebecca@11
|
27 If you're previously already installed libusb-devel then use "sudo port uninstall libusb-devel" and reinstall it again with the +universal flag.
|
rebecca@11
|
28
|
rebecca@11
|
29
|
rebecca@11
|
30 Nutshell Mac OpenNi/Kinect install for DUMMIES:
|
rebecca@11
|
31 This job is going to take ONE DAY. It will be SLOW. Your computer is
|
rebecca@11
|
32 going to run a long time.
|
rebecca@11
|
33 You need to be running OS X 10.6, Xcode installed, there may be some
|
rebecca@11
|
34 recent-hardware constraint.
|
rebecca@11
|
35 You will install Git, Mac Ports libtool, libusb-devel, OpenNi,
|
rebecca@11
|
36 SensorKinect, and Nite in that order.
|
rebecca@11
|
37
|
rebecca@11
|
38 - Install Git from http://git-scm.com/, use it to download
|
rebecca@11
|
39 SensorKinect from github:
|
rebecca@11
|
40 - run "git clone git://github.com/avin2/SensorKinect.git"
|
rebecca@11
|
41 - Get and *read* the README in SensorKinect. Keep that README open, it
|
rebecca@11
|
42 explains what is happening here.
|
rebecca@11
|
43 - Do a clean install of Mac Ports. Uninstall an existing Macports
|
rebecca@11
|
44 first.
|
rebecca@11
|
45 - run "sudo port install libtool +universal"
|
rebecca@11
|
46 - run "sudo port install libusb-devel +universal"
|
rebecca@11
|
47 - download OpenNi unstable: http://www.openni.org/downloadfiles/openni-binaries/20-latest-unstable
|
rebecca@11
|
48 - run as sudo the OpenNi unstable binaries install.sh script
|
rebecca@11
|
49 - run as sudo the SensorKinect install.sh script
|
rebecca@11
|
50 - download Nite unstable:
|
rebecca@11
|
51 http://www.openni.org/downloadfiles/openni-compliant-middleware-binar...
|
rebecca@11
|
52 - edit the three Nite DATA XML files to 640x480
|
rebecca@11
|
53 - run as sudo the Nite install.sh script. License key is
|
rebecca@11
|
54 "0KOIk2JeIBYClPWVnMoRKn5cdY4="
|
rebecca@11
|
55
|
rebecca@11
|
56 Bravo! You should be done installing! As a reward, you now get to
|
rebecca@11
|
57 test:
|
rebecca@11
|
58 - go to the Nite tree, and in Samples/bin you have a bunch of binaries
|
rebecca@11
|
59 that just got built.
|
rebecca@11
|
60 - plug in the Kinect power supply, then the USB plug of the Kinect
|
rebecca@11
|
61 bar. Run the Box sample.
|
rebecca@11
|
62
|
rebecca@11
|
63
|
rebecca@11
|
64
|
rebecca@11
|
65
|