A Comprehensive Tutorial of Installing OpenCV 2.4.3 in Ubuntu 12.10 [ i386 ]
Blank screen after installing nvidia driver (ubunbu安装nvidia显卡驱动后黑屏)

Install Kinect on Ubuntu 12.10

Author posted @ 2013年4月09日 16:48 in Linux , 6685 阅读

This is a simple and short tutorial on how to set up Kinect for your Linux Mint 12 (It also should work fine with Ubuntu 12.04 or 12.10). For this task OpenNI Framework is going to be used. The official short description of OpenNI is :

The OpenNI Framework provides the interface for physical devices and for middleware components. The API enables modules to be registered in the OpenNI framework and used to produce sensory data. Selecting the hardware or middleware module is easy and flexible.

This Tutorial will use the NITE middleware to enable skeleton tracking.

To install KInect with OpenNI and NITE please follow the next 5 steps, with your Kinect Unplugged.

Step 1 - Install Required support library

First step is to check if you have all the needed libraries, and if they are up to date.

 

 
sudo apt-get install libusb-1.0-0-dev freeglut3-dev g++

If you have a Nvidia graphics card it's recommended to have the latest drivers: Instruction here

Step 2 - Create a folder for holding the download and the installation

I recommend to create a 'kinect'  in your home folder:


cd ~
mkdir kinect

Step 3 - Download the OpenNI , NITE

It's going to be necessary to download to the created folder the latest OpenNI  Binary and the NITE middleware. Until the publication of this tutorial the most recent version available were :

Update 06-JUN-2012*

If you are using Ubuntu 12.04 make sure to have the following versions (I tried Openni version 2.1.0, not working, but 1.5.4 works!):

  1. OpenNI UNstable build for Ubuntu 12.04- - v1.5.4 https://github.com/OpenNI/OpenNI/tree/unstable
  2. PrimeSense and NITE UNstable build for Ubuntu 12.04 - v1.5.2.21 https://github.com/PrimeSense/Sensor/tree/unstable

Step 4 - Extract the downloaded zip to the desired folder

Now Extract The files and Rename the folders:

Your 'kinect' folder should have 3 zipped files. 


cd ~/Kinect/OpenNI-unstable/Platform/Linux/CreateRedist$ ls

sudo ./RedistMaker

cd ../Redist

sudo ./install.sh



cd ~/Kinect/SensorKinect/Platform/Linux/CreateRedist

sudo ./RedistMaker

cd ../Redist/

sudo ./install.sh

cd ~/kinect/NiTE-2.0.0/

sudo ./install.sh

Step 5 - Test it!


cd ~/Kinect/OpenNI-unstable/Platform/Linux/Redist/OpenNI-Bin-Dev-Linux-x86-v1.5.4.0/Samples/Bin/x86-Release

./Sample-NiSimpleViewer

Bug Fix:

" Failed to set USB interface "

this module allows Kinect to be used as a standard camera, so you can record video from it with the applications you're used to. Thus, it conflicts with OpenNI when trying to access the Kinect.

And then blacklisting to avoid it to be auto-loaded on boot:

 sudo modprobe -r gspca_kinect

 sudo sh -c 'echo "blacklist gspca_kinect" > /etc/modprobe.d/blacklist-kinect.conf'

Reference:
http://igorbarbosa.com/articles/how-to-install-kin-in-linux-mint-12-ubuntu/
https://groups.google.com/forum/?fromgroups=#!topic/openni-dev/LZpcyCfh9UE
http://adriangerardcooke.com/kinect-on-ubuntu-12-04/
http://www.20papercups.net/programming/kinect-on-ubuntu-with-openni/

seo 说:
2021年12月04日 10:47

As I was starting in this field, a lot of people were recommending Caldwells to me because of their great quality materials and customer service. Never did I regret my decision. https://caldwells.com/interior-doors/pre-finished out their site here.

reese 说:
2022年11月28日 01:11

The Kinect is a peripheral device that is used in conjunction with the Xbox 360. It allows users to control the Xbox 360 using best diamond buying websites their body movements. In addition, it can be used to capture 3D images and video. The Kinect can be used on PCs running the Windows operating system. It can also be used on the Ubuntu 12.10 operating system by installing the Kinect software.

anonymous 说:
2023年7月02日 05:33

During this website, you will see this shape, i highly recommend you learn this review. Kissimmee Bed Bug Treatment

anonymous 说:
2023年7月13日 06:38

Acknowledges for penmanship such a worthy column, I stumbled beside your blog besides predict a handful advise. I want your tone of manuscript... Termite Treatment Orlando

anonymous 说:
2023年7月13日 06:44

I read this article. I think You put a great deal of exertion to make this article. I like your work.  Termite Treatment Oviedo

Cheap Windows VPS Eu 说:
2023年8月27日 22:26

Looking for a cheap Windows VPS Europe? Our hosting service offers cost-effective solutions for your Windows-based virtual server needs. Benefit from the reliability and performance of Windows operating system, coupled with the convenience and flexibility of a virtualized environment. With our cheap Windows VPS plans tailored for the European market, you can enjoy seamless connectivity, robust security features, and excellent customer support.

anonymous 说:
2023年9月12日 01:21

It's superior, however , check out material at the street address. Mobile Home Parts Store


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter