Ubuntu14.04下搭建Kinect V1的環境

請各位注意是kinect V1,kinect有兩個版本,V1和V2
如有任何問題,feel free to contact me at [email protected]


1.安裝依賴項

sudo apt-get install git build-essential python libusb-1.0-0-dev freeglut3-dev
sudo apt-get install doxygen graphviz mono-complete

2.安裝OpenNI

mkdir ~/kinect
cd ~/kinect/
git clone https://github.com/OpenNI/OpenNI.git
cd OpenNI
git checkout Unstable-1.5.4.0 -b Unstable-1.5.4.0
cd Platform/Linux/CreateRedist/
chmod +x RedistMaker
sudo ./RedistMaker
cd ../Redist/OpenNI-Bin-Dev-Linux-[xxx] (where [xxx] is your architecture and this particular OpenNI release)
sudo ./install.sh

3.安裝Kinect Sensor Module

cd ~/kinect/
git clone https://github.com/avin2/SensorKinect.git
cd SensorKinect
git checkout v0.93-5.1.2.1 -b v0.93-5.1.2.1
cd Platform/Linux/CreateRedist/
sudo ./RedistMaker
cd ../Redist/Sensor-Bin-Linux-[xxx] (where [xxx] is your
architecture and this particular OpenNI release)
sudo ./install.sh

4.驗證安裝是否成功

cd OpenNI/Platform/Linux/Bin/Release
./Sample-NiSimpleViewer
發佈了31 篇原創文章 · 獲贊 175 · 訪問量 28萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章