Face Mask-Wearing Detection Model Based on Loss Function and Attention Mechanism.

Zhong Wang1, Wu Sun1, Qiang Zhu1

  • 1School of Computer Science and Technology, Hefei Normal University, Hefei 230601, China.

Summary

This study enhances face mask detection accuracy in complex environments using a YOLOv5s model with an attention mechanism and CIoU loss. The improved model achieves 90.96% mAP, significantly outperforming traditional methods for real-world safety applications.