Scripting and Notebooks - cyverse-gis/suas-metadata GitHub Wiki
Python Scripting from within the Agisoft Photoscan GUI
Agisoft supports Python scripting within an instance of Photoscan.
You can work on these scripts by starting an instance of Photoscan using TurboVNC.
Jupyter Notebook-based processing
I can execute pre-written Python scripts which call the Photoscan executable from a Jupyter notebook.
Python scripts need to be in the Photoscan home e.g. ~/photoscan-pro/scripts directory
I do this individually in notebook cells which call Bash using the ! at the start of each line for Python notebooks:
photoscan.sh -r ~/photoscan-pro/scripts/do_the_thing.py