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

Stereo calibration not detecting all charuco markers properly #1027

Open
vixp24 opened this issue Aug 23, 2024 · 1 comment
Open

Stereo calibration not detecting all charuco markers properly #1027

vixp24 opened this issue Aug 23, 2024 · 1 comment

Comments

@vixp24
Copy link

vixp24 commented Aug 23, 2024

Hi there,

I am trying to get stereo calibration running with the cameracalibrator node. While running the tool, I get only partial aruco marker detections while some marker detections look wrong. Has anyone seen anything this like, or have any pointers on what could be wrong? I have tried rolling and humble branches, both with the same issue.

I have successfully done chessboard calibration with the same tool, and am only getting this issue with the charuco pattern. I have also tried a differenct charuco boards (5x5 dict, but same size), and I get the same result.

Here is my command:
ros2 run camera_calibration cameracalibrator --no-service-check --pattern='charuco' --size 8x11 --square 0.022 --charuco_marker_size=0.016 --aruco_dict='4x4_100' --approximate=0.01 --ros-args --remap right:=/right/image_raw --remap left:=/left/image_raw --remap left_camera:=/left --remap right_camera:=/right

Screenshot from 2024-08-23 11-03-47

It is my first time attempting charuco calibration, so any help is appreciated!

Thank you

@vixp24
Copy link
Author

vixp24 commented Aug 23, 2024

Changed the command to use --size 12x9 instead, and the detection looks much better now. The colours on a given row are not all the same however, and there is always one strand left - does this matter?
Screenshot from 2024-08-23 14-56-12

Sounds like there may be a mixup with the row & column parsing from the size parameter. When I use the "chessboard" type for the same checkerboard size, I used --size 8x11 and it looks normal like below:
Screenshot from 2024-08-23 14-59-43

At the very least, maybe the size parameter help documentation should be updated to indicate this?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant