1 | initial version |
You can check this paper,"Using vanishing points to correct camera rotation in images". Obviously, it's time consuming to estimate the rotation between two images, and the result is not accurate.Maybe you should consider use another device.