jueves, 7 de mayo de 2015

Kinect on UDOO


In this Blog I will show the steps for using the Microsoft Kinect with the UDOO board. The procedure is based in the Mario Lukas blog for the raspberry pi 2 (http://www.mariolukas.de/2015/04/proof-of-concept-3d-scanner-with-kinect-and-raspberry-pi2/).


 1. Download the UDOObuntu image

Download it from http://udoo.org/downloads/
It was tested succesfully in the UDOObuntu V1.1

2. Transfer the image to the SD card 

See the link for instructions:
http://udoo.org/docs/Getting_Started/Create_A_Bootable_MicroSD_card_for_UDOO

3. Insert the SD card in the UDOO board and boot

4. Configure your network to get internet access

5. Type the following commands in a new terminal


sudo apt-get update
sudo apt-get install build-essential python-dev ipython python-opencv
sudo apt-get install python-numpy python-scipy
sudo apt-get install git-core git
sudo apt-get install freeglut3 freeglut3-dev libxmu-dev libxi-dev
sudo apt-get install cmake cmake-curses-gui pkg-config
sudo apt-get install libudev-dev
sudo wget http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.19/libusb-1.0.19.tar.bz2/download
tar xvjf download
cd libusb-1.0.19
./configure
make
sudo make install
cd ..
git clone https://github.com/OpenKinect/libfreenect.git
cd libfreenect
mkdir build
cd build
ccmake ..

Press ‘c’ key. Then use the arrow keys to change BUILD EXAMPLES to OFF.
Press the ‘c’ key a second time followed by pressing ‘g’.

cmake ..
make
sudo make install
cd ../wrappers/python
sudo python setup.py install


6. Connect the kinect sensor power supply

7. Connect the Kinect to the UDOO board USB port


8. Run an example


sudo python demo_cv_async.py


Enjoy it!

No hay comentarios:

Publicar un comentario