Is the picture content dedup really NxN? #1318
Unanswered
gbarrett28
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a use case for deduping that should be a lot better than NxN and I suspect it has likely already been impemented but wanted to find out from people who know before looking in the code....
I have several resolutions of upload to google photos that I want to weed out. This means that EXIF timestamp is a pretty good indicator of similairty but not 100% reliable. I was thinking of a flow that went something along the lines of:
Within the small equivalence candidate set where EXIF values are the same or filenames correspond, we can pick the picture that would be chosen from the set if they were all equivalent and compare each file to that. Most of the time, these sets will be equivalent, so the comparison is linear in the size of the set. Where not all files are equivalent, we can refine down to the files that aren't equivalent to the one we picked first and go again. That is quadratic worst case but only exceptionally.
All reactions