Hi, I have a cpp code developed to track the parts of the structure in video frame based on the Template Matching technique (https://docs.opencv.org/2.4/doc/tutorials/imgproc/histograms/template_matching/template_matching.html)
Is there any way to estimate the 2d pose of the tracking area based on known distances of the captured structure, camera matrix and dist coefficients. I believe 3d estimation would be impossible using this technique. Ideally, looking to resolve some transformation matrix between the structure's coordinate system (x,y) and the camera's coordinate system, and use that matrix to estimate the pose of the tracking area. I am new to the coding so would appreciate a detailed answer.
thanks.