freenect libs

Where is the resource?

  1. 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.

  1. apt-get remove freenect python-freenect libfreenect-demos

Before you are going to build the libfreenect, you will want this:

  1. sudo apt-get install cython python-dev python-numpy freeglut3-dev libusb-1.0-0-dev libxmu-dev libxi-dev -y
  1. First you need to download the libfreenect source codes from here.
  1. git clone https://github.com/OpenKinect/libfreenect
  2. cd libfreenect
    mkdir build
    cd build
    sudo cmake ..
    sudo make -j4
    sudo make install
  3.  
  4. 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

  1. 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

  1. 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:

  1. $ apt-cache show libusb-1.0--dev
  2. Package: libusb-1.0--dev
  3. Priority: optional
  4. Section: libdevel
  5. Installed-Size:
  6. Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
  7. Original-Maintainer: Aurelien Jarno <aurel32@debian.org>
  8. Architecture: amd64
  9. Source: libusbx
  10. Version: :1.0.-1ubuntu2
  11. Depends: libusb-1.0- (= :1.0.-1ubuntu2)
  12. Recommends: libusb-1.0-doc
  13. Filename: pool/main/libu/libusbx/libusb-1.0--dev_1.0.17-1ubuntu2_amd64.deb
  14. Size:
  15. MD5sum: 2151c234e5b53391caab9b07b4b07fb0
  16. SHA1: 20bece6578d0453bf57dc2b8f61eb9aa058fe474
  17. SHA256: 5ea52a92904bad5c19f671626d8d52ec6ea8c5eec4d6c6606facb32860db46b7
  18. Description-en: userspace USB programming library development files
  19. Library for programming USB applications without the knowledge
  20. of Linux kernel internals.
  21. .
  22. This package contains what you need for compiling sources that
  23. use this library in your own code.
  24. Description-md5: 07c28a16589d7bc7f4eda04968bb1f5a
  25. Multi-Arch: same
  26. Homepage: http://www.linux-usb.org/
  27. Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  28. Origin: Ubuntu
  29. Supported: 9m

The package is maintained by a guy. As we can see,

  1. 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的更多相关文章

  1. 【转】Linux(ubuntu14.04)上编译Android4.4源码的环境搭建及编译全过程

    原文网址:http://jileniao.net/linux-android-building.html sublime text让我伤心.本来很信任sublime text的自动保存功能,之前使用一 ...

  2. Linux:Ubuntu14.04离线安装scala(在线安装)

    参考Scala安装:http://www.lupaworld.com/thread-970271-1-1.html 以下命令安装默认scala版本 sudo apt-get install scala ...

  3. Linux(Ubuntu14.04)下Google Chrome / Chromium标题栏乱码问题

    注:我使用的Linux发行版是Ubuntu 14.04,不同Linux发行版可能会有不同. 最近在使用Chromium的时候tab的标题栏中文显示乱码,在地址栏输入中文是同样时乱码,就像下图: 看起来 ...

  4. 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 ...

  5. [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 源 ...

  6. linux -- Ubuntu14.04及之后版本重启网卡不生效

    Ubuntu14.04修改配置,重启网卡没有生效,出现如下问题: service networking restart //重启网络服务 stop: Job failed while stopping ...

  7. linux Ubuntu14.04 python(c++版本) tesorflow(python版本)c++

    一.环境变量配置: export M2_HOME=/home/ustcjing/Maven/apache-maven- export JAVA_HOME=/usr/lib/jvm8/java expo ...

  8. ubuntu14.04 and ros indigo install kinect driver--16

    摘要: 原创博客:转载请表明出处:http://www.cnblogs.com/zxouxuewei/ 今日多次测设ros indigo install kinect driver ,提示各种失败,然 ...

  9. Linux:Ubuntu16.04下创建Wifi热点

    Linux:Ubuntu16.04下创建Wifi热点 说明: 1.Ubuntu16.04里面可以直接创建热点,而不用像以前的版本,还要其他辅助工具. 2.本篇文章转载自编程人生 具体步骤如下: 1.  ...

随机推荐

  1. Swift编程语言学习12 ——实例方法(Instance Methods)和类型方法(Type Methods)

    方法是与某些特定类型相关联的函数.类.结构体.枚举都能够定义实例方法:实例方法为给定类型的实例封装了详细的任务与功能.类.结构体.枚举也能够定义类型方法:类型方法与类型本身相关联.类型方法与 Obje ...

  2. Python超级明星WEB框架Flask

    Flask简介 Flask是一个相对于Django而言轻量级的Web框架. 和Django大包大揽不同,Flask建立于一系列的开源软件包之上,这其中 最主要的是WSGI应用开发库Werkzeug和模 ...

  3. 什么是MEAN全堆栈javascript开发框架

    什么是MEAN全堆栈javascript开发框架 使用JavaScript能够完整迅速做出Web应用程序,目前一套工具包括MongoDB.ExpressJS,AngularJS和Node.js越来越受 ...

  4. .NET:从 Mono、.NET Core 说起

    魅力 .NET:从 Mono..NET Core 说起 前段时间,被问了这样一个问题:.NET 应用程序是怎么运行的? 当时大概愣了好久,好像也没说出个所以然,得到的回复是:这是 .NET 程序员最基 ...

  5. 分享一个SQLSERVER脚本

    原文:分享一个SQLSERVER脚本 分享一个SQLSERVER脚本 很多时候我们都需要计算数据库中各个表的数据量很每行记录所占用空间 这里共享一个脚本 CREATE TABLE #tablespac ...

  6. MonkeyRunner源码分析之工作原理图-attach

    花了点时间整理了下MonkeyRunner的工作原理图: Item Description Warning Author 天地会珠海分舵 转载请注明出处! Blog Address http://bl ...

  7. CSS3实战开发: 纯CSS实现图片过滤分类显示特效

    原文:CSS3实战开发: 纯CSS实现图片过滤分类显示特效 各位网友大家好,今天我要带领大家开发一个纯CSS的图片分类显示的网址导航,单纯看标题大家可能有些困惑,依照以往惯例,我先给大家演示一下实际运 ...

  8. PHP 1:在Windows上安装和配置PHP,Apache和My SQL

    原文:PHP 1:在Windows上安装和配置PHP,Apache和My SQL 如果你Google一把类似的主题,你会发现相关的文章可以塞满你的硬盘.在这里之所以把它再次拿出来,目的是想记录我作为一 ...

  9. Java程序员应该知道的10个Eclipse调试技巧

    Eclipse是众多Java程序员实用的开发工具,其中开发技巧也是繁多,但作为优秀的Java程序员,需要掌握最起码的调试技巧. 1 条件断点 2 异常断点 3 监视点 4 评估/检查 5 修改变量值 ...

  10. const与readonly的区别

    const与readonly 很像,都是将变量声明为只读,且在变量初始化后就不可改写.那么,const与readonly 这两个修饰符到底区别在什么地方呢?其实,这个牵扯出C#语言中两种不同的常量类型 ...