Skip to content

Amit-Hora/ESImageSearching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ESImageSearchinge

ES Version required 1.0.1 To get ES+ Lire working you need to install LIRE plugin for ES The Image Plugin is an Content Based Image Retrieval Plugin for Elasticsearch using LIRE (Lucene Image Retrieval). It allows users to index images and search for similar images.

It adds an image field type and an image query

See http://demo.elasticsearch-image.com for a demo of the plugin

In order to install the plugin, simply run: bin/plugin -install com.github.kzwang/elasticsearch-image/1.2.0.

You need to cerate index with name images in ES with following mapping

{

 "mappings" :{
    "image": {
        "properties": {
            "name": {
                "type": "string"
            },
            "path":{
            	"type":"string"
            },
            "image": {
                "type": "image",
                "feature": {
                    "CEDD": {
                        "hash": "BIT_SAMPLING"
                    },
                    "JCD": {
                        "hash": ["BIT_SAMPLING", "LSH"]
                    },
                    "FCTH": {}
                }
            }
        }
    }
     }

}

Edit env.properties file under resource folder to point to your ES/Hadoop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published