Overview
A Streamlit web application that classifies chest X-ray images to indicate whether a lung shows signs of tuberculosis (TBC) or not. Users upload a JPG/PNG X-ray and the app runs a trained SVM model (svm.joblib) over the preprocessed image and returns the prediction.
How it works
- The image is loaded and converted to RGB with Pillow.
- A preprocessing step normalises and prepares the image for the model.
- An SVM classifier produces the TB / non-TB prediction, shown in the browser.
Context
Built as a group project for the Digital Image Processing (PACD) course.