HemoSight: A Hybrid CNN and RAG Framework for Automated Intracranial Hemorrhage Detection and Report Generation
Abstract
In order to prevent fatal outcomes, intracranial haemorrhage (ICH), a potentially fatal medical condition marked by bleeding within the cranial vault, frequently necessitates prompt diagnosis and treatment. Conventional diagnosis techniques mainly depend on radiologists manually reviewing computed tomography (CT) scans, which can be laborious and prone to human error. This study introduces an AI-assisted diagnosis system that combines a Retrieval-Augmented Generation (RAG) module for comprehensive report generation with a Hybrid Convolutional Neural Network (CNN) for automated haemorrhage classification. Clinicians can upload CT images, get diagnostic predictions, and access structured medical reports thanks to the system's Flask-based web interface. The dataset consists of labelled CT images that have been divided into subtypes such as haematoma, left lateral ventricle haemorrhage, right lateral ventricle haemorrhage, brain middle haemorrhage, and non-hemorrhage cases. OpenCV and Pillow (PIL) are used for preprocessing in order to guarantee consistent greyscale input for the Hybrid CNN model. The RAG component creates contextual, medically relevant interpretations by utilising pre-trained language models. The suggested method provides an affordable and easily accessible diagnostic tool while achieving high classification accuracy and showing promise for integration into telemedicine and rural healthcare systems.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Click here for more information on Copyright policy
Click here for more information on Licensing policy