Collect candidates
Search for similarly named files and compare size, format and content. An edited image and its original serve different purposes. Even files of the same size can contain different content.
Determine the required level
Open the candidates and, if necessary, check local checksums for unchanged copies. Decide consciously which files are original, working status or finished export. Start by creating a list instead of deleting it in the first go.
Clean up in a controlled manner
Obtain a verified independent assurance and first move unclear cases to a separate review area. Before permanently deleting, check the consequences for projects and existing shares. A deletion cannot be undone by any backup or restore procedure.
Example
Two photos look the same. One is the high-resolution original, the other is a small web export. Both are preserved because they fulfill different tasks.