Author Topic: How to modify Python scripts for cloud processing  (Read 5071 times)


  • Full Member
  • ***
  • Posts: 146
    • View Profile
How to modify Python scripts for cloud processing
« on: October 16, 2023, 10:31:05 AM »
 I want to know how to use Python scripts for cloud processing,
i.e. what should I type in header of script?
To be more concrete these two scripts I would like to modify:

I found document Python API but, It' seems for me it's only available via I can see from examples. I'm apologizing if I'm wrong, but I can't quite understand it right now.
Thanks :)

Ilya Shevelev

  • Agisoft Technical Support
  • Full Member
  • *****
  • Posts: 117
    • View Profile
    • Agisoft Cloud
Re: How to modify Python scripts for cloud processing
« Reply #1 on: October 16, 2023, 11:40:59 AM »

Agisoft Cloud can be accessed via Python API with Metashape.CloudClient() class, however the available options are limited. It is available to process the project in the cloud, monitor the processing status and download results, but it is not available to execute custom scripts in the cloud.

Whether your pipeline includes Metashape processing tasks and custom post processing, we suggest you combine the cloud and local processing. For example you can send the images for alignment to the cloud, when alignment is completed you can download the processed project and perform  custom post processing locally before sending the next task to the cloud.

Best regards,
Ilya Shevelev
Agisoft LLC