Agisoft Metashape

Agisoft Metashape => Camera Calibration => Topic started by: lakerunner on October 28, 2019, 05:05:45 AM

Title: How to read the Agisoft camera XML file in my own C/C++ program?
Post by: lakerunner on October 28, 2019, 05:05:45 AM
Now I need to import the Agisoft cameral XML file in my C/C++ program.

I understand the format of XML file, but writting the C/C++ code to parse it is a little messy. 

I also tried the bundle format, but bundle format loses cx cy offset.

Is there any code or sdk that I can directly use to import Agisoft  cameral XML?
Title: Re: How to read the Agisoft camera XML file in my own C/C++ program?
Post by: Alexey Pasumansky on October 28, 2019, 01:13:57 PM
Hello lakerunner,

If you are using Professional edition of Metashape you can export the calibration parameters in custom format using Python API.