Hey Paul
Thanks for this
As great as it is to have a response so soon, I’d really appreciate if you could provide a bit more context regarding:
“ then chunk.cmeras[0] is master and chunk.cameras[n] with n = 1 to 4 are slaves....etc... “
Are these export commands? If so where to a place then?
To clarify, I simply want to be able to access ALL cameras from the lefthand side cameras tab.
Right now I have 700 Master cams, each with 5 Slave cams, so in total I want to have access to 3500 cams… I hope that makes sense
Here’s the script I’m using:
https://github.com/agisoft-llc/metashape-scripts/blob/master/src/export_for_gaussian_splatting.pyLooking at the scripting documentation here:
http://download.agisoft.com/metashape-java-api/latest/com/agisoft/metashape/Chunk.htmlSeems like I need to do something like this, but unsure how exactly, as I’m a total Python noob:
To export the slave/secondary cameras, I’ll need to modify the parts of the script that iterate over the cameras in each chunk/frame. Specifically, in the functions “get_filtered_track_structure”, “save_undistorted_images”, and “save_images”, i’lll need to iterate over not just “frame.cameras” but also “frame.camericaclusters” which contains the slave camera clusters.
For each slave camera cluster, I’ll need to extract the individual slave cameras using “cluster.cameras” and process them similar to how the primary cameras are processed.