Forum

Author Topic: Get total error values into variables  (Read 5717 times)

WSurvey

  • Newbie
  • *
  • Posts: 33
    • View Profile
Get total error values into variables
« on: August 11, 2024, 04:11:29 PM »
Hello,

I am wanting to write a script that will get the total differences from control point X,Y,Z errors and use them in another calculation to shift the camera coordinates by the error amount. Is there some way to fetch the displayed control point errors using python and pass these values to variables? If it is possible, could you show me the line of code that would do it?

Cheers.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15364
    • View Profile
Re: Get total error values into variables
« Reply #1 on: August 12, 2024, 03:40:17 PM »
Hello WSurvey,

Please refer to the following script in repository:
https://github.com/agisoft-llc/metashape-scripts/blob/master/src/save_estimated_reference.py

It shows how to get estimated and error values for cameras and markers.
Best regards,
Alexey Pasumansky,
Agisoft LLC