Git Product home page Git Product logo

opennicalibtool's Introduction

Calibration Tool for OpenNI based RGB-D sensors

Build:

mkdir build
cd build
cmake .. -DOPEN_NI_ROOT=/your-path-to-OpenNI2/ 
make -j$(nproc)

Dependency

How to Calibrate a OpenNI sensor

  • Print the pattern in chess.pdf and stick the two page together side by side, making a 7x5 pattern.
    Don't scale the print, since each rectango should be 38mmx38mm.
  • Plug in your OpenNI sensor, run ./CalibCapture program. When you see the color frame window, use a small piece of glue tape to cover the infrad projector of your sensor, so that you will have less noise on the IR image. Point the sensor to the printed pattern, leave the sensor still, then press s on the keyboard to save a capture. Captured frame will be shown on separte windows.
  • DO NOT MOVE THE SENSOR WHEN YOU CAPTURE THE FRAMES! (this is because OpenNI2 don't give you access to the color and the IR stream of the sensor at the same time, the program is switching the color stream and IR stream on and off, and this takes time.)
  • Take around 40 captures from different viewport. press q to exit
  • Run ./StereoCalib, the program will autometically calibrate the camera and save calibration results to
    intrinsics.yml and extrinsics.yml

Verify result and generate InfiniTAM readable calib file

Run ./TestCalibResult to visualize a overlay between the color and the depth frame using the calibration result. press q to quite the program and a Calib_ITM.txt file will be written to the build/ folder. This file can be directly read from InfiniTAM

opennicalibtool's People

Contributors

carlren 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.