Giter Club home page Giter Club logo

Comments (3)

TehseenHasan avatar TehseenHasan commented on August 30, 2024

I think I solved the issue. The problem was that I have to enter the number of rows and columns of my Checkerboard in your code manually at line: Here (6,8) means 6 rows and 8 columns

ret, corners = cv2.findChessboardCorners(gray, (6,8), cv2.CALIB_CB_FAST_CHECK)

and at this line
cv2.drawChessboardCorners(image, (6,8), corners, ret)

I also changed the number of columns and rows on thins line:

self.points_in_row, self.points_in_column = 8, 6

To change the Square size according to my checkerboard. I think I have to enter the size in this line:

x, y = 30.0, 30.0

is the x, y is the size of checkerboard squares (in millimeters)?

Am I right?

  • And should I specify the resolution of my image frame (e.g 640x480) manually in the code or the code gets the resolution itself?
  • And the last question, is there any other place (other than the places I mentioned above) in code where I have to change the rows and columns value of my checkerboard?

from camera-calibration.

TehseenHasan avatar TehseenHasan commented on August 30, 2024

I have updated the code of the calibration_GUI.py file and submit a pull request having some changes where I applied configuration variables for custom Checkerboards. Please check that and if It is OK then merge it thanks.
#3 (comment)

from camera-calibration.

ObeidaElJundi avatar ObeidaElJundi commented on August 30, 2024

Merged! Thanks 👍

from camera-calibration.

Related Issues (3)

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.