Skip to content

Latest commit

 

History

History
79 lines (58 loc) · 2.45 KB

File metadata and controls

79 lines (58 loc) · 2.45 KB

VisiCore AI - Diabetic Retinopathy Detection & AI Consultation

VisiCore AI is a professional-grade screening tool designed to detect Diabetic Retinopathy (DR) from retinal fundus images and provide an AI-powered clinical consultation interface.

🚀 Features

  • Automated DR Screening: Uses a Vision Transformer (ViT) to classify retinal images into stages (0-4).
  • AI Health Consult: A local LLM (Qwen 2.5) that provides context-aware medical explanations with conversation memory.
  • Dark/Light Mode: Premium UI with a dynamic design system.
  • Privacy First: All processing happens locally on your machine.
  • Optimized for Speed: Rapid inference times for clinical workflows.

🛠️ Technology Stack

  • Frontend: React, TypeScript, Vite, Tailwind CSS, Lucide Icons, Framer Motion.
  • Backend: Flask, Python, Llama-cpp-python (for local LLM).
  • Models:
    • Vision Model: dr_model_complete.pth
    • Language Model: qwen2.5-1.5b-instruct-q4_k_m.gguf

📦 Installation

  1. Clone the repository:

    git clone https://github.com/codedbyasim/VisiCore-AI.git
    cd VisiCore-AI
  2. Install Backend Dependencies:

    pip install -r requirements.txt
  3. Install Frontend Dependencies:

    cd Frontend
    npm install
  4. Prepare Models: Create a models/ directory in the root and download the following models:

🏃 Project Setup

Running the Application (Production Mode)

The backend is configured to serve the pre-built frontend from the static folder.

  1. Start the Flask server:
    python app.py
  2. Open your browser and navigate to http://127.0.0.1:5000

Development Mode

  1. Start the Backend: python app.py (Running on port 5000)
  2. Start the Frontend Dev Server:
    cd Frontend
    npm run dev
  3. Open http://localhost:5173

📂 Project Structure

├── Frontend/           # React Source Code
├── static/             # Built Frontend Assets
├── models/             # AI Models (pth & gguf)
├── app.py              # Flask Backend
├── requirements.txt    # Python Dependencies
└── README.md           # Project Documentation