SIS

Open source

SIS is a small image search engine in Python that uses VGG16 features with Keras and Flask, built for teaching how image retrieval works.

yusukematsui.me
SIS homepage screenshot
GitHub stars
780
Last 30 days
+2(+0%)
Last commit
5 yr ago
Repository age
9 years
Licence
MIT
Self-hosted
Yes

About SIS

SIS, short for Simple Image Search Engine, is a compact image-based search tool written by Yusuke Matsui of the University of Tokyo. It was written for a one-hour hands-on seminar on building an image search engine from scratch, and the project page says the engine is just 43 lines of Python plus 24 lines of HTML.

Two scripts do the work. The offline script extracts a 4096-dimensional fc6 activation from a VGG16 model with ImageNet weights for every image in the database. The server script runs a Flask web interface where you send a query image, and it finds similar images with a simple linear scan.

You put JPG files in a static folder, run the extraction script, then start the server on port 5000. GPUs are not required, and it was tested on Ubuntu 18.04 and WSL2. The README also describes launching it on an AWS EC2 instance and suggests uWSGI with nginx, or AWS App Runner, for sturdier deployments.

Key features

  • Image-based search using a query image
  • Deep features from a pretrained VGG16 network
  • Web interface for sending query images
  • Runs without a GPU
  • Can be deployed on AWS EC2
  • Started with two Python scripts

Good fit for

  • Teaching image retrieval
  • Searching a small local image collection
Tags
image-search
python
flask
keras
search-engine
machine-learning

SIS: questions and answers

What is SIS used for?
SIS is a small image search engine in Python that uses VGG16 features with Keras and Flask, built for teaching how image retrieval works. It is a good fit for teaching image retrieval and searching a small local image collection.
Is SIS open source?
Yes. SIS is open source under the MIT licence. Its source code is on GitHub at matsui528/sis and is written mainly in Python.
Is SIS free?
Yes. SIS is open source, so the software itself is free to use.
Can I self-host SIS?
Yes. SIS can be self-hosted on your own server or infrastructure.
What are some alternatives to SIS?
Similar open-source tools in the Search category include SearXNG, Mwmbl and SearX. SaaS products in the same category include Yandex Search, DuckDuckGo and Google Programmable Search Engine.
Is SIS actively maintained?
The most recent commit to SIS was on 14 November 2021. The project has 780 stars on GitHub, with 2 added in the last 30 days.

Open-source alternatives to SIS

See all

SaaS alternatives to SIS

See all