Skip to content

A search engine that uses CLIP to make the content of images searchable. Used datasets are Unsplashed, Flikr and Coco.

Notifications You must be signed in to change notification settings

LukaZdr/multimodal_image_processing_search_engine

Repository files navigation

An image search engine that uses CLIP to make the content of images searchable. Used datasets are Unsplashed and Coco.

This example searches for "dog in traffic" in the coco dataset.

Setup

If you want to download preprocessed data:

Download the already preprocessed dataset here https://cloud.mafiasi.de/s/tLEiMdXYpnEfZma.

Unzip this zip file into the main dir of that directory. The repo should now look like the one shown under "Project structure".

If you want to build the dataset yourself:

Run both ipynb from beginning to end. This may take some time as the coco dataset alone is over 25GB in size. However, after completely running both notebooks your resulting Repo should look like the one shown in "Project structure".

Running the app

To run the app first follow the instructions listed in the setup.

Afterwards run:

export FLASK_APP=mipse
flask run

Project structure

├── README.md
├── coco_dataset
│   ├── features.npy
│   ├── photo_data.csv
│   └── photo_ids.csv
├── coco_dataset_preperation.ipynb
├── Evaluation.ipynb
├── mipse.py
├── search_engine.py
├── static
│   ├── css
│   │   └── main.css
│   └── images
│       ├── favicon.ico
│       └── logo.png
├── templates
│   ├── layout.html
│   └── main_page.html
├── unsplash_dataset
│   ├── features.npy
│   ├── photo_data.csv
│   └── photo_ids.csv
└── unsplash_dataset_preperation.ipynb

About

A search engine that uses CLIP to make the content of images searchable. Used datasets are Unsplashed, Flikr and Coco.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages