Skip to content

varda24/AI-Medical-Image-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🩺 AI-Powered Medical Image Analysis System

🚀 Overview

This project is an AI-based medical image analysis system that detects Pneumonia from Chest X-ray images using Deep Learning.

It provides an end-to-end pipeline including:

  • Image preprocessing
  • CNN model training
  • Prediction system
  • Interactive Streamlit web application

🎯 Problem Statement

Manual diagnosis of diseases from X-ray images can be:

  • Time-consuming
  • Prone to human error
  • Dependent on expert availability

This project demonstrates how AI can assist doctors by providing fast and accurate predictions.


🌍 Industry Relevance

This system simulates real-world applications used in:

  • 🏥 Hospitals
  • 🧪 Diagnostic Labs
  • 🩻 Radiology Centers
  • 💻 HealthTech Companies

AI models like this help in:

  • Early disease detection
  • Faster diagnosis
  • Reducing workload of radiologists

🧠 Model Performance

  • Training Accuracy: ~98%
  • Validation Accuracy: ~95%
  • Loss: Low and stable

✔ Model generalizes well on unseen data ✔ Suitable for real-world prototype demonstration


🛠️ Tech Stack

  • Python
  • TensorFlow / Keras
  • OpenCV
  • NumPy
  • Matplotlib
  • Streamlit

📂 Dataset

Dataset used: 👉 Chest X-ray Pneumonia Dataset (Kaggle)

Download link: https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia

After downloading, place dataset in:

data/ ├── train/ ├── test/


⚙️ Project Structure

AI-Medical-Image-Analysis/
│
├── app.py
├── src/
├── models/
├── outputs/
├── images/
├── requirements.txt
├── README.md

▶️ How to Run Locally

1. Clone repository

git clone https://github.com/varda24/AI-Medical-Image-Analysis.git
cd AI-Medical-Image-Analysis

2. Install dependencies

pip install -r requirements.txt

3. Run application

streamlit run app.py

📊 Features

✔ Upload chest X-ray image ✔ AI-based prediction (Normal / Pneumonia) ✔ Confidence score display ✔ Medical-style interpretation ✔ Clean and interactive UI


📸 Results

🖥️ Dashboard

Dashboard

🔍 Prediction Output

Prediction

📊 Confusion Matrix

Confusion Matrix

📈 Accuracy Graph

Accuracy


🧪 Sample Output

  • Input: Chest X-ray image

  • Output:

    • 🟥 Pneumonia Detected
    • 🟩 Normal

📚 Learning Outcomes

  • Deep Learning (CNN) for image classification
  • Medical image preprocessing
  • Model evaluation techniques
  • Streamlit web app development
  • Deployment of ML models

⚠️ Disclaimer

This project is for educational purposes only and should not be used for real medical diagnosis.


👨‍💻 Author

Varda Kunde


⭐ If you found this useful, give it a star!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages