I think it would be great to integrate this with "solr search". I will try to implement this when i finish my current project.
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
Comment #1
ebeyrent commentedI'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...
Comment #2
marcoka commentedby 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 :)
Comment #3
ebeyrent commentedThat 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.
Comment #4
user654 commented.
Comment #5
ebeyrent commentedI have no plans to do this.