I think it would be great to integrate this with "solr search". I will try to implement this when i finish my current project.

Comments

ebeyrent’s picture

I'm not so sure; take a look at the visual_search_api_do_visual_search() function in visual_search_api.module. I have no idea how you would achieve this in Solr...

marcoka’s picture

by somehow using the functions to ectract the color of images, put them into a cck field/database, and creating a custom facet for searching with a color picker :)

ebeyrent’s picture

That won't get you very accurate results. When you pick a color with the color picker, you want to find all images that not only contain that color in a certain percentage, but also colors that are similar to the selected color within a certain range of hue and saturation.

My first attempts at this module did what you suggested, and the search results were simply awful, because images are made up of pixels containing ranges of reds, blues, and greens. My second attempt was to try to generate a list of colors to search for, and again, the results were not good.

To get the best results, you need to figure out how to do a proximity search with Solr, which is what the module currently does in the function I referenced in #1.

user654’s picture

Version: » 6.x-1.x-dev

.

ebeyrent’s picture

Status: Active » Closed (won't fix)

I have no plans to do this.