Skip to content

This is the machine learning project that builds using Django and PyTorch for content-based image retrieval. used to search similar image in the database.

Notifications You must be signed in to change notification settings

merronmuche/vision_search

Repository files navigation

Project Usage Guide

Introduction

This project is designed for extracting features from images and creating feature vectors for each image in a database. This README provides instructions on how to use the project effectively.

Setup

  1. Clone the Repository:

    git clone git@github.com:merronmuche/vision_search.git
    
  2. Navigate to Project Directory:

    cd vision_search
    
  3. Create Virtual Environment:

    virtualenv venv
    
  4. Activate Virtual Environment:

    source venv/bin/activate
    
  5. Install Requirements:

    pip install -r requirements.txt
    

Usage

  1. Run Model Extraction Script: Execute model_extraction.py file to initiate the extraction process. This script extracts features from images.

  2. Upload Images via Admin Page: Navigate to the admin page and upload images. This step is essential for creating feature vectors for the uploaded images.

  3. Create Feature Vectors: Access the /create/ route to create feature vectors for each image in the database. This step should be performed every time a new image is uploaded.

Notes

  • Ensure that the virtual environment is activated before executing any scripts or commands related to the project.
  • Refer to the project documentation or source code for additional details on specific functionalities or configurations.
  • For further assistance or inquiries, feel free to contact the project maintainers.

About

This is the machine learning project that builds using Django and PyTorch for content-based image retrieval. used to search similar image in the database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published