A method, system and device for detecting illegal setting of fences for power tower operations

Through deep learning technology and image processing algorithms, violations at the power pole construction site are detected in real time, which solves the problem of lack of real-time detection in monitoring in the existing technology and improves the safety and detection efficiency of the construction site.

CN114419483BActive Publication Date: 2024-09-10SHANDONG LUNENG SOFTWARE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111547915.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2024-09-10
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

The existing construction site monitoring technology lacks real-time artificial intelligence detection and cannot effectively identify and correct irregularities at power pole construction sites, resulting in frequent safety hazards and missed inspections.

Method used

Use deep learning technology to build an image database and train scene detection models, fence detection models and ground segmentation models, and detect whether there are violations at the construction site in real time through monitoring videos, including using yolov5 and deeplabv3 algorithms, combining rectangular boxes and mask tags, and setting thresholds Determine compliance.

Benefits of technology

It achieves real-time detection of violations at the power pole construction site, reduces the workload of manual inspections, improves detection efficiency, and reduces the probability of safety accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114419483B
    Figure CN114419483B
Patent Text Reader

Abstract

The present invention provides a detection method, system and equipment for illegal setting of fences in power pole tower operations, constructs an image database, annotates the obtained images to be detected and stores them in the image database; takes workers on the pole tower as detection targets, trains a construction scene detection model, and forms a scene detection model; takes fences on the ground as detection targets, trains a fence detection model, and forms a fence detection model; takes the ground in the picture as segmentation targets, trains a ground segmentation model, and forms a ground segmentation model; processes the video stream collected at the construction site into pictures, and inputs the pictures into the scene detection model, the fence detection model, and the ground segmentation model respectively to determine whether there are illegal behaviors. The present invention reduces the workload of manual inspection operations at the construction site, prevents the occurrence of missed inspections, and avoids the occurrence of safety accidents caused by illegal operations of construction personnel.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the advancement of urbanization, more and more electricity is used in people's lives, and the number of power construction sites has also increased. Construction safety is of paramount importance. Safety accidents caused by construction workers' illegal operations occur from time to time every year. At the construction site of power towers, setting up fences at the construction site in accordance with regulations is one of the requirements for safe construction.

[0003] In the existing construction site inspection, supervisors are mainly arranged to supervise on site and correct any violations found. However, due to the large number of construction scenes, this measure requires a large number of inspectors, and manual inspections may miss inspections. In the existing monitoring technology, there is a lack of real-time artificial intelligence detection of construction sites, and violations of construction sites cannot be identified in real time, thus causing safety hazards. Summary of the invention

[0004] In order to reduce the workload of manual inspection work at the construction site, prevent the occurrence of missed inspections, and avoid the occurrence of safety accidents caused by construction personnel's illegal operations, the present invention provides a fence setting compliance detection method for power tower operations, the method comprising:

[0005] Step 1: Build an image database, use an image acquisition tool to decode the surveillance video to obtain the image to be detected, and annotate the obtained image to be detected and store it in the image database;

[0006] Step 2: training a construction scene detection model, taking workers on the tower as the detection target, selecting multiple training images and label data from the image database described in step 1, and inputting them into the yolov5 algorithm until the scene detection model meets the use requirements to form a scene detection model;

[0007] Step 3: Train the fence detection model, take the fence on the ground as the detection target, select multiple training images and label data from the image database described in step 1, and input them into the yolov5 algorithm until the fence detection model meets the use requirements to form a fence detection model;

[0008] Step 4: Train the ground segmentation model, taking the ground in the image as the segmentation target, select multiple training images and label data from the image database described in step 1, and input them into the deeplabv3 algorithm until the ground segmentation model meets the usage requirements to form a ground segmentation model;

[0009] Step 5: Process the video stream collected from the construction site into images according to the method described in step 1, and input the images into the scene detection model described in step 2, the fence detection model described in step 3, and the ground segmentation model described in step 4 respectively;

[0010] Step 6: Judge and calculate the output results of the scene detection model, fence detection model, and ground segmentation model described in step 5 to determine whether there is any violation.

[0011] It should be further explained that the conditions for judging violations are:

[0012] In the ground detection model, a threshold a is set; the threshold a is used to determine whether the ratio of the ground to the entire image in the image output by the ground segmentation model meets the set condition;

[0013] When no worker on the tower is detected in the scene detection model, the compliance judgment output result is normal;

[0014] When the scene detection model detects workers on the tower, and the fence detection model detects the existence of a fence, the compliance judgment output result is normal;

[0015] When the scene detection model detects a worker on the tower, the fence detection model does not detect the fence, and the proportion of the ground in the image predicted by the ground segmentation model does not exceed the set threshold a, the compliance judgment output result is normal;

[0016] When the scene detection model detects a worker on the tower, the fence detection model does not detect the fence, and the proportion of the ground in the image predicted by the ground segmentation model exceeds the set threshold a, the compliance judgment output result is a violation.

[0017] It should be further explained that step one also includes: using the LabelImg annotation tool to mark the fence and the workers on the pole tower in the image to be inspected, respectively, with the fence and the workers on the pole tower as targets, using rectangular boxes to mark, and forming an XML label file;

[0018] For the ground of the image to be inspected, use the PixelAnnotationTool annotation tool to annotate the ground as a mask label.

[0019] It should be further explained that the training images in step 2 and step 3 are set in a training set and a validation set in a ratio of 8:2.

[0020] It should be further explained that the yolov5 algorithm in steps 2 and 3 is trained with the default algorithm parameters in the NVIDIA GPU server.

[0021] The models in step 2 and step 3 meet the usage requirements, which means that after training, they are evaluated using mAP as the evaluation criterion until they meet the usage requirements.

[0022] It should be further explained that the deeplabv3 algorithm described in step 4 is trained with the default algorithm parameters in the NVIDIA GPU server.

[0023] The ground segmentation model described in step 4 meets the use requirements, which means that after training, it is evaluated using mIOU as the evaluation criterion until it meets the use requirements.

[0024] The present invention also provides a fence setting compliance detection system for power tower operations, the system comprising: a database construction acquisition module, a construction scene detection training module, a fence detection training module, a ground segmentation training module, a construction site information processing module and a violation determination module;

[0025] The database construction and acquisition module is used to construct an image database, use an image acquisition tool to decode the surveillance video to obtain the image to be detected, and annotate the obtained image to be detected and store it in the image database;

[0026] The construction scene detection training module is used to take the workers on the tower as the detection target, select multiple training images and label data from the image database, and input them into the yolov5 algorithm until the scene detection model meets the use requirements to form a scene detection model;

[0027] The fence detection training module is used to take the fence on the ground as the detection target, select multiple training images and label data from the image database, and input them into the yolov5 algorithm until the fence detection model meets the use requirements to form a fence detection model;

[0028] The ground segmentation training module is used to take the ground in the image as the segmentation target, select multiple training images and label data from the image database, and input them into the deeplabv3 algorithm until the ground segmentation model meets the usage requirements to form a ground segmentation model;

[0029] The construction site information processing module is used to process the video stream collected from the construction site into images, and input the images into the scene detection model, fence detection model, and ground segmentation model respectively;

[0030] The violation determination module is used to judge and calculate the output results of the scene detection model, fence detection model, and ground segmentation model to determine whether there is any violation.

[0031] The present invention also provides a device for implementing a fence setting compliance detection method for power pole tower operations, comprising:

[0032] A memory for storing a computer program and a fence setting compliance detection method for power pole tower operations;

[0033] A processor is used to execute the computer program and the fence setting compliance detection method for power pole tower operations to implement the steps of the fence setting compliance detection method for power pole tower operations.

[0034] It can be seen from the above technical solutions that the present invention has the following advantages:

[0035] The fence setting compliance detection method for power pole tower operations provided by the present invention is modeled based on the deep learning method. The complex scene of power workers constructing on the pole tower without setting up fences is decomposed into three targets: "workers on the pole tower", "fence" and "ground", and the characteristics of the construction site are extracted in a targeted manner. The effect of real-time detection can be achieved, and the on-site images of violations can be saved for manual review, which greatly improves efficiency and reduces the workload of supervisors.

[0036] The present invention provides a method and system for detecting compliance of fence setting for power pole tower operations, which reduces the workload of manual inspections at construction sites, prevents missed inspections, and avoids safety accidents caused by construction personnel's illegal operations. The system uses deep learning technology to analyze and process real-time monitoring videos of construction sites, detect illegal behaviors, and issue alarm prompts. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0038] Figure 1 A flow chart of compliance testing methods for fences set up for power tower operations;

[0039] Figure 2 Flow chart of traffic violation scene judgment in an embodiment of the present invention.

[0040] Figure 3 Schematic diagram of a compliance detection system for fences facing power tower operations. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] The units and algorithm steps of each example described in the embodiments disclosed in the fence setting compliance detection method for power pole tower operations provided by the present invention can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0043] The block diagrams shown in the drawings of the fence setting compliance detection method and system for power pole tower operation provided by the present invention are only functional entities, and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0044] In the fence setting compliance detection method and system for power pole tower operations provided by the present invention, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiment described above is only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.

[0045] like Figures 1 to 2 As shown, the method provided by the present invention comprises:

[0046] Step 1: Build an image database, use an image acquisition tool to decode the surveillance video to obtain the image to be detected, and annotate the obtained image to be detected and store it in the image database;

[0047] In the present invention, based on the full graphical interface of the LabelImg annotation tool, written in Python and Qt, the annotation information is directly converted into an XML file. Specifically, for the fence and workers on the pole tower in the image to be inspected, the LabelImg annotation tool is used to target the fence and workers on the pole tower respectively, and rectangular boxes are used to annotate to form an XML tag file;

[0048] For the ground of the image to be inspected, use the PixelAnnotationTool annotation tool to annotate the ground as a mask label.

[0049] The present invention uses the PixelAnnotationTool annotation tool to mark the workers on the towers in the training images, and can also mark the towers and workers in the depth training images separately, and can also mark the fences and background areas.

[0050] Step 2: training a construction scene detection model, taking workers on the tower as the detection target, selecting multiple training images and label data from the image database described in step 1, and inputting them into the yolov5 algorithm until the scene detection model meets the use requirements to form a scene detection model;

[0051] Step 3: Train the fence detection model, take the fence on the ground as the detection target, select multiple training images and label data from the image database described in step 1, and input them into the yolov5 algorithm until the fence detection model meets the use requirements to form a fence detection model;

[0052] The training images in step 2 and step 3 of the present invention are set as a training set and a verification set in a ratio of 8:2.

[0053] The yolov5 algorithm in steps 2 and 3 is trained with the default algorithm parameters on the NVIDIA GPU server.

[0054] The model in step 2 and step 3 meets the use requirements, which means that after the training is completed, the model is evaluated using mAP as the evaluation standard until it meets the use requirements. mAP is the number of images with workers on the tower detected in each training image, and the number of images with fences on the ground detected in the training image.

[0055] Step 4: Train the ground segmentation model, taking the ground in the image as the segmentation target, select multiple training images and label data from the image database described in step 1, and input them into the deeplabv3 algorithm until the ground segmentation model meets the usage requirements to form a ground segmentation model; the deeplabv3 algorithm is trained in the NVIDIA GPU server with the default algorithm parameters.

[0056] Furthermore, the ground segmentation model described in step 4 meets the use requirements, which means that after training is completed, it is evaluated using mIOU as the evaluation criterion until it meets the use requirements.

[0057] The ratio between the true value and the predicted value of the ground segmentation model is evaluated based on mIOU. The present invention can be calculated based on the mIOU class, and the IOU of each class of ground segmentation model is calculated and accumulated, and then averaged to obtain a global evaluation.

[0058] Step 5: Process the video stream collected from the construction site into images according to the method described in step 1, and input the images into the scene detection model described in step 2, the fence detection model described in step 3, and the ground segmentation model described in step 4 respectively;

[0059] Step 6: Judge and calculate the output results of the scene detection model, fence detection model, and ground segmentation model described in step 5 to determine whether there is any violation.

[0060] The conditions for judging violations are:

[0061] In the ground detection model, a threshold a is set; the threshold a is used to determine whether the ratio of the ground to the entire image in the image output by the ground segmentation model meets the set condition;

[0062] When no worker on the tower is detected in the scene detection model, the compliance judgment output result is normal;

[0063] When the scene detection model detects workers on the tower, and the fence detection model detects the existence of a fence, the compliance judgment output result is normal;

[0064] When the scene detection model detects a worker on the tower, the fence detection model does not detect the fence, and the proportion of the ground in the image predicted by the ground segmentation model does not exceed the set threshold a, the compliance judgment output result is normal;

[0065] When the scene detection model detects a worker on the tower, the fence detection model does not detect the fence, and the proportion of the ground in the image predicted by the ground segmentation model exceeds the set threshold a, the compliance judgment output result is a violation.

[0066] The fence setting compliance detection method for power pole tower operations provided by the present invention is modeled based on the deep learning method. The complex scene of power workers constructing on the pole tower without setting up fences is decomposed into three targets: "workers on the pole tower", "fence" and "ground", and the characteristics of the construction site are extracted in a targeted manner. The effect of real-time detection can be achieved, and the on-site images of violations can be saved for manual review, which greatly improves efficiency and reduces the workload of supervisors.

[0067] Based on the above method, the present invention also provides a fence setting compliance detection system for power tower operations, such as Figure 3As shown, the system includes: a database construction acquisition module, a construction scene detection training module, a fence detection training module, a ground segmentation training module, a construction site information processing module and a violation determination module;

[0068] The database construction and acquisition module is used to construct an image database, use an image acquisition tool to decode the surveillance video to obtain the image to be detected, and annotate the obtained image to be detected and store it in the image database;

[0069] The construction scene detection training module is used to take the workers on the tower as the detection target, select multiple training images and label data from the image database, and input them into the yolov5 algorithm until the scene detection model meets the use requirements to form a scene detection model;

[0070] The fence detection training module is used to take the fence on the ground as the detection target, select multiple training images and label data from the image database, and input them into the yolov5 algorithm until the fence detection model meets the use requirements to form a fence detection model;

[0071] The ground segmentation training module is used to take the ground in the image as the segmentation target, select multiple training images and label data from the image database, and input them into the deeplabv3 algorithm until the ground segmentation model meets the usage requirements to form a ground segmentation model;

[0072] The construction site information processing module is used to process the video stream collected from the construction site into images, and input the images into the scene detection model, fence detection model, and ground segmentation model respectively;

[0073] The violation determination module is used to judge and calculate the output results of the scene detection model, fence detection model, and ground segmentation model to determine whether there is any violation.

[0074] The present invention provides a system to reduce the workload of manual inspections at the construction site, prevent missed inspections, and avoid safety accidents caused by construction workers' illegal operations. The system uses deep learning technology to analyze and process real-time monitoring videos of the construction site, detect illegal behaviors, and issue alarm prompts.

[0075] The present invention also provides a device for implementing a fence setting compliance detection method for power pole tower operations, comprising:

[0076] A memory for storing a computer program and a fence setting compliance detection method for power pole tower operations;

[0077] A processor is used to execute the computer program and the fence setting compliance detection method for power pole tower operations to implement the steps of the fence setting compliance detection method for power pole tower operations.

[0078] The fence setting compliance detection method for power pole tower operations provided by the present invention is a unit and algorithm step of each example described in combination with the embodiments disclosed herein, and can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0079] Those skilled in the art will appreciate that the various aspects of the fence setting compliance detection device for power pole tower operations provided by the present invention can be implemented as a system, method or program product. Therefore, various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which can be collectively referred to as "circuits", "modules" or "systems" here.

[0080] The fence setting compliance detection method for power pole tower operations provided by the present invention can be written in any combination of one or more programming languages ​​to write program codes for performing the operations disclosed herein, and the programming languages ​​include object-oriented programming languages—such as Java, C++, etc., and also include conventional procedural programming languages—such as "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0081] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A fence setting compliance detection method for power tower operations, characterized in that: Methods include: Step 1: Build an image database, use an image acquisition tool to decode the surveillance video to obtain the image to be detected, and annotate the obtained image to be detected and store it in the image database; Step 2: training a construction scene detection model, taking workers on the tower as the detection target, selecting multiple training images and label data from the image database described in step 1, and inputting them into the yolov5 algorithm until the scene detection model meets the use requirements to form a scene detection model; Step 3: Train the fence detection model, take the fence on the ground as the detection target, select multiple training images and label data from the image database described in step 1, and input them into the yolov5 algorithm until the fence detection model meets the use requirements to form a fence detection model; Step 4: Train the ground segmentation model, taking the ground in the image as the segmentation target, select multiple training images and label data from the image database described in step 1, and input them into the deeplabv3 algorithm until the ground segmentation model meets the usage requirements to form a ground segmentation model; Step 5: Process the video stream collected from the construction site into images according to the method described in step 1, and input the images into the scene detection model described in step 2, the fence detection model described in step 3, and the ground segmentation model described in step 4 respectively; Step 6: Judge and calculate the output results of the scene detection model, fence detection model, and ground segmentation model described in step 5 to determine whether there is any violation.

2. The fence setting compliance detection method for power tower operation according to claim 1 is characterized in that: The conditions for judging violations are: In the ground detection model, a threshold a is set; the threshold a is used to determine whether the ratio of the ground to the entire image in the image output by the ground segmentation model meets the set condition; When no worker on the tower is detected in the scene detection model, the compliance judgment output result is normal; When the scene detection model detects workers on the tower, and the fence detection model detects the existence of a fence, the compliance judgment output result is normal; When the scene detection model detects a worker on the tower, the fence detection model does not detect the fence, and the proportion of the ground in the image predicted by the ground segmentation model does not exceed the set threshold a, the compliance judgment output result is normal; When the scene detection model detects a worker on the tower, the fence detection model does not detect the fence, and the proportion of the ground in the image predicted by the ground segmentation model exceeds the set threshold a, the compliance judgment output result is a violation.

3. The fence setting compliance detection method for power tower operations according to claim 1 or 2 is characterized in that: Step one also includes: using the LabelImg annotation tool to mark the fence and the workers on the pole tower in the image to be inspected, respectively, with the fence and the workers on the pole tower as targets, using rectangular boxes to mark, and forming an XML label file; For the ground of the image to be inspected, use the PixelAnnotationTool annotation tool to annotate the ground as a mask label.

4. The fence setting compliance detection method for power tower operations according to claim 1 or 2 is characterized in that: The training images in step 2 and step 3 are set as training set and validation set in a ratio of 8:

2.

5. The fence setting compliance detection method for power tower operation according to claim 1 or 2 is characterized in that: The yolov5 algorithm in steps 2 and 3 is trained with the default algorithm parameters on the NVIDIA GPU server.

6. The fence setting compliance detection method for power tower operation according to claim 1 or 2 is characterized in that: The models in step 2 and step 3 meet the usage requirements, which means that after training, they are evaluated using mAP as the evaluation criterion until they meet the usage requirements.

7. The fence setting compliance detection method for power tower operation according to claim 1 or 2 is characterized in that: The deeplabv3 algorithm described in step 4 is trained on the NVIDIA GPU server with the default algorithm parameters.

8. The fence setting compliance detection method for power tower operation according to claim 1 or 2 is characterized in that: The ground segmentation model described in step 4 meets the use requirements, which means that after training, it is evaluated using mIOU as the evaluation criterion until it meets the use requirements.

9. A fence setting compliance detection system for power tower operations, characterized in that: The system adopts the fence setting compliance detection method for power tower operations as described in any one of claims 1 to 8; The system includes: database construction and acquisition module, construction scene detection training module, fence detection training module, ground segmentation training module, construction site information processing module and violation judgment module; The database construction and acquisition module is used to construct an image database, use an image acquisition tool to decode the surveillance video to obtain the image to be detected, and annotate the obtained image to be detected and store it in the image database; The construction scene detection training module is used to take the workers on the tower as the detection target, select multiple training images and label data from the image database, and input them into the yolov5 algorithm until the scene detection model meets the use requirements to form a scene detection model; The fence detection training module is used to take the fence on the ground as the detection target, select multiple training images and label data from the image database, and input them into the yolov5 algorithm until the fence detection model meets the use requirements to form a fence detection model; The ground segmentation training module is used to take the ground in the image as the segmentation target, select multiple training images and label data from the image database, and input them into the deeplabv3 algorithm until the ground segmentation model meets the usage requirements to form a ground segmentation model; The construction site information processing module is used to process the video stream collected from the construction site into images, and input the images into the scene detection model, fence detection model, and ground segmentation model respectively; The violation determination module is used to judge and calculate the output results of the scene detection model, fence detection model, and ground segmentation model to determine whether there is any violation.

10. A device for implementing a fence setting compliance detection method for power tower operations, characterized in that: include: A memory for storing a computer program and a fence setting compliance detection method for power pole tower operations; A processor is used to execute the computer program and the fence setting compliance detection method for power pole tower operations to implement the steps of the fence setting compliance detection method for power pole tower operations as described in any one of claims 1 to 8.