Giter Site home page Giter Site logo

xinfushe / calibrationwizard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pengsongyou/calibrationwizard

0.0 0.0 0.0 27 KB

[ICCV'19] Calibration Wizard: A Guidance System for Camera Calibration Based on Modelling Geometric and Corner Uncertainty

License: MIT License

C++ 53.72% MATLAB 45.35% CMake 0.93%

calibrationwizard's Introduction

Calibration Wizard

Paper | Video

This repository contains the implementation of the paper:

Calibration Wizard: A Guidance System for Camera Calibration Based on Modelling Geometric and Corner Uncertainty
Songyou Peng and Peter Sturm
ICCV 2019 (Oral)

If you find our code or paper useful, please consider citing

@inproceedings{peng2019iccv,
 author =  {Songyou Peng and Peter Sturm},
 title = {Calibration Wizard: A Guidance System for Camera Calibration Based on Modelling Geometric and Corner Uncertainty},
 booktitle = {IEEE International Conference on Computer Vision (ICCV)},
 year = {2019},
}

Installation

Requirements

  • CMake
  • OpenCV
  • MATLAB

Build

git clone https://github.com/pengsongyou/CalibrationWizard
cd CalibrationWizard
mkdir build
cd build
cmake ..
make

Tested working on Mac OSX, OpenCV 2.4.11 and MATLAB R2015b.

Usage

  • First step: run binary ./bin/CalibrationWizard and choose mode=0 to capture images freely for initial calibration. Press space to capture one image. After capturing, press ESC and the calibration is automatically done.
  • Second step: run src_matlab/main_estimate.m to estimate the next best pose.
  • Third step: run binary ./bin/CalibrationWizard again and choose mode=1. The estimated next pose should be displayed. You can try to overlay the checkerboard with the new pose, and press space to capture the image.

Loop over the second and third step until you are satisfied, or tired :)

Command Line Options

  • mode=0 captures images for initial camera calibration
  • mode=1 shows the next best pose for capturing

In addition, we provide mode=2 if you only want to perform calibration on all the captured images listed in out/images/image_list.xml.

TODO

  • Release codes of the unified system in C++ which integrates the next best pose estimation.

Extreme Poses

Sometimes the next pose is extreme so the checkerboard cannot be detected. Please consider:

  • Check if the values in the uncertainty map are low. If yes, then the calibration has more or less converged.
  • Consider autocorrelation matrix, simply set autoCorr_flag=1 in src_matlab/main_estimate.m.
  • Re-run src_matlab/main_estimate.m.

calibrationwizard's People

Contributors

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