Hello geri,
To get the interior projection please try to use flip_x=True and flip_z=True parameters in the .buildOrthomosaic() function.
To look for the certain markers I can suggest to write some custom function, for example:
def find_markers(label, chunk):
output_list = list()
for marker in chunk.markers:
if marker.label.startswith(label):
output_list.append(marker)
if len(output_list) == 3:
return output_list
else:
print("Can't find 3 markers")
return False
chunk = PhotoScan.app.document.chunk
markers = find_markers("100130", chunk)
I think, you can build and export orthomosaic in the loop, for example:
for m_label in ["10130", "10190"]:
if chunk.orthomosaic:
chunk.orthomosaic = None #make orthomosaic not active
#find markers
#perform required operations
chunk.buildOrthomosaic(...)
chunk.orthomosaic.label = m_label
chunk.exportOrthomosaic(path = export_folder + "/" + m_label + "_ortho.tif", ...)
chunk.orthomosaic = None
So it loops through the list of labels that define the groups of markers and for each such group generated the orthomosaic, labels it correspondingly in the Workspace pane and exports under this name.