Calibrating the camera means searching for the internal parameters of the camera. It is necessary, of course, if you want to successfully find natural functions here , I will explain why.
Then you need to look only for external parameters . You only need to perform the calibration once, since the camera is always the same (given that you cannot zoom in / out, change the focal length, etc.). Without calibrating the camera, you will have many problems for the task of tracking natural functions, since it is more complicated than tracking fiduciary remedies.
In the link I gave you, you will also find how to calculate a pose from a planar marker. This is theoretical, but you can find a lot of code on the Internet. If you need more help, tell me, I can explain in more detail if necessary.
source share