Skip to content

QinWenFeng/ai-image-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

AI Image Search

An image search full-stack web application using React and Vite for the frontend, Flask for the backend, MongoDB for storage, and CLIP embeddings for semantic search of queries and images.

web-interface

Getting Started

  1. Clone this repository:
git clone https://github.com/QinWenFeng/ImageSearch-ReactVite-FlaskMongoDB-CLIP.git
cd ImageSearch-ReactVite-FlaskMongoDB-CLIP
  1. Navigate to the backend directory:
cd backend
  1. Create virtual environment:
# Ubuntu
python3 -m venv venv
  1. Activate virtual environment:
# Ubuntu
source venv/bin/activate
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Navigate to the frontend directory:
cd ../frontend
  1. Install the required dependencies:
npm install

Usage

  1. Build the frontend:
npm run build
  1. Navigate to the backend directory:
cd ../backend
  1. Run the Flask app:
flask run
  1. Open your web browser and navigate to http://localhost:5173 to access the web interface.

Releases

No releases published

Packages

No packages published