Deployment of a real-time face mask classification system using browser webcam streaming and FastAPI

dc.contributor.authorVenkatraman, Yazhini
dc.contributor.supervisorSo, Poman
dc.contributor.supervisorPopli, Navneet
dc.date.accessioned2026-03-31T16:35:11Z
dc.date.available2026-03-31T16:35:11Z
dc.date.issued2026
dc.degree.departmentDepartment of Electrical and Computer Engineering
dc.degree.levelMaster of Engineering MEng
dc.description.abstractThis project presents a real-time face mask classification system designed to support safety monitoring in public and controlled environments such as workplaces, institutions, and healthcare facilities. The system detects a person’s face and classifies mask usage into four categories: with mask, without mask, with N95 mask, and improper mask. A curated dataset of face images was preprocessed through face detection, cropping, resizing, normalization, and augmentation to improve the model’s robustness under different lighting and orientation conditions. The model is built using a MobileNet based convolutional neural network, chosen for its efficiency and suitability for real-time applications. A classical Single Shot Detector is used to localize faces before classification. The trained model is evaluated using standard metrics including accuracy, precision, recall, F1-score, and a confusion matrix and achieves strong performance across all four mask categories. A live webcam interface has also been implemented to demonstrate real-time inference and practical usability. Overall, this work shows that a lightweight deep learning pipeline can reliably classify mask wearing conditions in real time on standard hardware. The system forms a basis for further improvements, such as handling complex occlusions, expanding the dataset with more diverse samples, and deploying the model as a standalone desktop or mobile application for real-world monitoring needs.
dc.description.scholarlevelGraduate
dc.identifier.urihttps://hdl.handle.net/1828/23534
dc.language.isoen
dc.rightsAvailable to the World Wide Web
dc.titleDeployment of a real-time face mask classification system using browser webcam streaming and FastAPI
dc.typeproject

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Venkatraman_Yazhini_MEng_2026.pdf
Size:
9.95 MB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.62 KB
Format:
Item-specific license agreed upon to submission
Description: