Skip to content

The Graphicsearch: an Elasticsearch based image search engine powered by deep learning

License

Notifications You must be signed in to change notification settings

akeyhero/graphicsearch

Repository files navigation

The Graphicsearch

The Graphicsearch provides simple image search backend.

Start the app

$ docker-compose up

For a production use, you may be happy to use docker-compose_production.yml rather.

$ docker-compose -f docker-compose_production.yml up

API Docs

Visit: localhost:8000/redoc

Create an index

You may need to create an index for the first time to access to the app.

$ docker-compose exec app bash -c "(echo 'from elasticsearch_interface import ElasticsearchInterface'; echo \"ElasticsearchInterface('image_net_b0').create_index()\") | python"

Index an image

$ curl -XPOST -F file=@/path/to/image.jpg localhost:8000/index

Search images

$ curl -XPOST -F file=@/path/to/image.jpg localhost:8000/search

About

The Graphicsearch: an Elasticsearch based image search engine powered by deep learning

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published