Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
➜ sample imagedups . --search -f 92bc12786d430083be1e166a2174b4888ba0b4ba.jpg
Traceback (most recent call last):
File "/usr/local/bin/imagedups", line 228, in <module>
File "/usr/local/bin/imagedups", line 60, in main
File "/usr/local/bin/imagedups", line 90, in cmd_search
self.compare_with_db(hashdb, self.args.samplefile)
File "/usr/local/bin/imagedups", line 193, in compare_with_db
for fname, distance in hashdb.query(imghash, threshold):
File "/usr/local/lib/python3.3/site-packages/imagedups/", line 79, in query
distance = imghash.distance(hash_b)
AttributeError: 'int' object has no attribute 'distance'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.