UTDRobosub / librobosub

UTDRobosub 2017-2019: Autonomous Computer Vision and Navigation Library
0 stars 0 forks source link

interactive-calibrationv2/ #1

Closed yuyadanyadan closed 4 years ago

yuyadanyadan commented 5 years ago

Hi I use your code in interactive-calibrationv2 to calibrate my camera with charuco board. I get the result is not good. Do you know why? Thank you very much!

smo-key commented 5 years ago

Hi @yuyadanyadan,

The code in interactive-calibrationv2 is very similar to the demo provided in opencv. For a slightly more complex example, you can try https://github.com/opencv/opencv/blob/master/samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp.

We got good results on a few cameras using interactive-calibrationv2 (some wide angle, some not) after taking 15 or so images of the default charuco board in several positions.

A couple tips to ensure you get good images: