Hi Alexey
Few days ago iv tried this script to remove all duplicate images from my workspace with works well with low number of images :
import PhotoScan, os
chunk = PhotoScan.app.document.chunk
print("start")
photos = set()
for camera in list(chunk.cameras):
if camera.photo.path in photos:
chunk.remove(camera)
else:
photos.add(camera.photo.path)
Problem starts when after few actions like merge etc and several chunks from 60k cameras I go up to 300k(all doubles) and when I tried to started this script its was like turning about 4 hours without any results , then iv breaked it , takes to long time, did it is possible to optimize this script and get it run faster ?? Iv tried few others(similar pythons scripts) method but no one of them works with PS. Did we vgot some solution Alexey or we cant do it together with PS??