I've a camera at known location and rotation from where an image of a model is rendered (Top left of the figure). The camera is randomly translated and rotated to a very close unknown location and rotation (bottom left of the figure) and another image is rendered again. My task is to find the final camera location and rotation without using the values of location and rotation from the blender directly, but by matching the two images.
Scene information (vertices, edgelist) can be used for the 1st image, however, scene information for the 2nd image cannot be used and only the rendered image should be input.
I don't want to bias any of your thoughts, but, as a beginning though, I tried to match the lines derived by the freestyle rendering (top right and bottom right) and then matching them. However, the process of line matching and pose estimation is comprehensive and implementation in Python gets too complex. Hence, I'm asking if there's a straight forward way to do that in Blender.