Hello,
first of all congratulations for the great software!
I have the situation described in attached screenshot.
I've already written a script to export single photo in ortho mode:
import PhotoScan
import os
import sys
app = PhotoScan.Application()
doc = PhotoScan.app.document
chunk = PhotoScan.app.document.chunk
folder = PhotoScan.app.getExistingDirectory("Select folder where to export ortho photos")
folder = os.path.normpath(folder) + os.sep
app.messageBox("Photo number: " + str(len(chunk.cameras)))
for camera in chunk.cameras:
X = camera.key
camera.enabled = True
path = folder + str(X) + ".tif"
chunk.exportOrthophoto(path, format="tif", blending=PhotoScan.MosaicBlending, color_correction=False, write_kml=False, write_world=False)
camera.enabled = False
app.messageBox("All photos exported")
The question is: how to orient exactly the plane (and cameras) with the XY plane, or is it possible to directly project photo orthogonal to my imported plane in python?
Thank you for help,
Matteo.