Skip to content
Applications for the 2026/2027 academic year are now open. Visit the UENR admissions portal for details.
Back to Project Works
Undergraduate

MEDICAL IMAGE DIAGNOSIS USING CONVOLUTIONAL NEURAL NETWORKS FOR BRAIN STROKE AND PNEUMONIA DETECTION

SASU EMMANUEL OPOKU BEATRICE MOHAMMED NAZIR MARDIYA OWUSU ACHIAW BREMPONG KWAK ADINKRA NKETIAH HERTTY2024/2025

Project Abstract

This project presents the development and implementation of a web-based medical image diagnosis system using Convolutional Neural Networks (CNNs) for the automated detection of brain stroke and pneumonia. The system was built using an Agile methodology and integrates a Flask-based backend with a responsive frontend developed in HTML, CSS, and JavaScript. A pre-trained VGG16 model was fine-tuned and augmented with custom dense and dropout layers to classify medical images into three categories: brain stroke, pneumonia, and normal. The model was trained on curated datasets of MRI/CT scans for brain stroke and chest X-rays for pneumonia, using an 80/20 train-test split and extensive data augmentation to enhance robustness. The system achieved an accuracy of approximately 90% for pneumonia detection and 85% for brain stroke detection, as evaluated through performance metrics including confusion matrices, ROC curves, and classification reports. The web application allows medical practitioners to upload images via a user-friendly interface and receive real-time diagnostic results. Testing confirmed the system’s reliability and usability, demonstrating its potential as a supportive tool in clinical settings. Future work may include expanding the model to additional diseases, improving integration with electronic health records, and enhancing data privacy measures.

Main Objective

The main goal of this research is to create a medical application that utilizes convolutional neural networks to aid in the early detection and diagnosis of brain stroke and pneumonia.