Giter Site home page Giter Site logo

examples_opencv's Introduction

OpenCV_Examples

Some Examples in OpenCV

examples_opencv's People

Contributors

jiapei100 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

examples_opencv's Issues

why the calibrated intrinsic matrix drifts a lot from the true value?

Hello there,
I was using this demo to calibrating my own camera while the result showed a unacceptable drifts from the truth.
OpenCV version 3.2.0
Python version 3.6.7
The input images series is like below:

Infrared1-0

and the corresponding detected images is
outimg1

There is one problem I am not that sure is, the asymmetric calibration target I used has a differently distance between the columns and rows which could be seen clearly from my code
longerCalibrate.txt

Finally, the result of intrinsic calibration is

camera_matrix:

  • [451.6701112652139, 0.0, 777.2304056394676]
  • [0.0, 469.37232191132745, 321.2437268938009]
  • [0.0, 0.0, 1.0]
    dist_coeff:
  • [-0.1705178885286108, 0.013773972732487686, 0.0012506566857040959, 0.004203751684462792,
    0.006202670677996154]

but actually, the intrinsic matrix should be
9.543190920000000000e+02 0.000000000000000000e+00 6.399660030000000000e+02 0.000000000000000000e+00 9.543190920000000000e+02 3.634058530000000000e+02 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00

this is true because the resolution of these pictures is 1280x720, more reasonable

So the question is, is there anything wrong with my code or is it a kernel problem of the opencv function?

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.