Inside the Metashape GUI I find that sometimes just running "Match Photos" twice automatically improves things. That being without the 'reset' checkbox checked. Was curious to know how I replicate that in the python scripting, as documentation seems kind of ambiguous about this.
Would I go:
chunk.matchPhotos(accuracy=Metashape.HighestAccuracy, preselection=Metashape.GenericPreselection, filter_mask=False, keypoint_limit=0, tiepoint_limit=0)
chunk.alignCameras()
chunk.matchPhotos(accuracy=Metashape.HighestAccuracy, preselection=Metashape.GenericPreselection, filter_mask=False, keypoint_limit=0, tiepoint_limit=0)
chunk.alignCameras()
Or would I go:
chunk.matchPhotos(accuracy=Metashape.HighestAccuracy, preselection=Metashape.GenericPreselection, filter_mask=False, keypoint_limit=0, tiepoint_limit=0)
chunk.alignCameras()
chunk.alignCameras()
?
I can't tell if running the operation twice through the editor is running both matchPhotos and alignCameras twice, or if matchPhotos only runs once, then alignCameras gets run twice.
Also how good or bad is it to leave keypoint and tiepoint limit to 0? Someone told me it's best to do that in photoscan, is that still true in Metashape?