1
Python and Java API / save / load list of selected cameras
« on: April 27, 2018, 05:03:24 PM »
Hello,
I frequently have to reset alignment for groups of cameras when I have a project with more than 5000 photos.
I group the cameras in camera groups and choose cameras from several groups to help with realignment. Sometimes I would like to change the area of focus but it means that I have to select a new set of cameras from the groups to work on the new area. When I am ready to go back to the previous area of focus, I have to find the same group of cameras that I was using before.
I would really like a python script that will save the selected cameras into a file that I can reload later.
The file can be just a plain text file with camera names or camera ids. Doesn't matter.
When the file is loaded, the script would read each line of the file and select the camera if it exists.
Can someone help me with this? I'm using Photoscan 1.4 Professional.
Thank you!
SB
I frequently have to reset alignment for groups of cameras when I have a project with more than 5000 photos.
I group the cameras in camera groups and choose cameras from several groups to help with realignment. Sometimes I would like to change the area of focus but it means that I have to select a new set of cameras from the groups to work on the new area. When I am ready to go back to the previous area of focus, I have to find the same group of cameras that I was using before.
I would really like a python script that will save the selected cameras into a file that I can reload later.
The file can be just a plain text file with camera names or camera ids. Doesn't matter.
When the file is loaded, the script would read each line of the file and select the camera if it exists.
Can someone help me with this? I'm using Photoscan 1.4 Professional.
Thank you!
SB