Mask wearing detection method based on YOLOv5 network

A detection method and mask technology, applied in the field of mask wearing detection based on the YOLOv5 network, can solve the problems of difficult accurate detection and low visibility, achieve efficient detection, strong robustness and scalability, improve accuracy and mask detection. The effect of efficiency

Pending Publication Date: 2022-04-26
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention technology solves the problem: In order to solve the problem that it is difficult to accurately detect the target in the scene with low visibility and dim light, and it is difficult to accurately detect the special target group (not wearing a mask) and feed back the detection information in real time, the present invention provides a A face mask detection method based on YOLOv5, which uses an image enhancement algorithm to preprocess the image, combines channel attention and spatial attention, fully excavates key feature points such as face masks, and comprehensively considers the brightness of light in actual detection Impact on Detection Accuracy

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Mask wearing detection method based on YOLOv5 network
  • Mask wearing detection method based on YOLOv5 network
  • Mask wearing detection method based on YOLOv5 network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the objects and advantages of the present invention clearer, the present invention will be further described below in conjunction with the examples. It should be understood that the specific examples described here are only for explaining the present invention, and are not intended to limit the present invention.

[0035] Preferred embodiments of the present invention are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principle of the present invention, and are not intended to limit the protection scope of the present invention.

[0036] It should be understood that the step numbers used in the present invention are only for convenience of description, and are not used as a limitation on the order in which the steps are executed.

[0037] It should be understood that the terminology used in the description of the present invention is fo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a mask wearing detection method based on a YOLOv5 network. The method comprises the following steps: step 1, preprocessing an original picture by using an image enhancement algorithm and dividing a data set; step 2, sending the training set pictures into a YOLOv5 network into which an attention mechanism is introduced for iterative training, thereby effectively enhancing extraction of key point information such as a human face and a mask; 3, in order to reduce overall errors, CIOU Loss is adopted as a loss function of target frame regression; 4, after training is completed, the optimal weight model is stored and tested on a test set. The result proves that under the clamping of image enhancement and an attention mechanism, the improved YOLOv5 model realizes the efficient detection of the mask wearing, not only can the face information be successfully detected, but also the mask wearing state is correctly detected, and the corresponding confidence is given. The mask wearing detection accuracy of the model under the conditions of low visibility and weak illumination intensity can reach 92%, and the model has important practical significance for epidemic situation prevention and control and public health safety maintenance.

Description

technical field [0001] The invention relates to the field of mask wearing detection, in particular to a mask wearing detection method based on YOLOv5 network. Background technique [0002] In some specific workplaces, staff are required to wear masks in order to prevent harmful gases, droplets and viruses from entering the wearer's mouth and nose. For example, hospitals generally require medical staff to wear masks. As a commonly used medical and hygiene product, masks can reduce the risk of disease infection for mask wearers. [0003] Masks have attributes such as small targets and diversity, coupled with the diversity of scenes and the complexity of interactions between targets, making the research on multi-target tracking difficult. In addition, there are still the following difficulties in mask wearing detection: in dark conditions, due to the low light intensity and low visibility, it is difficult to accurately locate the face, and the difficulty of mask wearing detect...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06V40/16G06N3/04G06N3/08
CPCG06N3/08G06N3/045
Inventor 郭磊薛伟王邱龙肖怒马海钰马志伟郭济蒋煜祺
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products