Ryan Henderson

Results 45 comments of Ryan Henderson

I can't reproduce it, but I'm still using elasticsearch 2.x: ```python import elasticsearch from image_match.elasticsearch_driver import SignatureES es = elasticsearch.Elasticsearch() es.indices.create('tester') ses = SignatureES(es, index='tester') ses.add_image('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg/687px-Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg') list = ses.search_image('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg/687px-Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg') print(list)...

I can't help without something I can reproduce myself. Hard to say when it's stuff that's in your db already. Can you reproduce it in a self-contained script with a...

Ok, so if I add all the the images in the archive and then search against this URL, there are no matches but you expect one (or many)? I'll try...

Ok thanks, I'll check it out

Hey @rezaAdie any insight? I'm on vacation for the holidays, no ETA from my end

All images are greyscaled before searching. However, black and white are opposite colors, so perhaps try `all_orientations=True` in the search function. This will include a color inversion.

Thanks for the tip, I will look into it if I have time. It actually appears to be working now, aside from a failed equals: https://travis-ci.org/ascribe/image-match

One idea: at the moment, signatures are stored as big int arrays, e.g.: ``` [-1, -2, 0, 0, 1, ... , 4, -1] ``` And inserted directly into the database....

The space savings are not insignificant, especially if you are storing billions of records. For context, I did a little experiment with 100 images and made three different indexes --...

Another (complementary) route, is to remove the extraneous zeros from the signature -- any grid point on an edge with missing neighbors gets a zero for the difference. These are...