Skip to content

jtbates/lua---kinect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1eaa461 · Dec 1, 2011

History

10 Commits
Aug 16, 2011
Aug 17, 2011
Jul 26, 2011
Dec 1, 2011
Jul 26, 2011
Jul 26, 2011
Aug 16, 2011
Aug 16, 2011
Aug 17, 2011
Aug 17, 2011
Aug 17, 2011
Aug 17, 2011
Aug 17, 2011
Aug 17, 2011

Repository files navigation

kinect: a package to create/manipulate graphs on images

This package provides standard functions to create and manipulate edge-weighted graphs of images: create a graph, segment it, compute its watershed, or its connected components...

Install dependencies

1/ third-party libraries:

On Linux (Ubuntu > 9.04):

$ apt-get install gcc g++ git libreadline5-dev cmake wget libqt4-core libqt4-gui libqt4-dev

On Mac OS (Leopard, or more), using Homebrew:

$ brew install git readline cmake wget qt

2/ Lua 5.1 + Luarocks + xLua:

$ git clone https://github.com/clementfarabet/lua4torch
$ cd lua4torch
$ make install PREFIX=/usr/local

3/ kinect:

$ luarocks install kinect

Use the library

First run xlua, and load kinect:

$ xlua
> require 'kinect'

Once loaded, init the device, and grab frames:

> kinect.init()
> rgb,depth = kinect.getRGBD()

About

A Kinect interface for Torch 7 (using libfreenect)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published