Skip to content

MaurerKrisztian/image-similarity-search-with-vector-db-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Similarity Search With Vector DB

Setup Instructions

  1. Use a venv (optional)
venv python -m venv venv
source venv/bin/activate
  1. Install the required packages

    • Run the following command to install dependencies from requirements.txt:
    pip install -r requirements.txt
    
  2. Add Images

    • Place the images you want to vectorize in the data/images folder. These images will be processed and saved to the database.
  3. Create Embeddings

    • Run the script to convert images into searchable vectors:
    python create_embeddings.py
  4. Start the API

    • Launch the API by running:
    python api.py

The API will be available at http://0.0.0.0:8000.

  1. View the Application
    • Open the index.html file in your browser to access the interface.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published