python - Calculating hamming distance with mongodb? -


say i've got large set of documents contain perceptual hashes (around 35,000), fastest way can (using mongodb) compare given hash x hashes in database , find ones distance less n.

i'm using python way, i'm assuming isn't possible natively in mongo, maybe possible optimize somehow?


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -