Hi Alexey,
I tried to adapt the code above, but keep getting the error below:
chunk.addPhotos(img_list)
u_calib = PhotoScan.Calibration()
u_calib.load(os.path.join(cameraPath,"calib.xml"), "xml")
print(chunk.sensors[0].fixed)
chunk.sensors[0].fixed = True
>True ### (The camera group appears to have fixed calibration, even though at the GUI "Fix Calibration" is not ticked)
>sensor.fixed = True
AttributeError: 'PhotoScan.Sensor' object attribute 'fixed' is read-only
What am I doing wrong, could you please advise?
thanks