Hi Folks,
Working on some scripting and have run into a road-block. I've got a script set-up to re-cursively test accuracy settings for the initial alignment.
I've got a list containing the Accuracy Settings (PhotoScan.HighAccuracy, PhotoScan.MediumAccuracy)
When I try to pass one of these values to the matchPhotos parameter I get the error
2016-02-24 14:30:08 TypeError: argument 1 must be PhotoScan.Accuracy, not str
I understand the error, the program doesn't want a string (which is what I'm serving it from the list) via my iterator. Is there a way to get around this, by somehow converting my string into something PhotoScan will accept?
I've made a separate version of the script where the accuracy settings are hard coded that works fine as a back-up. I just want to clean this up, so I can make quicker changes as required.
Thank you,
Ian