Introduction - If you have any usage issues, please Google them yourself
camera calibration matlab code
i attached image file and code
this can calculate A matrix, K matrix, P matrix.
but you must check and insert image points set by your hand.
open image-> click and confirm (x,y). and insert mat( , )
this it input data.