Problem:
I am trying to remove duplicate images, that are located in different folders. Each image captured has a unique name, e.g. DJI_20240910143418_0013_V. Duplicates processed to same location, but produce erroneous final results if included.
Attempts:
1) Previous scripts remove duplicate images, once chunks are merged based on folder locations i.e path (camera.photo.path). In my case, someone generated a large project alignment, with many images, some of which are duplicate images located in different folders (paths). Tried all available scripts i could find.
2) Have also tried the last entry (Topic: Delete duplicate photos? By: mwillis - June 17, 2022) which should disable duplicate images based on name length. Unfortunately this does not work in 2.1.3 and all images remain.
I have tried running the script in Run Script command, and enabeling "Enable rich python console" and pasting / running script in terminal. No success.
Request:
Please could you assist with a script to remove all duplicate images base on image name, and not relative to path. If it could go further and look at the image name and capture date/time metadata for other users that will search this that have duplciate names (e.g. DJI0001) but different times, brilliant too, but not critical here.
Version:
Metashape 2.1.3
Thank you.