Kinectv1+OpenNI+libfreenect+NITE开发

Published: by Creative Commons Licence

Kinectv1+OpenNI+libfreenect+NITE开发

Kinect开发

Created 2018.09.19 by William Yu; Last modified: 2018.09.20-V1.0.2

Contact: windmillyucong@163.com

Copyleft! 2018 William Yu. Some rights reserved.


安装配置KinectV1+OpenNI+libfreenect+NITE

  1. 安装必要工具
sudo apt-get install g++ python libusb-1.0-0-dev freeglut3-dev openjdk-8-jdk doxygen graphviz mono-complete
  1. 安装libfreenect
git clone https://github.com/OpenKinect/libfreenect.git
cd libfreenect
mkdir build
cd build
cmake -L ..
make
sudo make install
  1. 安装Udev规则
sudo cp ~/src/libfreenect/platform/linux/udev/51-kinect.rules /etc/udev/rules.d/
  1. OpenNI-Bin-Dev-Linux-x64-v1.5.7.10.tar
cd OpenNI-Bin-Dev-Linux-x64-v1.5.7.10
sudo ./install.sh
  1. Sensor-Bin-Linux-x64-v5.1.2.1.tar.bz2 kinect驱动
cd Sensor-Bin-Linux-x64-v5.1.2.1/
sudo ./install.sh
  1. NITE-Bin-Linux-x64-v1.5.2.23.tar
cd NITE-Bin-Dev-Linux-x64-v1.5.2.23
sudo ./install.sh

安装完毕!

  1. 如果想卸载这三个软件包只要同样运行./install.sh 带上参数-u 即可
$ sudo ./install.sh -u
  1. 测试:

https://blog.csdn.net/x_r_su/article/details/52904113

cd  /home/will/src/OpenNI-Bin-Dev-Linux-x64-v1.5.7.10/Samples/Bin/x64-Release
./NiViewer

See also

References

Further reading


Contact

Feel free to contact me anytime for anything.


License

CC0