Forum

Author Topic: How to read the Agisoft camera XML file in my own C/C++ program?  (Read 5522 times)

lakerunner

  • Newbie
  • *
  • Posts: 1
    • View Profile
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?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: How to read the Agisoft camera XML file in my own C/C++ program?
« Reply #1 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.
Best regards,
Alexey Pasumansky,
Agisoft LLC