Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: Sina on August 15, 2022, 01:26:28 PM

Title: Automated Workflow with gradual selection
Post by: Sina on August 15, 2022, 01:26:28 PM
Hello,

I am currently working on an automatic script for a general workflow for Agisoft Metashape Pro (Version 1.8.4). I am starting the Python-Script over the cmd-line on windows 10. This all works very well. I now would like to integrate the gradual selection (Module found on GitHub). Is it possible to modify the gradual selection to work from the cmd-line, integrated in a whole workflow process?

Greetings
Sina
Title: Re: Automated Workflow with gradual selection
Post by: Alexey Pasumansky on August 15, 2022, 03:58:04 PM
Hello Sina,

Yes, you can adapt the script to be used in headless mode. Which gradual selection option you are interested in?
Title: Re: Automated Workflow with gradual selection
Post by: Sina on August 17, 2022, 12:36:26 PM
Hello,
 I am interested in integrating the gradual selection for Tie Points. Including the Reprojection Error, the Reconstruction Uncertainty, the Image Count and the Projection Accuracy.

Greetings
Sina
Title: Re: Automated Workflow with gradual selection
Post by: Sina on August 23, 2022, 10:13:31 AM
Hello,

so I just integrated this script into my automated workflow: https://github.com/agisoft-llc/metashape-scripts/blob/master/src/contrib/gradual_selection_tie_points.py

To start the Script in headless mode you just have to type in cmd: metashape.exe -r workflow.py

And it works flawlessly.

Greetings
Sina