Hello.
I think I don't understand something with load for calibration.
According to python api:
class PhotoScan.Calibration has method
load(path, format=’xml’)
Loads calibration from file.
Parameters
• path (string) – path to calibration file
• format (string) – Calibration format in [’xml’, ‘australis’, ‘photomodeler’, ‘calibcam’,
‘calcam’, ‘inpho’, ‘usgs’].
Returns success of operation
Return type boolean
page 11
my code :
calibration_4cameras = PhotoScan.Calibration
calibration_4cameras.load("C:\\Users\\OSLab\\Desktop\\autoprocess\\agisoft_calib.xml", format = "xml")
gives me an error
TypeError: descriptor 'load' requires a 'PhotoScan.Calibration' object but received a 'str'
What do I do wrongly ?