An Image Dataset for Hospital Queue Occupancy Classification in Bangladesh
Description
Public hospitals in Bangladesh face persistent overcrowding at outpatient departments (OPD), registration counters, and pharmacy windows, yet no publicly available image dataset exists for studying queue congestion in these settings. This dataset contains 834 images of hospital service areas collected from six public and specialized hospitals in Bangladesh: five in Dhaka (Bangladesh Medical University, Dhaka Medical College Hospital, BIRDEM General Hospital, Sir Salimullah Medical College Mitford Hospital, and Shaheed Suhrawardy Medical College Hospital) and one in Rajshahi (Rajshahi Medical College Hospital). Images were captured at three high-congestion service points: outpatient departments, registration and ticket counters, and pharmacy dispensing windows. The dataset covers varied lighting conditions (indoor fluorescent, natural daylight, and mixed lighting) and multiple viewpoints (frontal, side, and elevated). Six annotators contributed to the dataset. Each image carries a binary queue-occupancy label based on an explicit head-count rule: • Large: More than 10 people visible in the frame. • Medium: 10 or fewer people visible in the frame. Class distribution: • Large: 478 images (57.3%). • Medium: 356 images (42.7%). The majority-class baseline is therefore 57.3%, which should be considered when interpreting any reported classification accuracy. The metadata.csv file lists every image along with its class, pixel dimensions, file size, scene_group, capture_method (photograph or video_frame), and SHA-256 checksum. Images sharing the same scene_group ID represent the same scene and should be kept within the same cross-validation fold to prevent data leakage. Version 2 update: Two images included in Version 1 (large/large_0004.jpg and medium/medium_0343.jpg) were withdrawn because they were found to have originated from online sources rather than being captured specifically for this study. All remaining images, filenames, labels, and scene_group IDs are unchanged; consequently, the file numbering contains two gaps. Please use Version 2 for research and evaluation. A research paper describing the dataset and its benchmark results is currently in preparation.
Files
Steps to reproduce
Each image was labelled by counting the people visibly queuing or waiting in the frame: large if more than 10, medium if 10 or fewer. When splitting the data for training and testing, keep images of the same scene together in the same split. If you use this dataset, please cite it using the citation shown on this page.
Institutions
- University of DhakaDhaka Division, Dhaka