Ubuntu14.04下搭建Kinect V1的环境

来源:互联网 发布:华北科技学院网络 编辑:程序博客网 时间:2024/06/04 23:25

请各位注意是kinect V1,kinect有两个版本,V1和V2
如有任何问题,feel free to contact me at baidongdong@nudt.edu.cn


1.安装依赖项

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

2.安装OpenNI

mkdir ~/kinectcd ~/kinect/git clone https://github.com/OpenNI/OpenNI.gitcd OpenNIgit checkout Unstable-1.5.4.0 -b Unstable-1.5.4.0cd Platform/Linux/CreateRedist/chmod +x RedistMakersudo ./RedistMakercd ../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.gitcd SensorKinectgit checkout v0.93-5.1.2.1 -b v0.93-5.1.2.1cd Platform/Linux/CreateRedist/sudo ./RedistMakercd ../Redist/Sensor-Bin-Linux-[xxx] (where [xxx] is yourarchitecture and this particular OpenNI release)sudo ./install.sh

4.验证安装是否成功

cd OpenNI/Platform/Linux/Bin/Release./Sample-NiSimpleViewer
1 0
原创粉丝点击