Hi Alexey
Iv been trying to export and undistort my cameras to new folder with some python script , i found few old scripts but they dont work , Iv tried to modify them without any results positive, that my code
import PhotoScan
import os, sys
os.mkdir("F:\\Ps\\res_photo\\undisorted_done")
os.mkdir("F:\\Ps\\res_photo\\undisorted_done\\HD") #creation new directory 1st-undisorted_done, 2nd HD
my_dir = ("F:\\Ps\\res_photo\\undisorted_done")
chunk = doc.chunk #active chunk
camera = chunk.cameras[0]
image = camera.photo.image()
calib = camera.sensor.calibration
undist = image.undistort(calib,True, True)
save_img = os.path.join(my_dir)
undist.save(save_img) #path should be defined
Have an error
Out[32]: 2017-12-08 15:04:43 False
How we can modify it Alexey ? I want to Undisort (without calibration) my cameras and safe them into new folders 'undisorted_done' and 'HD' how we can do this with python script , what i have to modify??