oliver-batchelor / multical

Multi-camera calibration using one or more calibration patterns
Other
373 stars 67 forks source link

Can multical be used for multi cameras both intrinsic and extrinsic calibration together? #3

Closed chaytonmin closed 3 years ago

chaytonmin commented 3 years ago

Can multical be used for multi cameras both intrinsic and extrinsic calibration together?

oliver-batchelor commented 3 years ago

Yes.

On Tue, 4 May 2021 at 1:40 PM, minchen @.***> wrote:

Can multical be used for multi cameras both intrinsic and extrinsic calibration together?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/saulzar/multical/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAITRZOMRZOONTQVY4DQECDTL5GBHANCNFSM44BZ5RFQ .

chaytonmin commented 3 years ago

Screenshot from 2021-05-04 09-28-11

I met the error as above. However, I have installed the packege of apriltags2-ethz.

Screenshot from 2021-05-04 09-37-58

chaytonmin commented 3 years ago

Screenshot from 2021-05-04 09-28-11

I met the error as above. However, I have installed the packege of apriltags2-ethz.

Screenshot from 2021-05-04 09-37-58

The problem was caused by that multical uses another python.

chaytonmin commented 3 years ago

Can you provide the pdf format of Calibration Target for example_boards? Thanks!

oliver-batchelor commented 3 years ago

Ah - thanks for checking.

Here's my workflow for making board images:

multical show_boards example_boards/charuco_16x22.yaml --paper_size A2 --pixels_mm 10 --write images
Using boards:
charuco_16x22 CharucoBoard {type='charuco', aruco_dict='4X4_1000', aruco_offset=0, size=(16, 22), marker_length=0.01875, square_length=0.025, aruco_params={}}
Wrote images/charuco_16x22.png

Then open up images/charuco_16x22.png in gimp and print-to-file with the margins set to zero and the paper size set to A2. The 9x9 Aprilgrid board can work the same way, except that it's square so does not have a standard paper size - I think ours is 800x800mm, so you can make an image for it e.g.

multical show_boards example_boards/aprilgrid_9x9.yaml --paper_size_mm 800x800 --pixels_mm 10 --write images

But I'm not entirely sure how to convert that to a square pdf. I think we just sent it to the print shop as a png image to get that one printed.

chaytonmin commented 3 years ago

Ah - thanks for checking.

Here's my workflow for making board images:

multical show_boards example_boards/charuco_16x22.yaml --paper_size A2 --pixels_mm 10 --write images
Using boards:
charuco_16x22 CharucoBoard {type='charuco', aruco_dict='4X4_1000', aruco_offset=0, size=(16, 22), marker_length=0.01875, square_length=0.025, aruco_params={}}
Wrote images/charuco_16x22.png

Then open up images/charuco_16x22.png in gimp and print-to-file with the margins set to zero and the paper size set to A2. The 9x9 Aprilgrid board can work the same way, except that it's square so does not have a standard paper size - I think ours is 800x800mm, so you can make an image for it e.g.

multical show_boards example_boards/aprilgrid_9x9.yaml --paper_size_mm 800x800 --pixels_mm 10 --write images

But I'm not entirely sure how to convert that to a square pdf. I think we just sent it to the print shop as a png image to get that one printed.

Thanks a lot! I will try it.