Metashape Python Reference

[Pages:173]Metashape Python Reference

Release 1.5.0 Agisoft LLC

Dec 28, 2018

1 Overview 2 Application Modules 3 Python API Change Log Python Module Index

CONTENTS

3 5 151 169

i

ii

Copyright (c) 2018 Agisoft LLC.

Metashape Python Reference, Release 1.5.0

CONTENTS

1

Metashape Python Reference, Release 1.5.0

2

CONTENTS

CHAPTER

ONE

OVERVIEW

1.1 Introduction to Python scripting in Metashape Professional

This API is in development and will be extended in the future Metashape releases. Note: Python scripting is supported only in Metashape Professional edition. Metashape Professional uses Python 3.5 as a scripting engine. Python commands and scripts can be executed in Metashape in one of the following ways:

? From Metashape "Console" pane using it as standard Python console. ? From the "Tools" menu using "Run script..." command. ? From command line using "-r" argument and passing the path to the script as an argument. The following Metashape funtionality can be accessed from Python scripts: ? Open/save/create Metashape projects. ? Add/remove chunks, cameras, markers. ? Add/modify camera calibrations, ground control data, assign geographic projections and coor-

dinates. ? Perform processing steps (align photos, build dense cloud, build mesh, texture, decimate model,

etc...). ? Export processing results (models, textures, orthophotos, DEMs). ? Access data of generated models, point clouds, images. ? Start and control network processing tasks.

3

Metashape Python Reference, Release 1.5.0

4

Chapter 1. Overview

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download