Giter Site home page Giter Site logo

enderjiang / video-distortion-solver Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 15.12 MB

Creating a customized UI program that can help us deal with removal of image/video/webcam distortion, and product better result for computer vision

Python 100.00%
opencv undistortion calibration camera-calibration

video-distortion-solver's Introduction

Video Distortion Solver

Creating a customized UI program that can help us deal with removal of image/video/webcam distortion, and product better result for computer vision

Recently as we start to deal with more computer vision works, I start to explore how do we do camera calibration using opencv. There are a few methods:

  1. chessboard calibration: which requires user to provide chessboard image so as to proceed the calibration, it only works when user are able to follow instruction and prepare materials. https://docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.html
  2. calibration with image profile: which user needs to have https://github.com/cdw/undivid
  3. 3rd party tools

However, the above solution requires tedious setup by user, and requires programming knowledge. I hope to provide an option for end user to easily calibrate camera by viewing the final result and adjust it. So I choose to use opencv trackbar as the UI to pass the camera profile data to the result.

I also take reference from the following database to check some result https://argus.web.unc.edu/camera-calibration-database/ http://mesh.brown.edu/3DP-2018/calibration.html sample2

The program shows a good example in dealing with a series of samples.

some challenges: As opencv trackbar doesn't allow floats value, I have to convert the trackbar input into float value lens profile. which will have some limitation in accuracy.

If you are looking for camera calibration that can be managed by end user, this could be a solution.

Planning to further improve by Adding complete library that connects to different feed format (rtsp etc) Improve lens profile accuracy, so it can be applied to some special lens like panorama

video-distortion-solver's People

Contributors

enderjiang avatar

Stargazers

 avatar  avatar  avatar

Watchers

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