Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Drivers and libraries for the Xbox Kinect device on WIndows, Linux, and OS X

NotificationsYou must be signed in to change notification settings

JonBoyleCoding/libfreenect

 
 

Repository files navigation

Ongoing Development and Maintenance by the OpenKinect Community

  • Original Code and Engineering: Hector Martin (marcan)

  • Community Lead: Josh Blake (JoshB)

  • Integration: Kyle Machulis (qDot)

Description

libfreenect is the core library for accessing the Microsoft Kinect USBcamera. Currently, the library supports access to:

  • RGB and Depth Images

  • Motors

  • Accelerometer

  • LED

Audio is currently being worked on.

Information Resources

Information about the OpenKinect project can be found at

For questions, support, and discussion, check out the google groupsmailing list at

Or the IRC channel at

#openkinect on Freenode

We are also on twitter at

Requirements

For the driver, you’ll need

  • libusb-1.0 >= 1.0.3 (*nix and OS X)

  • libusb-win32 (Windows)

  • Cmake >= 2.6 (All platforms)

For the glview sample, you’ll need

  • OpenGL

  • glut

  • pthreads (Either platform provided or pthread-win32 for windows)

For links to the software listed, seehttp://openkinect.org/wiki/Getting_Started#Dependencies

See the platform specifics section for other information specific tothe platform you may be working on.

Basic Compiling Instructions

To use CMake:

  • Make a directory somewhere. Like, say, 'build' in your repo directory.

  • Go into that directory

  • Type cmake ..

  • Watch the magic happen

  • After this, just run make and you’ll be fine.

  • If you want to use an IDE or whatever, well, you’ll figure it out.

Platform Specifics

OS X

Note
AS OF 2010-11-16, WE HAVE UPDATED THIS PATCH. IF YOU HAVEALREADY PATCHED, PLEASE REPATCH AND REINSTALL LIBUSB TO GET OS XWORKING AT FULL 30FPS.

You will need to pull the matching version of libusb for thispatch. This is NOT v1.0.8, this is a change based off the repo head asof 2010-10-16. To get a tar.gz with the snapshot of the repo at thispoint, hit the link below.

Once you’ve gotten that tarball and unziped it somewhere, patch usingthe files in platform/osx/. Just go to the root directory of thelibusb source and run

patch -p1 < [path_to_OpenKinectRepo]/platform/osx/libusb-osx-kinect.diff

You need to tell configure to include some necessary frameworks:./configure LDFLAGS='-framework IOKit -framework CoreFoundation'

Recompile libusb and put it wherever CMake will look (/usr/local/lib,/usr/lib, etc…​). If you’re using a package manager like fink,macports, or homebrew, I’m going to expect you know what your doingand can deal with this. If not, see IRC channel.

OpenGL and GLUT come as prebuilt frameworks with OS X, so that shoulddo it for requirements.

Linux

Should "just work" if you have the following packages installed:

  • libusb-1.0-dev

If you want to see the glview example:

  • freeglut3-dev (or whatever freeglut dev package your distro has)

  • libxmu-dev

  • libxi-dev

udev rules are available in the platform/linux directory so that youare not required to run as root.

Windows

Windows support is now available in libfreenect. The inf files in theplatform/windows directory can be used for installing the device, andthe library will need libusb-win32 to compile.

Wrappers

libfreenect has interface to several languages. Look in the wrappers/directory for them:

  • C (using a synchronous API)

  • python

  • actionscript

  • C#

  • Java (JNA)

Licensing

The libfreenect project is covered under a dual Apache v2/GPL v2license. The licensing criteria are listed below, as well as at thetop of each source file in the repo.

This file is part of the OpenKinect Project. http://www.openkinect.orgCopyright (c) 2010 individual OpenKinect contributors. See the CONTRIBfile for details.This code is licensed to you under the terms of the Apache License,version 2.0, or, at your option, the terms of the GNU General PublicLicense, version 2.0. See the APACHE20 and GPL2 files for the text ofthe licenses, or the following URLs:http://www.apache.org/licenses/LICENSE-2.0http://www.gnu.org/licenses/gpl-2.0.txtIf you redistribute this file in source form, modified or unmodified,you may:- Leave this header intact and distribute it under the same terms,  accompanying it with the APACHE20 and GPL2 files, or- Delete the Apache 2.0 clause and accompany it with the GPL2 file, or- Delete the GPL v2 clause and accompany it with the APACHE20 fileIn all cases you must keep the copyright notice intact and include acopy of the CONTRIB file.Binary distributions must follow the binary distribution requirementsof either License.

About

Drivers and libraries for the Xbox Kinect device on WIndows, Linux, and OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C64.8%
  • C#11.0%
  • ActionScript6.4%
  • C++5.7%
  • Python4.3%
  • Java3.7%
  • Other4.1%

[8]ページ先頭

©2009-2025 Movatter.jp