Code Monkey home page Code Monkey logo

logger2's Introduction

Logger2

Tool for logging RGB-D data from the ASUS Xtion Pro Live with OpenNI2

Should build on Linux, MacOS and Windows. Haven't built on Windows yet though, so someone feel free try it out!

Requires CMake, Boost, Qt4, OpenNI2, ZLIB and OpenCV.

Grabs RGB and depth frames which can then be compressed (lossless ZLIB on depth and JPEG on RGB) or uncompressed.

Frames can be cached in memory and written out when logging is finished, or streamed to disk.

Multiple threads are used for the frame grabbing, compression and GUI. A circular buffer is used to help mitigate synchronisation issues that may occur.

Supports disabling auto settings on the camera.

The binary format is specified in Logger2.h

Run with -t to enable TCP streaming support on port 5698

If you get an error about not being able to connect to the device follow these instructions (credit to John McCormac)

  1. Find the idVendor and idProduct by running lsusb (with example output):

$ lsusb

Bus 003 Device 006: ID <idVendorHere>:<idProductHere> ASUS

  1. Create a new usb rules file:

$ sudo editor /etc/udev/rules.d/asus.rules

  1. Paste in the below line with appropriate modifications (i.e. filling in the appropriate idVendor and idProduct listed above - 1d27 and 0601 for example):

SUBSYSTEM=="usb", ATTR{idVendor}=="1d27", ATTR{idProduct}=="0601", GROUP="plugdev"

  1. Double check you are indeed in the plugdev group, or change the group above accordingly

$ groups

  1. Reboot to take effect

Logger2

logger2's People

Contributors

mp3guy avatar kpykc avatar martinruenz avatar

Watchers

James Cloos 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.