Python scripting

Questions related to Python API in Metashape Professional

Where to find general Python scripts for Metashape (PhotoScan) Professional
Python scripts for Agisoft Metashape Professional 1.5+ (and PhotoScan Professional 1.3, 1.4) are available in GitHub repository: https://github.com/agisoft-...
Thu, 10 Jan, 2019 at 3:46 PM
How to run the script in headless mode from the command-line
To run the script from the command line without using Agisoft Metashape Professional GUI you need to use"-r" argument, like in the examples below ...
Tue, 1 Jan, 2019 at 2:16 PM
How to run Python script automatically on Metashape Professional start
In order to execute the script automatically when Agisoft Metashape Professional instance is run you need to place Python script to the following folder: ...
Tue, 1 Jan, 2019 at 2:18 PM
How to install external Python module to Metashape Professional package
To install external Python module to the package provided with Agisoft Metashape Professional it is necessary to perform the following command from the comm...
Fri, 1 Mar, 2019 at 1:59 PM
How to calculate estimated Exterior Orientation parameters for the cameras using Python
The example below shows how to calculate the exterior orientation parameters (location and orientation angles) for the camera in the georeferenced chunk: ...
Tue, 1 Jan, 2019 at 2:21 PM
Function .buildDenseCloud() doesn't work anymore in 1.5
Starting from the version 1.4 the dense cloud generation task has been split into two parts - depth maps generation and dense cloud generation: chunk.bu...
Tue, 1 Jan, 2019 at 2:14 PM