rhsimplex / image-match

🎇 Quickly search over billions of images
2.94k stars 405 forks source link

Is it possible to ignore a feature , ex: 'color - black' in the comparison query? #82

Open moorthi07 opened 7 years ago

moorthi07 commented 7 years ago

Is it possible to ignore a feature , ex: 'color - black' in the comparison query?

I'm trying to compare two images , for example - a black hand and a white hand - they could be identical if the color can be ignored. Is it possible , any properties can be set in the queries?

Thanks.

rhsimplex commented 7 years ago

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.

moorthi07 commented 7 years ago

Thanks. But its not only about black and white. Any color that I like to filter out from search. If it is grey scaled, it wont detect the color difference, does it? Also can I highlight the matching areas?