realpython/image-fingerprinting

some problem

luanjunqing opened this issue · 10 comments

when i run python search.py —dataset images —shelve db.shelve —query images/5134e0c2-34d3-40b6-9473-98de8be16c67.jpg

there`s some problem like this

qq 20150518231339

Can I see your code?

The code was i cloned from the master branch,i`m not change it

the code was i download from your blog```

then i cloned the code from the github,then run gather.py,theres no error this time,but nothing happened,dont it generate a images folder?and the output.csv is empty,the screenshot like this,how to use it?thx
qq 20150519122837
qq 20150519122856

@luanjunqing Which version of OpenCV are you using?

I guess the version is 3.0.0
qq 20150519182656

Downgrade to OpenCV 2.4.X and that will take care of the errors you are getting. OpenCV 3 is in Release Candidate phase and there are still some kinks and backward compatibility issues to be resolved. As I said, revert to OpenCV 2.4.X (where X >= 8) and everything will work perfectly.

Thanks, @jrosebr1. If you still have problems, @luanjunqing, please open a new ticket.

I`ll try it later,and thx a lot bro :D