Work

Multi-Class Face Mask Detection: Class-Imbalance Effects and Domain Shift from Eye-Level Training to Overhead Drone Imagery

Year: 2026
Type: article
Abstract: Manual verification of face mask compliance at building entrances is slow and depends on sustained human attention, motivating automated alternatives built on modern object detection. This study presents a YOLOv8-based system trained to distinguish three conditions, correctly worn masks, no mask, and incorrectly worn masks, on a public dataset of 853 annotated images, together with a two-stage extension that applies the trained detector to overhead drone footage via a person-detection cropping stage. The model achieved an overall mAP50 of 0.897, precision of 0.896, and recall of 0.821 on a held-out validation set, with per-class mAP50 scores of 0.960, 0.897, and 0.833 for the correctly-worn, no-mask, and incorrectly-worn classes respectively, the last of these constrained by the incorrectly-worn class making up only 3.0 percent of labelled training instances. A field test applying the trained model to five overhead drone photographs, each showing three pedestrians, produced a materially different result from the validation-set evaluation: only six of fifteen visible faces received any mask-related label at all, including two unambiguous incorrectly-worn cases that went entirely undetected. This gap is attributed to a domain shift between the eye-level, front-facing training distribution and the foreshortened, top-down viewing geometry of drone imagery, a specific and previously undocumented failure mode for this detection task that this study reports in full rather than omitting. The central methodological finding is that a model can achieve strong, standard validation metrics while still degrading substantially under a viewing-angle shift the validation set does not represent, a distinction with direct relevance for any deployment of eye-level-trained detectors on aerial platforms.
Language: English
Open Access status: green
OpenAlex ID: W7238887543
FWCI:
Cites:
Cited by:
Related to: