To address the problems existing in the mask-wearing detection that the detection is difficult with facial cross-occlusion and the object detection accuracy of bright and dark lights is poor,with the help of YOLOv5 algorithm,this paper proposes a detection technology that can detect whether the mask is worn with standardization in real time.Through experiments,it is verified that the model has a relatively high detection accuracy under the conditions of no obvious occlusion and good lighting,which verifies the effectiveness of the method.This method is also applicable for detecting whether animals are wearing masks.Through experiments,the relationships between mask detection and face occlusion boundaries and light intensity are given.
Deep LearningYOLOv5 algorithmObject Detectionmask detection