Giter VIP home page Giter VIP logo

camera_calib's Introduction

Camera calibration using OpenCV - project

The plan is to create a camera calibration program with some nice GUI (using Qt library). This is the small part of my master's dissertation that I will show here. The other part, which uses calibration parameters to undistort the camera and recognize pose of elements on the picture will not be shown nor avalable.
I will think of making both C++ and Python versions (just to have some comparison) and maybe I will make some processing time comparison.
The base alghoritm is based on YouTube manual, see comments in the code.
Here I will also put some interesting links with useful information needed to do camera calibration correctly.

To-do list

  • (90%) make it able to run both in GUI and non-GUI mode (for now in seperate files, planned to do it in one file),
  • (90%) in GUI mode everything is set in window, no command window is shown,
  • (95%) in non-GUI mode parameters must be passed via command window, displaying images with detected chessboard corners is only optional (minimum displaying),
  • (100%) make the alghoritm more flexible; after compilation it must be able to be used with any calibration chessboard,
  • (20%) find out how cv::CALIB_USE_INTRINSIC_GUESS works,
  • (90%) make some kind of indicator which shows how good calibration was,
  • (100%) optimize Makefile - for now it has some unnecesary stuff,
  • (60%) run GUI and terminal mode of the program within one file,
  • more things soon...

Sample screenshots of the program

How to run the program

Using terminal mode

  • open Terminal, go to folder terminal_beta,
  • make the program using make,
  • call program in terminal mode using ./calibration -terminal

Using gui mode

  • open QT Creator,
  • open the project in gui_beta,
  • compile it and run.

Libraries and used software

  • OpenCV 3.4.4
  • Qt Creator 3.5.1 based on Qt 5.5.1 or newer (Qt Creator 4.5.2 based on Qt 5.9.5 was also OK)
  • Linux (here Linux Mint 18.3 and 19.1), after a few changes it can be converted to run under Windows

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.