A damage identification marking method and system in an industrial environment

Through video stream processing and target recognition algorithms, the overlapping area between trucks and curbs is analyzed in real time, and a rolling damage mark map is generated, which solves the problem of heavy trucks rolling over curbs in industrial environments, achieves efficient monitoring and early warning, and avoids Infrastructure damage and transportation accidents.

CN118587709BActive Publication Date: 2024-10-18LUCULENT SMART TECHNOLOGIES CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411053767.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-10-18
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

In an industrial environment, relying on temporary manpower to supervise the problem of heavy trucks rolling down curbs leads to inefficiency, frequent damage to curbs, and inability to effectively avoid transportation accidents and infrastructure damage.

Method used

Through video stream processing, the target recognition algorithm is used to identify trucks and curbs. The 3D algorithm and the Yolov5 algorithm are combined to analyze the overlapping area between the truck bottom and the curb in real time. The video frames are cropped to obtain the pictures before and after the crushing, and the damaged areas are marked for comparison and generated. Complete rolling damage mark map to issue early warning.

Benefits of technology

It achieves all-weather real-time monitoring, reduces misjudgment rates, improves processing efficiency, avoids curb damage and transportation accidents, and enhances the analysis and early warning capabilities of heavy vehicle crushing behavior.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587709B_ABST
    Figure CN118587709B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of industrial image detection, and discloses a method and system for identifying damage marks in an industrial environment. The method comprises: processing a video stream through a target recognition algorithm to identify a truck target and a corresponding license plate, and obtaining a first video frame including the license plate; obtaining a second video frame, obtaining a curb pre-map based on the second video frame, and cutting the first video frame based on a polygon in the pre-map to obtain a curb segment picture that has not been crushed; obtaining an overlapping portion between the truck bottom area and the curb pre-map, and judging the curb crushing state based on the overlapping portion and a first threshold; if there is a crushing state, obtaining a third video frame, cutting the third video frame based on a polygon to obtain a curb segment picture after crushing; comparing the curb segment pictures that have not been crushed with the curb segment pictures after crushing to obtain a damage state, and finally obtaining a complete crushing damage mark picture. The method can greatly reduce the misjudgment rate, reduce the complexity of image analysis and the complexity of judgment, and is easy to implement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial image detection, and in particular to a damage identification marking method and system in an industrial environment. Background Art

[0002] In modern industrial production, an efficient logistics and transportation system is a key link to ensure the smooth progress of production activities, especially for those industries that rely on heavy trucks to transport bulk raw materials or large finished products, such as coal-fired power plants, steel manufacturing, heavy machinery manufacturing, etc. These industries often need to deal with the transportation needs of oversized and overweight loads, and this process is highly dependent on the cooperation of external transportation companies.

[0003] However, since transport drivers are not internal employees of the company, they may not be able to effectively communicate the specific rules and regulations of the factory to external personnel, resulting in a disconnect in the enforcement of rules. For example, speed limits, designated driving routes, and operating procedures in loading and unloading areas increase the number of cases where curbs are crushed and damaged; at the same time, external drivers are unfamiliar with the internal terrain and road layout of the factory, which may lead to curbs being crushed due to improper operation by drivers in some narrow turning spaces. Curbs are important facilities for guiding traffic and protecting sidewalks and green belts. Once they are frequently crushed and damaged by heavy vehicles, it will not only affect the traffic order and appearance of the factory, but also increase the cost of frequent maintenance. The method of relying on temporary manpower for on-site supervision is not only inefficient, but also difficult to achieve all-weather coverage without blind spots in the face of large-scale and high-frequency transportation activities, and it is difficult to fundamentally solve the problems of illegal driving and facility damage.

[0004] Therefore, there is an urgent need for a method that can analyze and warn the behavior of heavy trucks rolling over curbs in real time around the clock, so as to avoid damage to factory infrastructure and transportation accidents in a timely manner. Summary of the invention

[0005] In view of the above existing problems, the present invention is proposed.

[0006] Therefore, the present invention provides a damage identification marking method and system in an industrial environment to solve the problem of low efficiency of on-site supervision of large and heavy vehicles carrying goods and frequent crushing and damage to curbs that currently rely on temporary manpower.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0008] In a first aspect, the present invention provides a damage identification and marking method in an industrial environment, comprising: acquiring a video stream in a monitoring area;

[0009] Processing the video stream by a target recognition algorithm to identify a truck target and a corresponding license plate, and obtaining a first video frame including the license plate;

[0010] Acquire a second video frame, obtain a curb pre-map based on the second video frame, the curb pre-map including at least one polygon, and crop the first video frame based on the coordinates of the polygon to obtain an image of a curb section that has not been crushed;

[0011] Continuously analyzing the video stream including the truck image through the target recognition algorithm, obtaining the overlapping portion of the bottom area of ​​the truck and the curb pre-map, and determining the curb rolling state based on the overlapping portion and the first threshold value;

[0012] If there is a rolling state, a third video frame is obtained, the polygons in the pre-map are traversed, and the third video frame is cropped based on the coordinates of the polygons to obtain a picture of the road tooth segment after rolling;

[0013] The unrolled curb segment picture is compared with the rolled curb segment picture to obtain the damage status, and the damaged area is marked in the rolled curb segment picture. All rolled curb segment pictures are traversed to obtain a complete rolling damage marking picture.

[0014] As a preferred solution of the damage identification marking method in an industrial environment of the present invention, the video stream is processed by a target recognition algorithm to identify a truck target and a corresponding license plate, and a first video frame including the license plate is obtained, including:

[0015] The truck recognition model is obtained by training the monocular 3D algorithm, and the license plate recognition model is obtained by training the Yolov5 algorithm;

[0016] Loop through the video stream to get frames, and use the PaddlePaddle inference framework to identify the truck target in the frame image based on the truck model.

[0017] After the truck target is first recognized, the frame is taken again in a loop, and the corresponding license plate is identified in the frame image based on the license plate recognition model through the PaddlePaddle inference framework;

[0018] After the corresponding license plate is identified, a first video frame including the license plate is acquired.

[0019] As a preferred solution of the damage identification marking method in an industrial environment described in the present invention, wherein: obtaining the overlapping portion of the bottom area of ​​the truck and the curb pre-map, and judging the curb rolling state based on the overlapping portion and the first threshold value, comprises:

[0020] Get video stream and take frames in real time ;

[0021] Based on the truck model, the video frame If the matching degree is greater than the set threshold, the three-dimensional area of ​​the truck model is obtained, and the quadrilateral of the bottom of the vehicle is taken as ;

[0022] Traverse the pre-drawing and judge each polygon and quadrilateral Whether there is overlap: when the bottom area of ​​the truck overlaps with the curb pre-map, if the width of the overlapping area exceeds the first threshold of the curb width in the pre-map, it is determined that the curb is rolled over;

[0023] The overlap width is equal to the width of the quadrilateral The length of the longest line segment parallel to the width of the line.

[0024] As a preferred solution of the damage identification marking method in an industrial environment described in the present invention, if a certain curb segment is judged to be in a rolled state, it is added to the rolled curb segment marking set. , and get the current frame and store it in the crushed picture set.

[0025] As a preferred solution of the damage identification marking method in an industrial environment of the present invention, the second video frame is a video frame extracted earlier than the first video frame and the truck has not traveled;

[0026] The third video frame is the first frame obtained after the truck target cannot be identified in a preset number of consecutive video frames.

[0027] As a preferred embodiment of the damage identification and marking method in an industrial environment of the present invention, the image of the unrolled curb segment is compared with the image of the rolled curb segment to obtain the damage state, and the damaged area is marked in the image of the rolled curb segment, including:

[0028] The image comparison algorithm is used to compare the images of the curb section before and after rolling. If there is a difference in the comparison results in the images, it is determined that the curb is damaged.

[0029] Get the difference area on the image of the road tooth section after rolling ;in, Indicates damaged area;

[0030] Difference Area After the coordinate conversion, the coordinates of the damaged areas in the third video frame are obtained, and the third video frame is marked;

[0031] Completely traverse the rolled curb segment marker set , in order to obtain a complete rolling damage marking map.

[0032] As a preferred solution of the damage identification marking method under industrial environment described in the present invention, wherein: the first video frame is segmented by a license plate model to obtain a license plate image;

[0033] Extract the license plate number from the license plate image based on the text recognition model;

[0034] A crushing warning is issued based on the license plate number, crushing map, and damage mark map information.

[0035] In a second aspect, the present invention provides a damage identification marking system in an industrial environment, comprising:

[0036] An acquisition module is used to acquire video streams in the monitoring area;

[0037] A first processing module, configured to process the video stream by using a target recognition algorithm to recognize a truck target and a corresponding license plate, and obtain a first video frame including the license plate;

[0038] A pre-drawing and cropping module is used to obtain a second video frame, obtain a curb pre-drawing map based on the second video frame, the curb pre-drawing map includes at least one polygon, and crop the first video frame based on the coordinates of the polygon to obtain an image of a curb section that has not been crushed;

[0039] A first judgment module is used to continuously analyze the video stream including the truck image through a target recognition algorithm, obtain the overlapping portion of the bottom area of ​​the truck and the curb pre-map, and judge the curb rolling state based on the overlapping portion and a first threshold value;

[0040] A second cropping module is used to obtain a third video frame if there is a rolling state, traverse the polygons in the pre-mapped image, and crop the third video frame based on the coordinates of the polygons to obtain a road tooth segment image after rolling;

[0041] The second judgment module is used to compare the unrolled curb segment picture with the rolled curb segment picture to obtain a damage state, mark the damaged area in the rolled curb segment picture, and traverse all rolled curb segment pictures to obtain a complete rolled damage marking picture.

[0042] In a third aspect, the present invention provides a computing device, comprising:

[0043] Memory and processor;

[0044] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the damage identification marking method in an industrial environment are implemented.

[0045] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the damage identification and marking method in an industrial environment.

[0046] Compared with the prior art, the present invention has the following beneficial effects: the present invention uses computer vision recognition technology combined with a method of regional classification and marking to mark the spatial position of the curb in the monitoring scene to obtain curb area data, more accurately draws the three-dimensional space of the vehicle, and ultimately determines whether rolling over occurs based on whether the bottom of the vehicle overlaps with the curb, greatly reducing the misjudgment rate; at the same time, according to the marked area of ​​the curb section, the pictures before and after rolling are cropped on the real-time frame, and targeted comparison and analysis of the pictures are performed, effectively reducing the complexity of picture analysis and the complexity of judgment; the overall concept is simple and easy to implement, has good robustness for any polygonal area, improves processing speed and execution efficiency, and can effectively avoid damage to factory infrastructure and the occurrence of transportation accidents. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below 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.

[0048] Figure 1 It is a schematic diagram of the overall process of the damage identification and marking method in an industrial environment according to the first embodiment of the present invention;

[0049] Figure 2 A schematic diagram of calculation of overlap between a truck and a curb segment in a damage identification marking method in an industrial environment according to a first embodiment of the present invention;

[0050] Figure 3 This is another schematic diagram of calculating the overlap between a truck and a curb segment in the damage identification marking method under an industrial environment described in the first embodiment of the present invention. DETAILED DESCRIPTION

[0051] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0052] Example 1, reference Figure 1-Figure 3 , as an embodiment of the present invention, provides a damage identification marking method in an industrial environment, comprising:

[0053] S100: Obtaining video stream in the monitoring area;

[0054] It should be noted that before the monitoring equipment is connected, the monitoring equipment points need to be planned. The key prevention area, that is, the curb section that is often run over by trucks, should be included in the monitoring field of view and should be in front of or behind the direction of vehicle travel to facilitate the extraction of license plate numbers. There are multiple key prevention areas in the factory area, and each prevention area adjusts or adds monitoring points based on this principle.

[0055] When the monitoring device is located at the optimal point, its video stream can be connected to the detection server in real time. The detection service can take frames from the real-time video stream for subsequent analysis and processing.

[0056] S200: Processing the video stream by using a target recognition algorithm to recognize a truck target and a corresponding license plate, and obtaining a first video frame including the license plate;

[0057] In the embodiment of the present application, the video stream is processed by a target recognition algorithm to identify a truck target and a corresponding license plate, and a first video frame including the license plate is obtained, including:

[0058] The truck recognition model is obtained by training the monocular 3D algorithm, and the license plate recognition model is obtained by training the Yolov5 algorithm;

[0059] Loop through the video stream to get frames, and use the PaddlePaddle inference framework to identify the truck target in the frame image based on the truck model.

[0060] After the truck target is first recognized, the frame is taken again in a loop, and the corresponding license plate is identified in the frame image based on the license plate recognition model through the PaddlePaddle inference framework;

[0061] It should be noted that to identify truck targets and license plate targets, relevant models need to be trained in advance;

[0062] Exemplarily, based on the above scheme, the steps for acquiring the truck model are as follows: collect more than 3,000 monocular images of all transport trucks on the factory side; use the depth estimation algorithm to generate a depth map, and then convert the depth map into a point cloud; use the 3D annotation tool to annotate, and then save the annotated data as a KITTI format dataset; import the annotated dataset into the PaddlePaddle training platform, and use the Paddle3D algorithm to train to obtain the truck model; use the PaddlePaddle training platform to test and verify the truck model.

[0063] Exemplarily, based on the above scheme, the steps for acquiring the license plate model are as follows: collect more than 2,000 license plate pictures; use annotation tools to annotate the license plate pictures to obtain annotated data set; import the annotated data set into the PaddlePaddle training platform, and use the YOLOV5 algorithm to train to obtain a card model; use the PaddlePaddle training platform to test and verify the license plate model.

[0064] After the corresponding license plate is identified, a first video frame including the license plate is acquired.

[0065] For example, based on the two trained models, recognition is performed, and the specific process may be:

[0066] Step 1: Take a frame from the video stream and analyze it using the truck model. If the truck model match is less than 90%, take the next frame and repeat this step.

[0067] Step 2: If the truck model matches more than 90%, the license plate model is used to perform inference analysis on this frame. If the license plate model matches less than 90%, the first step is repeated.

[0068] Step 3: If the license plate model matches more than 90%, cache this frame and record it as the first video frame ;

[0069] The first video frame obtained It will be temporarily stored in the memory as the basic material for subsequent extraction of the curb section image and license plate number before rolling.

[0070] S300: Acquire a second video frame, obtain a curb pre-map based on the second video frame, the curb pre-map including at least one polygon, and crop the first video frame based on the coordinates of the polygon to obtain an image of a curb section that has not been crushed;

[0071] In the embodiment of the present application, the second video frame is a video frame extracted earlier than the first video frame and the truck has not traveled;

[0072] Specifically, the second video frame can be obtained through the video stream , based on the second video frame The picture is taken and the outline is extracted along the curb of the prevention area. It can be extracted manually or automatically through image recognition.

[0073] Exemplarily, it is preferred to manually draw the edges for extraction to obtain multiple irregular polygons. , the polygons formed by the strokes of all curb segments form the pre-drawing ,in, Indicates polygons; the pre-drawn image exists and is used in a collection structure of vertex coordinates of each polygon.

[0074] Exemplary, traversing the pre-drawing map All curb segment polygons in the first video frame along the edge of each curb segment polygon The pictures obtained are cropped in equal proportion in the picture, and the pictures obtained are the pictures of the curb section that has not been crushed; after the traversal is completed, the pictures obtained from all the curb sections are collected into a picture set, which is the picture set of the curb section that has not been crushed. ,in, Indicates A picture of an unrolled curb section.

[0075] S400: continuously analyzing the video stream including the truck image through a target recognition algorithm, obtaining an overlapping portion of the truck bottom area and the curb pre-map, and determining a curb rolling state based on the overlapping portion and a first threshold value;

[0076] In the embodiment of the present application, obtaining the overlapping portion of the truck bottom area and the curb pre-map, and judging the curb rolling state based on the overlapping portion and the first threshold value includes:

[0077] Get video stream and take frames in real time ;

[0078] Based on the truck model, the video frame If the matching degree is greater than the set threshold, the three-dimensional area of ​​the truck model is obtained, and the quadrilateral of the bottom of the vehicle is taken as ;

[0079] Specifically, the threshold value in this step may be set to 90% or a value that conforms to the actual situation;

[0080] Traverse the pre-drawing and judge each polygon and quadrilateral Overlapping: When the bottom area of ​​the truck overlaps with the curb pre-map, if the width of the overlapping area exceeds the first threshold of the curb width in the pre-map, it is judged that the curb is crushed. Figure 2 As shown in the figure, the irregular polygonal curved shape is the curb segment, the rectangle is the projection of the bottom of the truck, and the dotted line segment is the overlap area with a width of The line segment parallel to the width;

[0081] Specifically, the first threshold may be 10% or a value that conforms to the actual situation;

[0082] The overlap width is equal to the width of the quadrilateral The length of the longest line segment parallel to the width of the line.

[0083] In another embodiment, the overlapping portion of the truck bottom area and the curb pre-map is obtained, and the curb rolling state is determined based on the overlapping portion and a first threshold value, such as Figure 3 As shown, the irregular polygonal curved shape is the curb segment, the rectangle is the bottom projection of the truck, and the shadow filled portion is the overlapping area;

[0084] Traverse the pre-drawing and judge each polygon and quadrilateral Overlapping: When the bottom area of ​​the truck overlaps with the curb pre-map, if the area of ​​the overlapping area exceeds the first threshold of the curb polygon area in the pre-map, it is determined that the curb is crushed;

[0085] Specifically, the first threshold may be 20% or a value that conforms to the actual situation.

[0086] In the embodiment of the present application, if a curb segment is determined to be in a rolled state, it is added to the rolled curb segment mark set. , and get the current frame and store it in the crushed picture set.

[0087] S500: If there is a rolling state, obtain a third video frame, traverse the polygons in the pre-mapped image, and cut the third video frame based on the coordinates of the polygons to obtain a picture of the curb segment after rolling;

[0088] In the embodiment of the present application, the third video frame is the first frame obtained after the truck target cannot be identified in a preset number of consecutive video frames.

[0089] Specifically, the preset number of consecutive video frames may be 5 consecutive frames or a value that conforms to the actual situation;

[0090] S600: Compare the unrolled curb segment image with the rolled curb segment image to obtain a damage state, mark the damaged area in the rolled curb segment image, and traverse all rolled curb segment images to obtain a complete rolled damage marking image.

[0091] In the embodiment of the present application, the image of the unrolled curb segment is compared with the image of the rolled curb segment to obtain the damage state, and the damaged area is marked in the image of the rolled curb segment, including:

[0092] The image comparison algorithm is used to compare the images of the curb section before and after rolling. If there is a difference in the comparison results in the images, it is determined that the curb is damaged.

[0093] Specifically, the difference may be a change in color, inner contour or outer contour of a polygon, and the like.

[0094] It should be noted that the damage caused by rolling itself may be relatively small, so as long as there is a difference, it can be judged as damage;

[0095] Get the difference area on the image of the road tooth section after rolling ;in, Indicates damaged area;

[0096] Difference Area After the coordinate conversion, the coordinates of the damaged areas in the third video frame are obtained, and the third video frame is marked;

[0097] Completely traverse the rolled curb segment marker set , in order to obtain a complete rolling damage marking map.

[0098] It should be noted that polygonal outlining, whether manual outlining or automatic recognition and extraction, may not completely fit the actual curb and may have deviations. In addition, due to the presence of corners at the ends of the curb, the bottom of the vehicle may overlap with the curb section at the corner, but there is actually no crushing. Therefore, damage detection needs to be added to improve the accuracy of crushing judgment.

[0099] At the same time, this step does not directly use the panoramic images before and after rolling for comparison, but compares the pre-mapped area, which can effectively reduce the image noise interference and further improve the accuracy of damage identification.

[0100] Exemplarily, the above steps S500-S600 may specifically be:

[0101] Step 1: After the truck model cannot be recognized for 5 consecutive frames, take the first frame and record it as the third video frame ,

[0102] Step 2: Based on the pre-drawing , from the frame d, cut out the polygon of the rolled curb segment, recorded as ;

[0103] Step 3: Take out the corresponding rolling front road tooth segment picture, that is, Take out ;

[0104] Step 4: Use the Numpy library's image comparison algorithm to compare and ;

[0105] Step 5: If the color value of the comparison result changes and the difference value reaches 5%, it is judged that the curb is damaged. Use OpenCV to generate a picture of the curb section after rolling. Calculate the difference area ;

[0106] Step 6: Difference area R i All damaged areas in the third video frame are converted according to the coordinates. The coordinates of the damaged area can be marked;

[0107] Step 7: Until BN is completely traversed, a complete rolling damage mark map is obtained.

[0108] In the embodiment of the present application, it also includes performing target segmentation on the first video frame by using a license plate model to obtain a license plate image;

[0109] Extract the license plate number from the license plate image based on the text recognition model;

[0110] A crushing warning is issued based on the license plate number, crushing map, and damage mark map information.

[0111] In summary, the present invention cuts and obtains pictures before and after rolling on the real-time frame, and conducts targeted comparison and analysis of the pictures, which effectively reduces the complexity of picture analysis, greatly improves the efficiency of the algorithm, the accuracy of the analysis results, and the effectiveness of the damage mark; the concept is simple and easy to implement, which improves the processing speed and execution efficiency, and can be adapted to the detection and alarm of any curb rolling. It can realize the analysis and alarm of the behavior of heavy trucks rolling on the curb in real time around the clock, urge external drivers to drive in a standardized and safe manner, and avoid damage to the infrastructure within the factory and the occurrence of transportation accidents.

[0112] The above is a schematic scheme of a damage identification marking method in an industrial environment of this embodiment. It should be noted that the technical scheme of the damage identification marking system in an industrial environment and the technical scheme of the damage identification marking method in an industrial environment described above belong to the same concept, and the details not described in detail in the technical scheme of the damage identification marking system in an industrial environment in this embodiment can all be referred to the description of the technical scheme of the damage identification marking method in an industrial environment described above.

[0113] In this embodiment, the damage identification marking system in an industrial environment includes:

[0114] An acquisition module is used to acquire video streams in the monitoring area;

[0115] A first processing module, configured to process the video stream by using a target recognition algorithm to recognize a truck target and a corresponding license plate, and obtain a first video frame including the license plate;

[0116] A pre-drawing and cropping module is used to obtain a second video frame, obtain a curb pre-drawing map based on the second video frame, the curb pre-drawing map includes at least one polygon, and crop the first video frame based on the coordinates of the polygon to obtain an image of a curb section that has not been crushed;

[0117] A first judgment module is used to continuously analyze the video stream including the truck image through a target recognition algorithm, obtain the overlapping portion of the bottom area of ​​the truck and the curb pre-map, and judge the curb rolling state based on the overlapping portion and a first threshold value;

[0118] A second cropping module is used to obtain a third video frame if there is a rolling state, traverse the polygons in the pre-mapped image, and crop the third video frame based on the coordinates of the polygons to obtain a road tooth segment image after rolling;

[0119] The second judgment module is used to compare the unrolled curb segment picture with the rolled curb segment picture to obtain a damage state, mark the damaged area in the rolled curb segment picture, and traverse all rolled curb segment pictures to obtain a complete rolled damage marking picture.

[0120] This embodiment further provides a computing device, which is applicable to the case of a damaged identification mark in an industrial environment, including:

[0121] Memory and processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the damage identification and marking method in an industrial environment as proposed in the above embodiment.

[0122] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for realizing damage identification and marking in an industrial environment as proposed in the above embodiment is implemented.

[0123] The storage medium proposed in this embodiment and the method for realizing damage identification marking in an industrial environment proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0124] Through the above description of the implementation mode, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation mode. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer's floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0125] Example 2, referring to Tables 1 to 4, based on the previous example, this example provides an application comparison case of a damage identification marking method in an industrial environment to illustrate the feasibility and beneficial effects of our solution.

[0126] The traditional method generally determines whether a truck is crushed by the overlap between the truck and the curb. The method of the present invention adds a comparison of curb images on the basis of the traditional method to improve the accuracy of recognition. Under the same environment, taking into account both corner roads and straight roads, the method of the present invention and the traditional method are used to test and analyze 10,000 frames of video. The following is the comparative effect of the present invention and the traditional method shown in the data results.

[0127] Table 1: Comparison of recognition parameters and effects

[0128] Parameters / Effects Method of the present invention Traditional methods Recognition accuracy 95% 84% False Positive Rate 2% 11% Damage recognition accuracy 92% 70% Rolling state recognition time 20 s 12 s System response time 1.6 s 1.5 s Real-time monitoring coverage Partial coverage Full coverage Initial deployment cost medium medium Maintenance costs high medium Customer satisfaction high medium

[0129] Table 2: Comparison of curb segment recognition accuracy

[0130] Method of the present invention Traditional methods Left curb section at corner 92% 80% Corner right curb section 98% 87% Go straight on the left curb 94% 85% Go straight on the right curb 96% 85% average 95% 84%

[0131] Table 3: Comparison of false alarm rates in curb sections

[0132] Method of the present invention Traditional methods Left curb section at corner 3% 20% Corner right curb section 2% 15% Go straight on the left curb 1% 5% Go straight on the right curb 1% 5% average 2% 11%

[0133] Table 4: Comparison of the accuracy of identifying damaged curb segments

[0134] Method of the present invention Traditional methods Left curb section at corner 87% 62% Corner right curb section 94% 68% Go straight on the left curb 93% 75% Go straight on the right curb 93% 75% average 92% 70%

[0135] The above data and charts clearly demonstrate that the method of the present invention has practical advantages in terms of recognition accuracy, false alarm rate, damage recognition accuracy and other major factors affecting recognition.

[0136] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A damage identification marking method in an industrial environment, It is characterized in that include: Get the video stream in the monitoring area; Processing the video stream by a target recognition algorithm to identify a truck target and a corresponding license plate, and obtaining a first video frame including the license plate; Acquire a second video frame, obtain a curb pre-map based on the second video frame, the curb pre-map including at least one polygon, and crop the first video frame based on the coordinates of the polygon to obtain an image of a curb section that has not been crushed; The target recognition algorithm is used to continuously analyze the video stream including the truck image, obtain the overlapping portion of the truck bottom area and the curb pre-map, and determine the curb rolling state based on the overlapping portion and the first threshold value, including: Get video stream and take frames in real time ; Based on the truck model, the video frame If the matching degree is greater than the set threshold, the three-dimensional area of ​​the truck model is obtained, and the quadrilateral of the bottom of the vehicle is taken as ; Traverse the pre-drawing and judge each polygon and quadrilateral Overlapping: When the bottom area of ​​the truck overlaps with the curb pre-map, if the width of the overlapping area exceeds the first threshold of the curb width in the pre-map, it is determined that the curb is rolled over; The overlap width is equal to the width of the quadrilateral The length of the longest line segment among the line segments parallel to the width; If there is a rolling state, a third video frame is obtained, the polygons in the pre-map are traversed, and the third video frame is cropped based on the coordinates of the polygons to obtain a picture of the road tooth segment after rolling; The second video frame is a video frame extracted earlier than the first video frame and the truck has not traveled; The third video frame is the first frame obtained after the truck target cannot be identified in a preset number of consecutive video frames; The unrolled curb segment picture is compared with the rolled curb segment picture to obtain the damage status, and the damaged area is marked in the rolled curb segment picture. All rolled curb segment pictures are traversed to obtain a complete rolling damage marking picture.

2. The damage identification marking method in an industrial environment as claimed in claim 1, It is characterized in that The step of processing the video stream by a target recognition algorithm to recognize a truck target and a corresponding license plate, and obtaining a first video frame including the license plate, comprises: The truck recognition model is obtained by training the monocular 3D algorithm, and the license plate recognition model is obtained by training the Yolov5 algorithm; Loop through the video stream to get frames, and use the PaddlePaddle inference framework to identify the truck target in the frame image based on the truck model. After the truck target is first recognized, the frame is taken again in a loop, and the corresponding license plate is identified in the frame image based on the license plate recognition model through the PaddlePaddle inference framework; After the corresponding license plate is identified, a first video frame including the license plate is acquired.

3. The damage identification marking method in an industrial environment as claimed in claim 2, It is characterized in that It also includes: if a curb segment is judged to be rolled, it will be added to the rolled curb segment mark set , and get the current frame and store it in the crushed picture set.

4. The damage identification marking method in an industrial environment as claimed in claim 3, It is characterized in that Comparing the unrolled curb segment image with the rolled curb segment image to obtain a damage state, and marking the damaged area in the rolled curb segment image, including: The image comparison algorithm is used to compare the images of the curb section before and after rolling. If there is a difference in the comparison results in the images, it is determined that the curb is damaged. Get the difference area on the image of the road tooth section after rolling ;in, Indicates damaged area; Difference Area After the coordinate conversion, the coordinates of the damaged areas in the third video frame are obtained, and the third video frame is marked; Completely traverse the rolled curb segment marker set , in order to obtain a complete rolling damage mark map.

5. The damage identification marking method in an industrial environment as claimed in claim 4, It is characterized in that The method also includes performing target segmentation on the first video frame by using a license plate model to obtain a license plate image; Extract the license plate number from the license plate image based on the text recognition model; A crushing warning is issued based on the license plate number, crushing map, and damage mark map information.

6. A system using the damage identification marking method in an industrial environment as claimed in claim 1, It is characterized in that include: An acquisition module is used to acquire video streams in the monitoring area; A first processing module, configured to process the video stream by using a target recognition algorithm to recognize a truck target and a corresponding license plate, and obtain a first video frame including the license plate; A pre-drawing and cropping module is used to obtain a second video frame, obtain a curb pre-drawing map based on the second video frame, the curb pre-drawing map includes at least one polygon, and crop the first video frame based on the coordinates of the polygon to obtain an image of a curb section that has not been crushed; A first judgment module is used to continuously analyze the video stream including the truck image through a target recognition algorithm, obtain the overlapping portion of the bottom area of ​​the truck and the curb pre-map, and judge the curb rolling state based on the overlapping portion and a first threshold value; A second cropping module is used to obtain a third video frame if there is a rolling state, traverse the polygons in the pre-mapped image, and crop the third video frame based on the coordinates of the polygons to obtain a road tooth segment image after rolling; The second judgment module is used to compare the unrolled curb segment picture with the rolled curb segment picture to obtain a damage state, mark the damaged area in the rolled curb segment picture, and traverse all rolled curb segment pictures to obtain a complete rolled damage marking picture.

7. An electronic device, include: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the damage identification marking method in an industrial environment described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the damage identification and marking method in an industrial environment as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Vehicle driving lane detection method based on deep learning

    CN109977908A

  • method for detecting curbs in the vehicle environment

    DE102016215840A1