Skip to content

Tuberculosis (TB) remains a significant global health concern, ranking among the top ten causes of mortality worldwide. Timely and accurate detection of TB is pivotal for effective management and containment of the disease. In this study, we developed a robust TB detection system utilizing state-of-the-art methodologies including image preprocessor

License

Notifications You must be signed in to change notification settings

Rohini-Viswanathan/Tuberculosis-Diagnosis-System-using-CNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Enabled Tuberculosis Diagnosis System using Convolutional Neural Network (CNN)

Tuberculosis (TB) is a chronic lung disease that occurs due to bacterial infection and is one the top ten leading causes of death. Accurate and early detection of TB is very important, otherwise, it could be life-threatening. We have detected TB reliably from the chest X-ray images using image preprocessing, data augmentation, image segmentation, and Support Vector classification techniques.

Several public databases were used to create a database of 1800TB infected and 3700 normal chest X- ray images for this study. Our methodology also makes use of Image Enhancement Techniques for enhancing the blurred image for improving accuracy. The entire prediction is presented as a web Based UI which makes the model available to the common people. The entire model is deployed on the cloud for the larger computational power.

Get Started with

https://github.com/Rohini-Viswanathan/Tuberculosis-Diagnosis-System-using-CNN

Dataset Description

Researchers from Qatar University and the University of Dhaka, with collaborators from Malaysia, have developed a chest X-ray image database for TB and Normal cases. The dataset includes 700 publicly accessible TB images and 3500 normal images. An additional 2800 TB images are available for download from the NIAID TB portal upon agreement. The collaboration involves medical experts from Hamad Medical Corporation and Bangladesh.

Project Structure

  • notebooks : Jupyter notebooks for data exploration, preprocessing, and model training.
  • README.md : Project documentation.

Installation

To run this project locally, follow these steps:

  1. Clone this Repository :

    https://github.com/Rohini-Viswanathan/Tuberculosis-Diagnosis-System-using-CNN
  2. Install Python :

    Windows

    https://www.python.org/downloads/
  3. Create a virtual environment :

    python -m venv venv
    source venv/bin/activate
  4. Install required pip libraries

    • OpenCV
    • TensorFlow
    • Keras
    • scikit-learn
    pip install <above packages name>
  5. Install Cloud python library

    • Streamlit
  6. Open the Jupyter notebook to run the Project

    jupyter notebook

Evaluation Metrics

  • Precision: The proportion of true positive predictions among all positive predictions.
  • Recall: The proportion of true positive predictions among all actual positives.
  • F1-Score: The harmonic mean of precision and recall.
  • ROC-AUC: The area under the receiver operating characteristic curve.

Acknowledgements

Download the Dataset from the Kaggle

https://www.kaggle.com/datasets/tawsifurrahman/tuberculosis-tb-chest-xray-dataset

Licence

MIT license

About

Tuberculosis (TB) remains a significant global health concern, ranking among the top ten causes of mortality worldwide. Timely and accurate detection of TB is pivotal for effective management and containment of the disease. In this study, we developed a robust TB detection system utilizing state-of-the-art methodologies including image preprocessor

Topics

Resources

License

Stars

Watchers

Forks

Languages