Abhiswain97 / Search-Engine

Search or tag images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Search-Engine

The project has an accompanying blog: Building an Image Search/Tagging Engine

Search or tag images

image

image

image

image

How to run

  1. Clone the repository: git clone https://github.com/Abhiswain97/Search-Engine.git

  2. Install the requirements: pip install -r requirements.txt

  3. Downloading the imagenette2-320 file:

    • Download the folder from this link

    • This will be a ".tgz" file. Extract it.

    • You will get a ".tar" file inside it, extract that as well.

    • Now you need to just copy the "val" folder to the first "imagenette2-320" folder, rest you can delete. It should look something like this:

      image

  4. Next, run python downloader.py to download and setup all the folders and files. This step will take some time.

  5. You final folder structure should look something like this:

    image

  6. You are now ready to run the app! Just do streamlit run streamlit_app.py

References

  1. Building an image search service from scratch
  2. semantic-search