Forum

Get total error values into variables

Started by WSurvey, August 11, 2024, 04:11:29 PM

Previous topic - Next topic

WSurvey

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

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