Skip to content

Instantly share code, notes, and snippets.

@herrbuerger
Created February 27, 2014 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save herrbuerger/9249908 to your computer and use it in GitHub Desktop.
Save herrbuerger/9249908 to your computer and use it in GitHub Desktop.
➜ sample imagedups . --search -f 92bc12786d430083be1e166a2174b4888ba0b4ba.jpg
92bc12786d430083be1e166a2174b4888ba0b4ba.jpg
Traceback (most recent call last):
File "/usr/local/bin/imagedups", line 228, in <module>
prog.main()
File "/usr/local/bin/imagedups", line 60, in main
self.cmd_search()
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/hashdb.py", 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