Lots of unkown

 From:  Michael Gibson
8665.51 In reply to 8665.50 
Hi Cemortan_Tudor, that would probably be a pretty time consuming script to create, so it's probably not too likely to happen.

I'd recommend using already existing methods with other software, for example SketchUp:
https://help.sketchup.com/en/article/3000115

or Blender with BLAM:
https://blender.stackexchange.com/questions/33625/still-frame-camera-solve/33628

or here is a more manual method:
https://www.fxphd.com/tips/finding-the-cameras-position-tutorial/

or another method using Blender again:
http://www.chocofur.com/camera-matching-tutorial-in-blender.html

- Michael