Executable Python code for Camera Calibration and Pose Estimation using OpenCV.
With Calibration results, a number 2 is drawn on a chess board.
ChessBoard Source: https://markhedleyjones.com/projects/calibration-checkerboard-collection
-
K
[[1.68269938e+03, 0.00000000e+00, 9.47470747e+02],
[0.00000000e+00, 1.64114821e+03, 5.20849555e+02],
[0.00000000e+00, 0.00000000e+00, 1.00000000e+00]] -
dist-coefficients
[2.38892300e-01, -1.35836436e+00, -3.11281706e-03, -1.65354415e-03, 3.01323337e+00]
-
Pose Estimation
** video DEMO: https://www.youtube.com/watch?v=oTKpX_Qczgc