Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Log in
Sign up
STMap export through the Python API
Started by Hugh, March 28, 2022, 06:20:51 PM
Previous topic
-
Next topic
Print
Go Down
Pages
1
User actions
Hugh
Newbie
Posts: 19
Logged
STMap export through the Python API
March 28, 2022, 06:20:51 PM
I'm trying to figure out how to export STMaps of the camera calibrations using the Python API.
In the UI, it's in the Camera Calibration window, and when I click the "save" icon, I get a list of optional formats.
In the Python API, there is the Metashape.CalibrationFormat enum, which contains all of the options in the UI except for STMaps.
If there a different way to do this export, or has the enum not been updated in the API to allow this?
Thanks
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 15,755
Logged
Re: STMap export through the Python API
#1
March 28, 2022, 08:41:23 PM
Hello Hugh,
At the moment STMaps export via Python API is not supported, but we will try to update API as soon as possible.
Best regards,
Alexey Pasumansky,
Agisoft LLC
Hugh
Newbie
Posts: 19
Logged
Re: STMap export through the Python API
#2
March 29, 2022, 12:50:47 PM
Thanks Alexey,
I appreciate your response, and it's good to know that I'm not missing anything
Hugh
Newbie
Posts: 19
Logged
Re: STMap export through the Python API
#3
April 01, 2022, 05:02:04 PM
So for reference, I figured out how to do this in the current API...
camera.calibration.save
(export_path, Metashape.CalibrationFormat(13))
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 15,755
Logged
Re: STMap export through the Python API
#4
April 04, 2022, 04:53:41 PM
Hello Hugh,
In the version 1.8.3 pre-release Metashape.CalibrationFormat.CalibrationFormatSTMap enum has been added.
To download the pre-release version you can just modify the version number in the release version link:
https://www.agisoft.com/downloads/installer/
Best regards,
Alexey Pasumansky,
Agisoft LLC
Hugh
Newbie
Posts: 19
Logged
Re: STMap export through the Python API
#5
April 04, 2022, 06:17:39 PM
Thanks Alexey, I appreciate the update on this.
Hugh
Newbie
Posts: 19
Logged
Re: STMap export through the Python API
#6
April 06, 2022, 11:52:06 AM
Is there pre-release documentation available? I tried downloading the Python API docs for 1.8.3, but I got a "file not found" error. I was hoping to see the changelog of what else had changed.
Thanks
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 15,755
Logged
Re: STMap export through the Python API
#7
April 06, 2022, 12:14:34 PM
Hello Hugh,
Not available for pre-release yet. Updated API Reference and change log will be available, when 1.8.3 version will be released officially.
Best regards,
Alexey Pasumansky,
Agisoft LLC
Hugh
Newbie
Posts: 19
Logged
Re: STMap export through the Python API
#8
April 06, 2022, 04:08:45 PM
Got it - thanks Alexey
Print
Go Up
Pages
1
User actions
Agisoft Metashape
►
Agisoft Metashape
►
Python and Java API
►
STMap export through the Python API
User actions
Print
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)