Cheers Alexey!
Thank-you very much for the jump-start.
I added some variables to your code and used the PS Python Reference manual (1.3.3) for some added user-specified control (below).
import PhotoScan
# environment variables
qual=0.7 # image quality value below which cameras are disabled
keylim=60000 # key point limit for matching
tielim=6000 # tie point limit for matching
# processing loop
for chunk in PhotoScan.app.document.chunks:
chunk.estimateImageQuality(chunk.cameras)
for camera in chunk.cameras:
if float(camera.photo.meta["Image/Quality"]) < qual:
camera.enabled = False
chunk.matchPhotos(accuracy = PhotoScan.MediumAccuracy,keypoint_limit=keylim, tiepoint_limit=tielim)
chunk.alignCameras()
Hopefully someone else will find useful.
Cheers,
Will