🧠 Kidney Stone Detection

A sleek AI-powered web application for detecting kidney stones in CT images. Upload your scan, and our deep-learning model (custom CNN) will tell you β€œStone” or β€œNon-stone” with confidence scoresβ€”complete with interactive visual feedback.

✨ Features

πŸ› οΈ Technologies

Python Flask PyTorch Tailwind CSS html2canvas Chart.js

πŸ–ΌοΈ Preview

Upload UI Result UI

πŸ“ Project Structure

kidney_stone_detection/
β”œβ”€β”€ app.py
β”œβ”€β”€ model.py
β”œβ”€β”€ models/
β”‚   └── kidney_stone_cnn.pth
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ templates/
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ real_example.html
β”‚   └── docs.html
└── static/
    └── img/
        β”œβ”€β”€ preview-upload.png
        └── preview-result.png
      

πŸš€ Installation Guide

  1. Clone the repo git clone https://github.com/yourusername/kidney_stone_detection.git
  2. Install dependencies pip install -r requirements.txt
  3. Run the server python app.py
  4. Open in browser: http://127.0.0.1:5000

πŸ§ͺ API Endpoints

MethodEndpointDescription
GET/Landing page
GET/docsProject documentation
GET/real_exampleUpload & predict UI
POST/predictAccepts image & returns JSON result

πŸ‘¨β€πŸ’» Developers

πŸ“„ Licensed under the MIT License.

← Back to Home