Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- $dossier=$PWD
- echo "dossier : $dossier"
- mkdir kinect/
- cd kinect/
- # Installation des librairies nécéssaires
- sudo apt-get install libusb-1.0-0-dev freeglut3-dev g++
- # Récuperation de Openni
- wget http://www.openni.org/wp-content/uploads/2012/12/OpenNI-Bin-Dev-Linux-x64-v1.5.4.0.tar.zip
- unzip OpenNI-Bin-Dev-Linux-x64-v1.5.4.0.tar.zip
- tar xjvf OpenNI-Bin-Dev-Linux-x64-v1.5.4.0.tar.bz2
- mv OpenNI-Bin-Dev-Linux-x64-v1.5.4.0/ openni/
- rm OpenNI-Bin-Dev-Linux-x64-v1.5.4.0.tar.zip
- rm OpenNI-Bin-Dev-Linux-x64-v1.5.4.0.tar.bz2
- # Récupération de Avin2 SensorSkin
- wget https://nodeload.github.com/avin2/SensorKinect/legacy.zip/unstable
- unzip unstable
- mv avin2-SensorKinect-15f1975/ sensorkin/
- rm unstable
- # Récupération de NITE
- wget http://www.openni.org/wp-content/uploads/2012/12/NITE-Bin-Linux-x64-v1.5.2.21.tar.zip
- unzip NITE-Bin-Linux-x64-v1.5.2.21.tar.zip
- tar xjvf NITE-Bin-Linux-x64-v1.5.2.21.tar.bz2
- mv NITE-Bin-Dev-Linux-x64-v1.5.2.21/ nite/
- rm NITE-Bin-Linux-x64-v1.5.2.21.tar.zip
- rm NITE-Bin-Linux-x64-v1.5.2.21.tar.bz2
- # Install OpenNi
- cd openni/
- chmod a+x install.sh
- sudo ./install.sh
- cd ../
- # Install SensorSkin
- cd sensorkin/Platform/Linux/CreateRedist/
- chmod a+x RedistMaker
- sudo ./RedistMaker
- cd ../Redist/Sensor-Bin-Linux-x64-v5.1.2.1
- sudo chmod a+x install.sh
- sudo ./install.sh
- cd ../../../../../
- # Install Nite
- cd nite/
- chmod a+x install.sh
- sudo ./install.sh
- cd ../
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement