There are some programs out there, some that just search for file names, some for metadata, some will use AI to compare the actual images. I would suggest you use a bot like ChatGPT or Google's Gemini and describe what you need in as much detail as possible, then tell it to recommend some programs for you. I had two, and neither worked very well; they made you look through thousands of files if you wanted to make sure something didn't get deleted that wasn't supposed to, and took forever to scan a large number of images.