kinect (oldest one) (libfreenect with py_kinect) on linux ubuntu14.04 x64
freenect libs
Where is the resource?
Here :P : https://github.com/OpenKinect/libfreenect
To make sure you were not installing the old libfreenect stuff shipped with ubuntu.
Try to remove those old packages if you have already.
apt-get remove freenect python-freenect libfreenect-demos
Before you are going to build the libfreenect, you will want this:
sudo apt-get install cython python-dev python-numpy freeglut3-dev libusb-1.0-0-dev libxmu-dev libxi-dev -y
First you need to download the libfreenect source codes from here.
git clone https://github.com/OpenKinect/libfreenect
cd libfreenect
mkdir build
cd build
sudo cmake ..
sudo make -j4
sudo make install sudo ldconfig

And now you can try plug in the kinect.
you will see it is detected by the computer:

you will see many tools which are compiled at once here.

And Try this, see the depth if it works!!!!

It works!
-------------
Python scripts
Now you may want to have fun with those python scripts!
For those people who do not want to compile anything in their ubuntu 14.04
apt-get install python-opencv python-pygame python-xlib
F.Y.I. I have installed 'opencv-2.4.11' already.

Then, hook some cool stuff now.
** Do not forget to use
sudo
before any command related to kinect. Application need resource.

py_kinect makes you feel so easy to have fun with kinect.
the source link is
https://github.com/OpenKinect/libfreenect/tree/master/wrappers/python/
I feel it's bit slow on ubuntu 14.04. I doute it has something to do with the 'libusb'. According to the docs here https://github.com/OpenKinect/libfreenect , we need the libusb >= 1.0.18 , but here I used libusb 1.0.0
And the package we see is:
$ apt-cache show libusb-1.0--dev
Package: libusb-1.0--dev
Priority: optional
Section: libdevel
Installed-Size:
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Aurelien Jarno <aurel32@debian.org>
Architecture: amd64
Source: libusbx
Version: :1.0.-1ubuntu2
Depends: libusb-1.0- (= :1.0.-1ubuntu2)
Recommends: libusb-1.0-doc
Filename: pool/main/libu/libusbx/libusb-1.0--dev_1.0.17-1ubuntu2_amd64.deb
Size:
MD5sum: 2151c234e5b53391caab9b07b4b07fb0
SHA1: 20bece6578d0453bf57dc2b8f61eb9aa058fe474
SHA256: 5ea52a92904bad5c19f671626d8d52ec6ea8c5eec4d6c6606facb32860db46b7
Description-en: userspace USB programming library development files
Library for programming USB applications without the knowledge
of Linux kernel internals.
.
This package contains what you need for compiling sources that
use this library in your own code.
Description-md5: 07c28a16589d7bc7f4eda04968bb1f5a
Multi-Arch: same
Homepage: http://www.linux-usb.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m
The package is maintained by a guy. As we can see,
libusb-1.0-0-dev_1.0.17
But it still works. I have already packed a new deb for this situation.
Here the download link:
libusb-1.0.19: http://pan.baidu.com/s/1gdCMrXx
DON'T FORGET TO REBUILD 'libfreenect' IF YOU UPGRADE YOUR LIB 'libusb'.
Please feel free to leave your comments here.
Or you can do some handtracking hacking with kinect!!!
Let's fly!!!


I drew this 'Hi' in the air with my hands.
Happy hacking!
kinect (oldest one) (libfreenect with py_kinect) on linux ubuntu14.04 x64的更多相关文章
- 【转】Linux(ubuntu14.04)上编译Android4.4源码的环境搭建及编译全过程
原文网址:http://jileniao.net/linux-android-building.html sublime text让我伤心.本来很信任sublime text的自动保存功能,之前使用一 ...
- Linux:Ubuntu14.04离线安装scala(在线安装)
参考Scala安装:http://www.lupaworld.com/thread-970271-1-1.html 以下命令安装默认scala版本 sudo apt-get install scala ...
- Linux(Ubuntu14.04)下Google Chrome / Chromium标题栏乱码问题
注:我使用的Linux发行版是Ubuntu 14.04,不同Linux发行版可能会有不同. 最近在使用Chromium的时候tab的标题栏中文显示乱码,在地址栏输入中文是同样时乱码,就像下图: 看起来 ...
- linux Ubuntu14.04 make编译文件报错:No rule to make target `/usr/lib/libpython2.7.so', needed by `python/_pywraps2.so'. Stop.
错误过程:当“make”编译文件时报错No rule to make target `/usr/lib/libpython2.7.so', needed by `python/_pywraps2.so ...
- [linux]ubuntu14.04通过apt-get安装软件失败
1.首先查看 dns 配置 sudo vi /etc/resolv.conf nameserver 114.114.114.114 nameserver 8.8.8.8 2.修改 apt-get 源 ...
- linux -- Ubuntu14.04及之后版本重启网卡不生效
Ubuntu14.04修改配置,重启网卡没有生效,出现如下问题: service networking restart //重启网络服务 stop: Job failed while stopping ...
- linux Ubuntu14.04 python(c++版本) tesorflow(python版本)c++
一.环境变量配置: export M2_HOME=/home/ustcjing/Maven/apache-maven- export JAVA_HOME=/usr/lib/jvm8/java expo ...
- ubuntu14.04 and ros indigo install kinect driver--16
摘要: 原创博客:转载请表明出处:http://www.cnblogs.com/zxouxuewei/ 今日多次测设ros indigo install kinect driver ,提示各种失败,然 ...
- Linux:Ubuntu16.04下创建Wifi热点
Linux:Ubuntu16.04下创建Wifi热点 说明: 1.Ubuntu16.04里面可以直接创建热点,而不用像以前的版本,还要其他辅助工具. 2.本篇文章转载自编程人生 具体步骤如下: 1. ...
随机推荐
- SEO 优化,网站推广优化教程100条(SEO,网站关键字优化,怎么优化网站,如何优化网站关键字)
这篇文章不错. http://www.cnblogs.com/zangdalei/archive/2010/08/31/1814047.html 看了一半之后的,觉得不太靠谱,很多都不懂. 于是 找 ...
- 如何将经纬度利用Google Map API显示C# VS2005 Sample Code
原文 如何将经纬度利用Google Map API显示C# VS2005 Sample Code 日前写了一篇如何用GPS抓取目前所在,并回传至资料库储存,这篇将会利用这些回报的资料,将它显示在地图上 ...
- C#中如何获取系统环境变量
原文:C#中如何获取系统环境变量 C#中获取系统环境变量需要用到Environment Class.其中提供了有关当前环境和平台的信息以及操作它们的方法.该类不能被继承. 以下代码得到%systemd ...
- windows系统下c语言暂停程序
原文:windows系统下c语言暂停程序 windows系统下,很多C语言初学者的调试时,往往没看到结果程序就退出了,据我所知的方法主要有以下几种 方法一: #include int main() { ...
- MAC中在eclipse luna上搭建移动平台自动化测试框架(UIAutomator/Appium/Robotium/MonkeyRunner)关键点记录
这几天因为原来在用的hp laptop的电池坏掉了,机器一不小心就断电,所以只能花时间在自己的macbook pro上重新搭建整套环境,大家都知道搭建环境是个很琐碎需要耐心的事情,特别是当你搭建的安卓 ...
- 快速构建Windows 8风格应用16-SettingContract原理及构建
原文:快速构建Windows 8风格应用16-SettingContract原理及构建 本篇博文主要介绍Setting Contract概述.Setting Contract实现基本原理.如何构建Se ...
- jQuery UI框架
jQuery UI框架 1.oschina开源社区-jQuery教程 2.jQuery PrimeUI(推荐) 3.弹出框.警告框.提示框.拖动支持.位置固定.选项卡切换 4.Bootstrap框架( ...
- 24个JavaScript初学者最佳实践
这里面说到的一个就是使用循环新建一个字符串时,用到了join(),这个比较高效,常常会随着push(); 绑定某个动作时,可以把要执行的绑定内容定义为一个函数,然后再执行.这样做的好处有很多.第一是可 ...
- grep、egrep、fgrep的用法与特性详解
[转载自]http://tanxw.blog.51cto.com/4309543/1361993 开篇 学习Linux也有一段时间了,对Linux多少也算是有点了解了,越是了解也就越对这 ...
- MVC文件上传与下载
MVC文件上传与下载 MVC文件上传与下载 想想自己从毕业到工作也有一年多,以前公司的任务的比较重,项目中有的时候需要用到什么东西都去搜索一下,基础知识感觉还没有以前在学校中的好.最近开始写博客,真的 ...