Giter Site home page Giter Site logo

fabiodominio / kinect2grabber Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 2.0 8 KB

Simple and extendable command-line application to acquire frames from Microsoft Kinect v2 and optionally store them. Visualization is performed with OpenCV.

License: MIT License

CMake 13.98% C++ 86.02%

kinect2grabber's Introduction

Kinect2 Grabber

This simple command-line software connect to a Microsoft Kinect v2 device to acquire, visualize and optionally save multiple source frames.

Visualization is performed by mean of OpenCV.

Currently the software is set to both acquire depth and color data, although the code is easily editable to support the acquisition of the infrared image as well or to disable one or more streams.

Build instructions

Kinect2 Grabber is almost self-contained and just requires:

Note how in CMake openCV is generally detected when specifying the path of "OpenCVConfig.cmake" file, often provided with any openCV build. Note also how, unless you are linking against a static version of openCV, the program executable also needs the "core", "highgui", "imgcodecs", "imgproc", "videoio" dynamic libraries.

Usage

Due to Microsoft Kinect2 SDK requirement, this software only runs on Windows.

Note how for running the software you don't need the Kinect v2 SDK but only the Kinect v2 Runtime driver (https://www.microsoft.com/en-us/download/details.aspx?id=44559) to be installed on the system.

To run the software, simply execute "Kinect2Grabber.exe". To exit, push "Esc" key when the openCV windows is on the foreground, to grab a frame (it will be stored in the same executable directory unless differently specified in the code) push "g" or "G" key. After grabbing a frame, the software stores the full hd color image and the grayscale depth image in .png format, and the depth map in a text file in .dat format. Note how the saved frames are automatically numbered, so no worries about overriding previous grabs.

kinect2grabber's People

Contributors

fabiodominio avatar

Stargazers

Michael Yang avatar

Watchers

 avatar Pietro Zanuttigh avatar Ludovico Minto avatar

Forkers

markpp solbach

kinect2grabber's Issues

Problem with compiling

When I'm trying to build ALL_BUILD I'm getting this errors
image

I need this program to save RGB and Depth image to png for my Engineering Thesis, but I have no idea how to solve it, because I'm a little bit newbie in C++, so any solution to this problem would be appreciated.

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.