1. 程式人生 > >Ubuntu下搭建Kinect環境

Ubuntu下搭建Kinect環境

參考網址:http://pat-site.herokuapp.com/wiki/index.php?title=Kinect_on_Linux#SensorKinect

話說這個網站上面還有OpenGL教程。

Step1:安裝OpenNI

sudo apt-get install doxygen
git clone https://github.com/OpenNI/OpenNI.git
git checkout Unstable-1.5.4.0 -b Unstable-1.5.4.0
cd Platform/Linux/CreateRedist/
./RedistMaker
cd ../Redist/OpenNI-Bin-Dev-Linux-x86-v1.5.4.0
sudo ./install.sh
Step2:安裝SensorKinect
git clone git://github.com/avin2/SensorKinect.git
git checkout v0.93-5.1.2.1 -b v0.93-5.1.2.1
cd Platform/Linux/CreateRedist/
./RedistMaker
cd ../Redist/Sensor-Bin-Linux-x64-v5.1.2.1/
sudo ./install.sh
Step3:安裝NITE
curl -o nite-bin-linux-x86-v1.5.2.21.tar.bz2 http://www.mira-project.org/downloads/3rdparty/bin-linux/nite-bin-linux-x86-v1.5.2.21.tar.bz2
bzip2 -dk nite-bin-linux-x86-v1.5.2.21.tar.bz2
tar -xvf nite-bin-linux-x86-v1.5.2.21.tar
cd NITE-Bin-Dev-Linux-x86-v1.5.2.21 
sudo ./install.sh