A line defect identification method, device, electronic equipment and storage medium
In the transmission line defect detection, qualified pictures are screened based on image attributes and the identification model is used to identify line characteristic defects, and the judgment threshold is adjusted based on the light status, which solves the problem of high false alarm rate in the existing technology and improves the accuracy of detection.
Patent Information
- Application Number
- CN202210304349.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-25
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-03-25
AI Technical Summary
In the existing technology, the false alarm rate is high when detecting defects in transmission lines, leading to serious problems of misjudgment and missed detection.
By obtaining the original picture taken, it is determined whether the picture is qualified based on the image attributes (brightness, color, contrast, sharpness and noise). If it is qualified, the preset recognition model is used to identify line feature defects, and the judgment threshold is adjusted according to the light status. Ensure identification accuracy.
It significantly reduces the false alarm rate, improves the accuracy of line defect identification, and reduces misjudgments and missed detections.
Smart Images

Figure CN114663404B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of defect identification, and in particular to a line defect identification method, device, electronic device and storage medium. Background Art
[0002] At present, in the sensitive areas of intelligent inspection of transmission lines, it is possible that the transmission line equipment will be damaged over time. At this time, drone inspections are deployed in sensitive key areas. The system automatically captures pictures of the area in real time, and then screens them through manual screening or target detection algorithms to determine whether it is a transmission line defect. At this time, the background interface of the remote monitoring center will pop up a defect alarm, and the platform administrator will then confirm and take corresponding measures in a timely manner.
[0003] However, when determining whether there are defects in transmission lines, the false alarm rate is high, whether it is through manual inspection or a combination of drones and artificial intelligence target detection methods.
[0004] In summary, the prior art has the problem of a high false alarm rate when performing transmission line defect detection. Summary of the invention
[0005] The purpose of the present application is to provide a line defect identification method, device, electronic device and storage medium to solve the problem of high false alarm rate when performing transmission line defect detection in the prior art.
[0006] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a line defect identification method, the method comprising:
[0008] Acquire the captured original picture, wherein the original picture includes line features;
[0009] Determining whether the original image is qualified based on image attributes, wherein the image attributes include brightness, color, contrast, sharpness, and noise;
[0010] If so, the original image is identified using a preset identification model to determine whether the line feature has defects.
[0011] Optionally, before the step of obtaining the captured original picture, the method further includes:
[0012] Using the training set images to train the scoring model to obtain a target scoring model, wherein the training set images also include line features;
[0013] The step of determining whether the original image is qualified based on image attributes comprises:
[0014] Scoring the original image using the target scoring model;
[0015] When the score of the original image is greater than or equal to a threshold, determining that the original image is qualified;
[0016] When the score of the original image is less than a threshold, it is determined that the original image is unqualified.
[0017] Optionally, after the step of using a preset recognition model to recognize the original image to determine whether the line feature has defects, the method further includes:
[0018] When acquiring multiple original images taken based on the same target area, acquiring the light state of the target area;
[0019] Determining a determination threshold according to the light state;
[0020] When the number of original images of the target area in which the line features are defective is greater than or equal to the determination threshold, it is determined that the line in the target area is defective.
[0021] Optionally, the step of determining a determination threshold according to the light state includes:
[0022] When the light state is bright, determining the determination threshold to be a first threshold;
[0023] When the light state is dim, the determination threshold is determined to be a second threshold, wherein the second threshold is smaller than the first threshold.
[0024] Optionally, the step of obtaining the captured original picture includes:
[0025] Set the flight path of the drone;
[0026] The drone is controlled to fly along the flight route, and original images are acquired through a camera device carried by the drone.
[0027] In a second aspect, an embodiment of the present application further provides a line defect identification device, the device comprising:
[0028] A data acquisition unit, used to acquire the original image taken, wherein the original image includes line features;
[0029] A data processing unit, configured to determine whether the original image is qualified based on image attributes, wherein the image attributes include brightness, color, contrast, sharpness, and noise;
[0030] The data processing unit is also used to identify the original image using a preset recognition model when it is determined that the original image is qualified, so as to determine whether the line feature has defects.
[0031] Optionally, the device further comprises:
[0032] A model training unit, used to train the scoring model using the training set images to obtain a target scoring model, wherein the training set images also include line features;
[0033] The data processing unit is used to score the original image using the target scoring model, and determine that the original image is qualified when the score of the original image is greater than or equal to a threshold, and determine that the original image is unqualified when the score of the original image is less than the threshold.
[0034] Optionally, the data acquisition unit is further used to acquire the light state of the target area when acquiring multiple original pictures taken based on the same target area;
[0035] The data processing unit is also used to determine a judgment threshold based on the light state, and determine that there are defects in the line of the target area when the number of original pictures with defective line features among multiple original pictures taken of the target area is greater than or equal to the judgment threshold.
[0036] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a memory for storing one or more programs; a processor; when the one or more programs are executed by the processor, the above-mentioned line defect identification method is implemented.
[0037] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the above-mentioned line defect identification method when executed by a processor.
[0038] Compared with the prior art, this application has the following beneficial effects:
[0039] The present application provides a line defect recognition method, device, electronic device and storage medium, firstly obtaining a captured original picture, wherein the original picture includes line features, and then determining whether the original picture is qualified based on image attributes, wherein the image attributes include brightness, color, contrast, sharpness and noise, and if qualified, using a preset recognition model to recognize the original picture to determine whether the line features are defective. Since the present application first screens the captured original picture according to certain standards when determining whether the line features are defective, and then can screen out unqualified original pictures, the accuracy rate is higher when performing recognition, and it is not easy to have false alarms.
[0040] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 A schematic diagram of a module of an electronic device provided in an embodiment of the present application.
[0043] Figure 2 A first exemplary flow chart of a line defect identification method provided in an embodiment of the present application.
[0044] Figure 3 A second exemplary flow chart of the line defect identification method provided in an embodiment of the present application.
[0045] Figure 4 A third exemplary flow chart of the line defect identification method provided in an embodiment of the present application.
[0046] Figure 5 This is a fourth exemplary flow chart of the line defect identification method provided in an embodiment of the present application.
[0047] Figure 6 A schematic diagram of a module of a line defect identification device provided in an embodiment of the present application.
[0048] In the figure: 100 - electronic device; 101 - processor; 102 - memory; 103 - communication interface; 200 - line defect identification device; 210 - data acquisition unit; 220 - data processing unit; 230 - model training unit. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0050] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0051] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0052] It should be noted that, in this document, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0053] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0054] With the development of modern technology, transmission line inspection is changing with each passing day. The application of drones combined with artificial intelligence target detection algorithms is the key to intelligent inspection technology for transmission lines. It is necessary to build a more complete high-altitude transmission line inspection management system to effectively improve the inspection level of transmission lines.
[0055] As the awareness of intelligent inspection of power transmission lines increases, the market for intelligent inspection of power transmission lines is growing further, and the technology is becoming more mature. Currently, there are many intelligent inspection technologies for key sensitive places. UAVs are combined with artificial intelligence target detection algorithms to identify major defects in power transmission lines, such as insulator self-explosion, insulator damage, conductor strands, anti-vibration hammer damage, and bird repellent damage, which greatly improves the efficiency of intelligent inspection of power transmission lines.
[0056] However, as described in the background technology, it is very difficult to determine whether there are defects in the transmission line, whether it is a manual inspection method or a combination of drones and artificial intelligence target detection methods. The biggest problem is false alarms. First, the transmission line is a high-altitude overhead transmission line, but the general overhead transmission line is a few kilometers to tens of kilometers. Secondly, the overhead transmission line often passes through mountains and rivers, and because of different angles, light, occlusion and other factors, it brings great challenges to the inspection of the transmission line, resulting in a certain degree of missed detection and false detection.
[0057] In view of this, the present application provides a line defect identification method, which evaluates the image quality after acquiring the image to determine whether the image is qualified, and only identifies qualified images, thereby greatly reducing the possibility of false alarms and improving the accuracy of defect identification.
[0058] It should be noted that the line defect identification method described in the present application can be applied to electronic devices, and the electronic devices can be different based on different application scenarios. For example, when applied to an aircraft scenario, the electronic device can be a drone, and the drone is used to implement the line defect identification operation. Of course, it can also be a background server, which communicates with the drone, and the drone feeds back the image taken at the current position to the server, and then the background server determines whether there is a defect in the line feature, which is not limited here.
[0059] in, Figure 1 A schematic structural block diagram of an electronic device 100 provided in an embodiment of the present application is shown, and the electronic device 100 includes a memory 102, a processor 101, and a communication interface 103. The memory 102, the processor 101, and the communication interface 103 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.
[0060] The memory 102 can be used to store software programs and modules, such as program instructions or modules corresponding to the line defect identification device provided in the embodiment of the present application. The processor 101 executes various functional applications and data processing by executing the software programs and modules stored in the memory 102, thereby executing the steps of the line defect identification method provided in the embodiment of the present application. The communication interface 103 can be used to communicate signaling or data with other node devices.
[0061] Among them, the memory 102 can be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable programmable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
[0062] The processor 101 may be an integrated circuit chip with signal processing capability. The processor 101 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0063] Understandably, Figure 1 The structure shown is for illustration only. The electronic device 100 may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0064] The following uses the electronic device 100 as an illustrative execution entity to exemplarily illustrate the line defect identification method provided in the embodiment of the present application.
[0065] As an implementation, see Figure 2 , the line defect identification method includes:
[0066] S102, obtaining the original image taken, wherein the original image includes line features.
[0067] S104, determining whether the original image is qualified based on image attributes, wherein the image attributes include brightness, color, contrast, sharpness and noise; if yes, executing S106.
[0068] S106, using a preset recognition model to recognize the original image to determine whether there are defects in the line features.
[0069] Among them, the line characteristics described in this application refer to transmission lines, that is, taking relevant pictures of transmission lines, and identifying the transmission lines in the pictures, and then determining whether there are faults in the transmission lines, such as insulator self-explosion, insulator damage, conductor loosening, shock-absorbing hammer damage, and bird repellent damage.
[0070] In order to improve the accuracy of recognition, in this application, after obtaining the original picture, the original picture will be judged to determine whether the original picture is qualified. If the original picture is qualified, image recognition will continue. If the original picture is unqualified, the original picture will be directly discarded to prevent misjudgment.
[0071] It should be noted that when judging whether the original image is qualified, this application needs to combine image attributes such as brightness, color, contrast, sharpness and noise to make the judgment accurate.
[0072] When determining whether a line feature has defects, a recognition model may be used for recognition, for example, a recognition model based on a neural network may be used for recognition. Since the technology for recognizing images based on a neural network model is relatively complete, this application will not elaborate on the specific recognition process.
[0073] As an alternative implementation, see Figure 3 , S102 includes:
[0074] S1021, set the flight route of the UAV.
[0075] S1022, controlling the UAV to fly along the flight route, and obtaining original images through a camera device carried by the UAV.
[0076] That is, in the present application, the original pictures are taken by using a drone, wherein the drone is equipped with a camera and other picture acquisition devices, thereby being able to acquire aerial pictures.
[0077] It should be noted that in actual operation, after the drone obtains the original image, it can directly transmit the original image back to the server, and then the server can identify whether the power transmission line is faulty; or, after the drone obtains the original image, it can directly process the original image to determine whether there is a power transmission line fault in the original image currently taken, and feed back the judgment result to the server, which is not limited here.
[0078] In addition, it should be noted that in order to be able to take pictures of the power transmission lines in the required sections, the flight route of the drone can be set according to the area that needs to be identified, thereby facilitating the capture of original pictures.
[0079] For example, a certain section of the transmission line is from point A to point B, where point C is between point A and point B. At this time, if you only need to determine whether there is a fault in the transmission line between point A and point C, you only need to set the drone to fly between point A and point C. In addition, in order to ensure that the original pictures taken by the drone always contain line features, it is necessary to set the drone's flight route according to the specific section of the transmission line, so as to cover the transmission line of that section. For example, set the drone's flight route to always be above the transmission line, so that the drone can automatically fly according to the route and collect pictures.
[0080] As an implementation method, during the image collection process, sampling points can be set, and original images can be taken when the drone flies to the sampling points. The drone can take multiple original images at each sampling point. For example, the drone can take multiple images continuously when flying to one of the sampling points, or the drone can fly back and forth multiple times and take one or more images at each sampling point.
[0081] Since the original images taken by drones are in different time periods and in different weather conditions, the quality of the original images may be poor, and image quality evaluation and screening are required.
[0082] As an implementation method, you can determine whether the original image is qualified by setting a scoring model. On this basis, please refer to Figure 4 Before S102, the method further includes:
[0083] S101, training a scoring model using training set images to obtain a target scoring model, wherein the training set images also include line features.
[0084] S104 includes:
[0085] S1041, scoring the original image using the target scoring model;
[0086] S1042, determine whether the score of the original image is lower than the threshold, if not, execute S1043, if yes, execute S1044.
[0087] S1043, determine whether the original image is qualified.
[0088] S1044, determining that the original image is unqualified.
[0089] Among them, the training set pictures include multiple pictures with different image attributes such as brightness, color, contrast, sharpness and noise, and the scoring model is trained based on the training set pictures so that the scoring model can score pictures based on image attributes such as brightness, color, contrast, sharpness and noise.
[0090] Of course, other methods can also be used to determine the score of the original image. For example, different weights can be directly assigned to image attributes such as brightness, color, contrast, sharpness and noise, and the total score can be calculated by multiplying the weights with the values of the image attributes. This can also achieve the same score effect as the original image.
[0091] After determining the score of the original image, a threshold can be set. When the score of the original image is greater than the threshold, it means that its quality is good. Otherwise, the quality is poor and cannot be used to identify line feature defects.
[0092] For example, the score of the original image is a value between 0 and 1. The larger the value, the better the quality of the original image. On this basis, if the threshold is set to 0.6, then the original image score is greater than or equal to 0.6, which means that the original image is qualified and can be used for defect identification. If the original image score is less than 0.6, it means that the original image is unqualified. At this time, the original image is directly deleted to improve the accuracy of defect identification of the entire line.
[0093] If only one image is used for line defect recognition, the accuracy is relatively low. Therefore, as an optional implementation method, please refer to Figure 5 After S106, the method further includes:
[0094] S108, when acquiring multiple original pictures shot based on the same target area, acquiring the light state of the target area.
[0095] S110, determining a determination threshold according to the light state.
[0096] S112, when the number of original images with defective line features among the multiple original images taken of the target area is greater than or equal to a determination threshold, it is determined that the line in the target area has defects.
[0097] If multiple original images are obtained in the same area, the light state of the area can be obtained at the same time, and the judgment threshold is determined according to the light state.
[0098] Optionally, the light state can be divided into bright and dim. When the light state is bright, the judgment threshold is determined to be the first threshold; when the light state is dim, the judgment threshold is determined to be the second threshold, wherein the second threshold is greater than the first threshold. The drone can carry devices such as light sensors to monitor the light intensity at the current location in real time; when the light intensity is greater than a fixed value, the light state is determined to be bright, and when the light intensity is less than a fixed value, the light state is determined to be dim. In addition, since light in a dim state is more prone to misjudgment, the second threshold is less than the first threshold.
[0099] For example, in bright light, if a drone takes ten pictures at the same aerial photography point and can identify eight defective pictures, it can be concluded that there are defects in the line in this area; if the light is dim, ten pictures are taken at the same aerial photography point for defect identification, and if six pictures are identified, it is determined that there are defects in the line in this area. Of course, the aerial photography angle and the flight altitude also have similar effects on the recognition threshold.
[0100] Based on the above implementation, please refer to Figure 6 The embodiment of the present application further provides a line defect identification device 200, the device comprising:
[0101] The data acquisition unit 210 is used to acquire the original image taken, wherein the original image includes line features.
[0102] It can be understood that the above S102 can be executed by the data acquisition unit 210 .
[0103] The data processing unit 220 is used to determine whether the original image is qualified based on image attributes, wherein the image attributes include brightness, color, contrast, sharpness and noise.
[0104] It can be understood that the above S104 can be executed by the data processing unit 220.
[0105] The data processing unit 220 is also used to identify the original image using a preset recognition model when determining that the original image is qualified, so as to determine whether there are defects in the line features.
[0106] It can be understood that the above S106 can be executed by the data processing unit 220.
[0107] Furthermore, the device further comprises:
[0108] A model training unit 230 is used to train the scoring model using the training set images to obtain a target scoring model, wherein the training set images also include line features;
[0109] The data processing unit 220 is used to score the original image using the target scoring model, and determine that the original image is qualified when the score of the original image is greater than or equal to the threshold, and determine that the original image is unqualified when the score of the original image is less than the threshold.
[0110] The data acquisition unit 210 is also used to acquire the light state of the target area when acquiring multiple original pictures taken based on the same target area;
[0111] The data processing unit 220 is also used to determine a determination threshold based on the light state, and determine that the line in the target area has defects when the number of original images with defective line features among multiple original images taken of the target area is greater than or equal to the determination threshold.
[0112] Of course, each step in the above embodiment may correspond to a virtual module, and the virtual module is used to execute the corresponding step.
[0113] In summary, the present application provides a line defect recognition method, device, electronic device and storage medium, firstly obtaining the original image taken, wherein the original image includes line features, and then determining whether the original image is qualified based on image attributes, wherein the image attributes include brightness, color, contrast, sharpness and noise, and if qualified, using a preset recognition model to recognize the original image to determine whether the line features are defective. Since the present application first screens the original image taken according to certain standards when determining whether the line features are defective, and then can screen out unqualified original images, the accuracy rate is higher during recognition, and false alarms are not likely to occur.
[0114] In summary, the present application provides a method, device, electronic device and storage medium for mapping frozen soil zones. First, profile data of the target survey area is collected using radar equipment, and then the profile data is parsed. When the profile data includes frozen soil boundary information, the coordinates and altitude information of the boundary information are determined, and then the digital elevation model data is used to extract terrain factors on a preset geographic information platform to determine the corresponding relationship between the coordinates and the slope direction, and then the slope direction of the boundary information is determined based on the corresponding relationship and the coordinates of the boundary information. Then, the slope direction of the boundary information and the altitude information are fitted to determine the function of the altitude information and the slope direction and the prediction interval that meets the target confidence. Finally, the function of the altitude information and the slope direction, the digital elevation model data and the prediction interval that meets the target confidence are used to perform raster calculation on the geographic information platform to determine the frozen soil spatial distribution map of the target survey area, wherein, along the direction of increasing altitude, the target survey area includes a seasonal frozen soil zone, a discontinuous permafrost zone and a continuous permafrost zone. Since the present application can determine the seasonal frozen soil zone, the discontinuous permafrost zone and the continuous permafrost zone, the frozen soil distribution map drawn is more detailed.
[0115] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to the embodiments of the present application. In this regard, each box in the flowchart or block diagram may represent a module, a program segment or a part of a code, and the module, program segment or a part of a code includes one or more executable instructions for implementing a specified logical function.
[0116] It should also be noted that in some alternative implementations, the functions marked in the blocks may also occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the opposite order, depending on the functions involved.
[0117] It should also be noted that each box in the block diagram and / or flowchart, and combinations of boxes in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0118] In addition, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0119] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.
[0120] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. A line defect identification method, characterized in that: The method comprises: Acquire the captured original picture, wherein the original picture includes line features; Determining whether the original image is qualified based on image attributes, wherein the image attributes include brightness, color, contrast, sharpness, and noise; If yes, the original image is identified using a preset identification model to determine whether the line feature has defects; When acquiring multiple original images taken based on the same target area, acquiring the light state of the target area; Determining a determination threshold according to the light state; When the number of original images of the target area in which the line features are defective is greater than or equal to the determination threshold, it is determined that the line in the target area is defective; The step of determining the determination threshold according to the light state comprises: When the light state is bright, determining the determination threshold to be a first threshold; When the light state is dim, the determination threshold is determined to be a second threshold, wherein the second threshold is smaller than the first threshold.
2. The line defect identification method according to claim 1, characterized in that: Before the step of obtaining the captured original picture, the method further includes: Using the training set images to train the scoring model to obtain a target scoring model, wherein the training set images also include line features; The step of determining whether the original image is qualified based on image attributes comprises: Scoring the original image using the target scoring model; When the score of the original image is greater than or equal to a threshold, determining that the original image is qualified; When the score of the original image is less than a threshold, it is determined that the original image is unqualified.
3. The line defect identification method according to claim 1, characterized in that: The step of obtaining the original image taken comprises: Set the flight path of the drone; The drone is controlled to fly along the flight route, and original images are acquired through a camera device carried by the drone.
4. A line defect identification device, characterized in that: Used to execute the line defect identification method according to any one of claims 1 to 3, the device comprises: A data acquisition unit, used to acquire the original image taken, wherein the original image includes line features; A data processing unit, configured to determine whether the original image is qualified based on image attributes, wherein the image attributes include brightness, color, contrast, sharpness, and noise; The data processing unit is also used to identify the original image using a preset recognition model when it is determined that the original image is qualified, so as to determine whether the line feature has defects.
5. The line defect identification device according to claim 4, characterized in that: The device also includes: A model training unit, used to train the scoring model using the training set images to obtain a target scoring model, wherein the training set images also include line features; The data processing unit is used to score the original image using the target scoring model, and determine that the original image is qualified when the score of the original image is greater than or equal to a threshold, and determine that the original image is unqualified when the score of the original image is less than the threshold.
6. The line defect identification device according to claim 4, characterized in that: The data acquisition unit is also used to acquire the light state of the target area when acquiring multiple original pictures taken based on the same target area; The data processing unit is also used to determine a judgment threshold based on the light state, and determine that there are defects in the line of the target area when the number of original pictures with defective line features among multiple original pictures taken of the target area is greater than or equal to the judgment threshold.
7. An electronic device, characterized in that: include: A memory for storing one or more programs; processor; When the one or more programs are executed by the processor, the method according to any one of claims 1 to 3 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.
