How can I have Agisoft try to align photos that fail the first try of camera alignment? for example, I am getting some holes in my stitched image and if I manually right click on the image that failed and choose align selected cameras, the camera becomes aligned and working. How to do the same in script?
for camera in doc.chunk.cameras:
if not camera.transform:
# what code here to try to align a camera?
print(camera.label)
doc.chunk.alignCameras(?, ?)