Real-Time Hospital Waste Classification Using CNN-Based Smart Sorting System
https://doi.org/10.5281/zenodo.18719456
Keywords:
Smart sorting, Convolutional Neural Networks, Hospital waste, Real-time classification, Deep learningAbstract
Effective classification of hospital wastes is important in minimizing the risk of infections, increasing hygiene, and ensuring adherence to healthcare waste management guidelines. This study presents the development of a real-time intelligent sorting system using Convolutional Neural Networks (CNNs) as a binary classification framework to classify hazardous and general waste in hospitals. Conducted in Pakistan, the study utilized a balanced dataset of 2,000 labelled waste images that were pre-processed by resizing, normalizing, and augmenting the images to improve model robustness. A small CNN network was built with TensorFlow and Keras and trained over 30 epochs, with accuracy and loss values used to validate the model. The model achieved the highest validation accuracy of 81.00% and the lowest validation loss of 0.43, showing good generalization ability. To make the trained model operational, it was incorporated with OpenCV and a normal webcam to classify waste products in real time, and live predictions of hazardous and general products received high confidence scores. The system was found to be responsive and computationally efficient; it does not require any GPU support and can be integrated into smart waste bin systems. This study contributes a scalable, low-cost technology to support hospital waste segregation, enhancing safety, automation, and environmental sustainability within healthcare facilities.