This script is to transform output camera parameters of texture optimization project to colmap format. Below is the procedure to use it and reconstruction using colmap.