I have 3 frames. I am trying to calculate the camera pose at third frame by iterative optimization. Using the first two frames, I've calculated 3D points by triangulation. Then, I projected some of these points onto the 3rd frame. Now, I can find the re-projection error but couldn't figure out how to optimize it with sparse solvers.
I'm prototyping with python. I decided to use the g2opy library for the whole project. I've already looked through the examples but there is no detailed information and no documentation. The examples are about full/sparse bundle adjustment and pose graph optimization.
Can you suggest any documentation / example ?