Skip to content

VaishnavaDevi-R/AI-Powered-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 a Deep Learning-based system that analyzes chest X-ray images to detect Pneumonia. It demonstrates how AI can assist healthcare professionals in faster and more accurate diagnosis.


🎯 Objective

To build a CNN-based model that:

  • Classifies X-ray images as Normal or Pneumonia
  • Improves diagnostic support using AI
  • Provides visual performance evaluation

🧠 Technologies Used

  • Python
  • TensorFlow / Keras
  • OpenCV
  • NumPy
  • Matplotlib
  • Scikit-learn

📂 Dataset

  • Chest X-ray dataset (Normal vs Pneumonia)
  • Loaded using Kaggle API
  • Organized into training and testing sets

⚙️ Features

  • Image preprocessing (resizing, normalization)
  • CNN model for classification
  • Model training and validation
  • Accuracy and loss visualization
  • Confusion matrix evaluation
  • Real-time prediction on new images

🧩 Project Workflow

  1. Data Collection
  2. Image Preprocessing
  3. Model Building (CNN)
  4. Training
  5. Evaluation
  6. Prediction

📊 Results

📈 Accuracy Graph

Accuracy


📉 Loss Graph

Loss


🔲 Confusion Matrix

Confusion Matrix


🩺 Prediction Output

Prediction


🖼️ Sample X-ray Image

Sample


🔧 Preprocessing Output

Preprocessing


🚀 How to Run

👉 Google Colab (Recommended)

  1. Open the notebook (medical_image_analysis.ipynb)
  2. Run all cells step-by-step
  3. Upload Kaggle API key
  4. Train the model
  5. Test predictions

👉 Local (VS Code)

  1. Install dependencies:
pip install -r requirements.txt
  1. Run:
python main.py

📁 Project Structure

AI-Medical-Image-Analysis/ │ ├── medical_image_analysis.ipynb ├── main.py ├── outputs/ ├── images/ ├── README.md ├── requirements.txt


📌 Learning Outcomes

  • Deep Learning using CNN
  • Medical image classification
  • Model evaluation techniques
  • Data preprocessing methods
  • Real-world AI application

🌍 Industry Relevance

This project reflects real-world applications of AI in:

  • Healthcare diagnostics
  • Radiology analysis
  • Medical imaging systems

🙏 Acknowledgment

Special thanks to my mentor Umesh Yadav for guidance and support.


🔗 Future Improvements

  • Deploy as a web app (Streamlit)
  • Improve accuracy using transfer learning
  • Add multi-disease detection

👩‍💻 Author

Vaishnava Devi


✨ This project showcases practical implementation of AI in healthcare and serves as a strong portfolio project.

About

AI-powered medical image analysis system using CNN to detect pneumonia from chest X-ray images with high accuracy, including preprocessing, model training, evaluation, and prediction.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors