wardouou 于 2016.04.23 19:37 提问
- zhaaoan 2016.04.23 22:27
Step 1 - Install Required support library
First step is to check if you have all the needed libraries, and if they are up to date.
sudo apt-get install libusb-1.0-0-dev freeglut3-dev g++
If you have a Nvidia graphics card it's recommended to have the latest drivers: Instruction here
Step 2 - Create a folder for holding the download and the installation
I recommend to create a 'kinect' in your home folder:
Step 3 - Download the OpenNI , NITE
It's going to be necessary to download to the created folder the latest OpenNI Binary and the NITE middleware. Until the publication of this tutorial the most recent version available were :
If you are using Ubuntu 12.04 make sure to have the following versions (I tried Openni version 2.1.0, not working, but 1.5.4 works!):
1. OpenNI UNstable build for Ubuntu 12.04- - v1.5.4 https://github.com/OpenNI/OpenNI/tree/unstable
2. PrimeSense and NITE UNstable build for Ubuntu 12.04 - v184.108.40.206 https://github.com/PrimeSense/Sensor/tree/unstable
Step 4 - Extract the downloaded zip to the desired folder
Now Extract The files and Rename the folders:
Your 'kinect' folder should have 3 zipped files.
cd ~/Kinect/OpenNI-unstable/Platform/Linux/CreateRedist$ ls
Step 5 - Test it!
- CSDNXIAOD 2016.04.25 13:17