Git Product home page Git Product logo

kinect's Introduction

kinect

This is a small appication to capture RGB and depth data from the XBOX360 Kinect device. It supports some controls over the device. For this see the execution subsection. The stream can be saved on your hard disk, the default directory structure is

kinect
- results
| - capturing_start_timestamp
| | - rgb
| | | capturing_timestamp_in_ms_from_time_epoch.png
| | - depth
| | | capturing_timestamp_in_ms_from_time_epoch.png
| | | rgb_depth.txt

The 'rgb_depth.txt' file contains a list of associated RGB and depth image files. They are linked by the shortest timestamp difference, files over 200ms difference are skipped.

Installation

sudo apt install freenect libusb-1.0-0 
sudo apt install qt5-default qtcreator

Connect the Kinect V1 and test with the following command

freenect-glview

If all is working just execute the compiled kinect application.

Execution

> ./kinect
[-h] Help information. 
[-o outDir] Output file directory. Default is 'results' in the application directory.
[-s] Synchronize RGB with depth files and store results to file. Needs -o outDir. Removes unlinked depth files.

During execution the following key events are activated: 

ESC Close application. 
SPACE Save a single frame 
d Switch depth modes. 
s Start/stop frame saving. 
a En-/disable auto exposure. 
w En-/disable white balance. 
r En-/disable raw color. 

Hints:

Tested successfully with Ubuntu 16.04 LTS.

Flags for debug or release build:

cmake -DCMAKE_BUILD_TYPE=Debug
cmake -DCMAKE_BUILD_TYPE=Release

Acknowledgement:

Big thanks to https://openkinect.org/wiki/C++OpenCvExample for their great work.

kinect's People

Contributors

huberthomas avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.