Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect checkerboard pattern detection #608

Open
shrutarv opened this issue Apr 14, 2023 · 8 comments
Open

Incorrect checkerboard pattern detection #608

shrutarv opened this issue Apr 14, 2023 · 8 comments
Labels
debugging Might be a bug, needs to be looked into

Comments

@shrutarv
Copy link

I have used multiple combinations of checkerboard patterns for calibration. But, kalibr does not detect the corners in an ordered way. please have a look at the attached image. Is this just a visualization error? Please help me resolve this.
issue
Screenshot from 2023-04-14 10-37-28

@goldbattle goldbattle added the question Theory or implementation question label Apr 14, 2023
@goldbattle
Copy link
Collaborator

No, this is the problem of using checkerboards (it isn't clear the ordering so you can have it "flip" mid way through a dataset). This is also why it is not possible to have a square checkerboard. See the top of the wiki page:
https://github.com/ethz-asl/kalibr/wiki/calibration-targets

@shrutarv
Copy link
Author

I tried with april grid. But, kalibr does not detect the grid patterns. Please have a look at the screenshot
detection_issue

@goldbattle
Copy link
Collaborator

Is this a thermal camera? The contrast seems very low. Likely it is a resolution or focus problem with your sensor.

@shrutarv
Copy link
Author

It is an event camera. I adjusted the focus. The image is slightly better. But, still detections are low.
issue
The second image is a RGB camera.

RGB camera

@shrutarv
Copy link
Author

No, this is the problem of using checkerboards (it isn't clear the ordering so you can have it "flip" mid way through a dataset). This is also why it is not possible to have a square checkerboard

I also tried with a 6x9 checkerboard pattern. Please have a look at the second image. It looks like there is a bug in kalibr. Could you please hep me out here.

@goldbattle
Copy link
Collaborator

The detection of the checkerboards look ok in your original posting. What is the problem or could you clarify?

See the example here:
https://docs.opencv.org/3.4/d4/d94/tutorial_camera_calibration.html
image

Maybe you are referring to the colors not being per-row in your picture? This maybe is a bug in visualization or how the extractions are tracked. Is this what you mean / could you clarify? I originally thought you were talking about that detection can be on the horizontal rows or the vertical columns.

@shrutarv
Copy link
Author

Yes, I meant the the colors not being per-row in the visualization. Should I ignore that and trust the calibration?

@goldbattle goldbattle added debugging Might be a bug, needs to be looked into and removed question Theory or implementation question labels May 24, 2023
@goldbattle
Copy link
Collaborator

Very good point, should be looked into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debugging Might be a bug, needs to be looked into
Projects
None yet
Development

No branches or pull requests

2 participants