The problem with stack overflow is that you need to know enough about the domain you’re working in to describe it accurately enough to search and find that previous great answer.
If you have no clue, and then naively ask the no-clue kinds of questions, because you have no clue, then you get beaten over the head about not searching for the existing answer that you don’t know how to search for.
I don’t think there’s anything commercially available that can do it.
However, as an experiment, you could:
You could probably/eventually script this kind of operation if you have software that can automatically identify and group images.