How to manage memory constraint and increase speed for 1 vs rest image similarity comparison for over 100k images for computer vision?
One option is locality-sensitive hashing (LSH) which hashes similar input items into the same &quot;buckets&quot; with high probability. LSH is frequently used for near-duplicate image detection, a variation of your problem.