Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.37 KB

README.md

File metadata and controls

44 lines (36 loc) · 1.37 KB

vector-image-search

Small project to implement reverse image search using the Weaviate database to convert the images to vectors and query the database to find similar images.

Given a test image:

Output photos would be:

Installation

To install this project, you need to have Node.js and npm installed on your system. You also need to have Docker installed to run the Weaviate database.

  1. Clone the repository using the following command:
git clone /~https://github.com/hagarfisher/vector-image-search.git
  1. Change into the project directory:
cd vector-image-search
  1. Install the dependencies:
npm install

Usage

Before running the system, you need to start the Weaviate database in a Docker container:

docker-compose up -d    

Once the database is running, you can start the system by running the index.ts script:

npm start

Acknowledgments

This project was inspired by Fireship's tutorial.