Unlock instant, AI-driven research and patent intelligence for your innovation.

Safety protector wearing detection method and system based on YOLOv5

A detection method and protective gear technology, applied in the YOLOv5-based safety protective gear wearing detection method and system field, can solve the problems of high accuracy, large safety hazards and accident risks, time-consuming and labor-intensive problems, and achieve fast speed and high accuracy , the effect of reducing the number of calculations

Pending Publication Date: 2021-10-08
YUNNAN UNIV
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the operator does not wear safety protective gear for high-altitude operations, there will be greater safety hazards and accident risks
[0003] At present, in order to ensure that construction personnel wear safety protective gear as required on site, the current method is to check whether the on-site construction personnel wear safety protective gear as required by manual review. The manual review method is accurate but time-consuming and laborious, and cannot guarantee safety Real-time performance of protective gear detection

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
  • Safety protector wearing detection method and system based on YOLOv5
  • Safety protector wearing detection method and system based on YOLOv5
  • Safety protector wearing detection method and system based on YOLOv5

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] like figure 1 As shown, a kind of YOLOv5-based safety protective gear wearing detection method provided by the present invention includes:

[0030] Wherein, before step 101, it also includes:

[0031] Get the video data to be detected.

[0032] The video data to be detected is decomposed to obtain image data to be detected.

[0033] Step 101: Obtain image data to be detected.

[0034] Step 102: Input the image data to be detected into the YOLOv5 network for prediction to obtain a feature map; the feature map includes the target object category, the number of target objects, and the position of the detection frame. Wherein, step 102 specifically includes:

[0035] The Mosaic data enhancement algorithm is used to preprocess the image data to be detected to obtain preprocessed image data.

[0036] The preprocessed image data is input into the feature extraction network in the YOLOv5 network for feature extraction to obtain a salient feature map. Wherein, the describe...

Embodiment 2

[0057] The present invention also provides a more specific execution process of a YOLOv5-based safety protective gear wearing detection method, such as figure 2 and Figure 5 As shown, it specifically includes the following four steps:

[0058] 1. Generation of image datasets. Data images contain various objects such as construction workers, hard hats, seat belts, and safety clothing. Label various objects on each image, and divide the data set into training set, validation set and test set.

[0059] 2. Extraction and processing of image features. Build a feature extraction network model and a feature processing network model, perform multi-scale feature extraction and processing on the input image, and output the information for predicting the target object.

[0060] 3. Optimize the weight of the network model. Compare the information predicted by the network model with the labeled real data, calculate the loss function and perform backpropagation, and iteratively train...

Embodiment 3

[0154] The present invention also provides another embodiment of the YOLOv5-based safety protective gear wearing detection method in practical application, as follows:

[0155] 1: Generate an image dataset

[0156] The original image data set C is annotated by the image annotation tool LabelImg, and the six types of objects such as construction personnel, head, safety helmet, reflective clothing, ordinary clothing, and safety rope are placed in each image c i (1≤i≤n) is marked with a rectangular box. Then merge the original image and the labeled data to get the labeled data set L={l 1 , l 2 ,..., l n}, and merge the image data set C and the labeled data set L to obtain the data set D=(C, L), and finally divide the data set D into D train The training data set, D val Validation dataset, D test For the test data set, the ratio is set to 80:5:15.

[0157] to attach Image 6 For example, Image 6 (a) is the original image, Image 6 (b) is the labeled image. In the image, ...

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 relates to a safety protector wearing detection method and system based on YOLOv5. The method comprises the following steps: acquiring to-be-detected image data; inputting the to-be-detected image data into a YOLOv5 network for prediction to obtain a feature map, wherein the feature map comprises a target object category, a target object number and a detection frame position; determining whether the constructor correctly wears the safety protector or not according to the type of the target object, the number of the target objects and the position of the detection frame. According to the invention, the detection precision and the detection speed of the wearing of the safety protector can be improved, so that the real-time detection of the wearing condition of the safety protector of a constructor can be realized.

Description

technical field [0001] The invention relates to the field of safety protective gear detection, in particular to a YOLOv5-based safety protective gear wearing detection method and system. Background technique [0002] During construction, in order to ensure the safety and health of construction personnel, it is necessary to ensure that construction personnel correctly wear various safety protective gear during construction, including safety helmets, safety belts and safety clothing. If the operator does not wear safety protective gear to carry out high-altitude operations, there will be greater safety hazards and accident risks. [0003] At present, in order to ensure that construction personnel wear safety protective gear as required on site, the current method is to check whether the on-site construction personnel wear safety protective gear as required by manual review. The manual review method is accurate but time-consuming and laborious, and cannot guarantee safety Real...

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
IPC IPC(8): G06K9/00G06K9/46G06K9/62G06N3/04G06N3/08G06F9/50
CPCG06N3/084G06F9/5027G06N3/045G06F18/214G06F18/24
Inventor 杨明泽撒倩段亮李辉岳昆李忠斌
Owner YUNNAN UNIV