I am use the following part of code for adding the reference for camera alignment. What I am not sure is the definition of the location_accuracy and the rotation_accuracy. Does it mean the feasible range of the solution should be within the giving reference location (+- 0.1) for example? If so then what is the unit of it? it means percentage or millimeter?
for cam in chunk.cameras:
ref = cam.reference
ref.location = cam.transform.translation()
ref.location_accuracy = (0.1, 0.1, 0.1)
ref.location_enabled = True
ref.rotation = Metashape.Utils.mat2ypr(cam.transform.rotation())
ref.rotation_accuracy = (5, 5, 5)
ref.rotation_enabled = True
Thanks a lot !