Agisoft Metashape
Agisoft Metashape => Python and Java API => Topic started by: PierreB on June 10, 2022, 11:12:04 PM
-
Hi. Once again, I'm looking to code in Python the parameters of a GUI window, this time the GPS/INS offset parameters of the Camera Calibration window. Does anyone have python code for this? Thank you.
-
Hello Pierre,
Reference values for the corresponding calibration group (sensor) can be accessed via:
sensor = chunk.sensors[1]
xyz_ref = sensor.antenna.location_ref #3-component vector
ypr_ref = sensor.antenna.rotation_ref #3-component vector
If you need to access the estimated values, use sensor.antenna.location and sensor.antenna.rotation.