Power transformation equipment appearance defect identification optimization method and system, terminal equipment and storage medium
By screening and preprocessing the appearance feature images of substation equipment, the problem of low accuracy of appearance defect identification in the existing technology is solved, the accuracy and reliability of identification are improved, and the difficulty and error rate of identification are reduced.
Patent Information
- Application Number
- CN202410932986.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-11
AI Technical Summary
The existing automatic identification technology for appearance defects of substation equipment ignores the quality of appearance feature images during the identification process, resulting in low identification accuracy and reliability, and increasing identification difficulty and error rate.
Through basic image screening and evaluation analysis of the appearance characteristic images of the substation equipment, the surface wrinkle area and exposure index are obtained, the interference value and image analysis ratio are calculated, the characteristic images to be identified are screened out, and image preprocessing and equipment status assessment are performed to optimize Image recognition process.
It improves the accuracy and reliability of appearance defect identification, reduces identification difficulty and error rate, and enhances the accuracy of image preprocessing and the reliability of equipment identification.
Smart Images

Figure CN118762154A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of appearance defect recognition of substation equipment, and in particular to an optimization method, system, terminal equipment and storage medium for appearance defect recognition of substation equipment. Background Art
[0002] A substation is a power facility in the power system that transforms voltage, receives and distributes electric energy, controls the flow of electricity and adjusts voltage. It connects power grids of various voltage levels through its transformers. The operation, maintenance and repair of power grid equipment is the foundation of safety protection for the entire process of equipment management and control. Routine inspection of equipment is the top priority of operation and maintenance work, and is an important means to obtain equipment operating status and provide operation and maintenance decisions.
[0003] However, in the existing automatic identification technology of substation equipment appearance defects, there is no standard screening of the appearance feature images of substation equipment, and the quality of the appearance feature images is ignored, which increases the difficulty and error rate of subsequent appearance defect identification, reduces the accuracy of subsequent appearance defect identification, and ultimately leads to the problem of low accuracy and reliability of substation equipment appearance defect identification images. Summary of the invention
[0004] The present invention provides an optimization method for identifying appearance defects of substation equipment. By performing image-based screening, evaluation and analysis on the appearance feature images collected from the substation equipment, the appearance feature images to be identified of the substation equipment after standard screening are obtained, so as to ensure the quality of the appearance feature images of the substation equipment, provide a guarantee for the high accuracy and reliability of subsequent image preprocessing and appearance defect identification, thereby reducing the processing difficulty and processing deviation rate of subsequent image preprocessing, further reducing the subsequent appearance defect identification difficulty and identification error rate, improving the subsequent appearance defect identification accuracy, and improving the accuracy and reliability of the appearance defect identification results, so as to solve the problem of low accuracy and reliability of the appearance defect images identified by the existing automatic identification technology for appearance defects of substation equipment.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides an optimization method for identifying appearance defects of substation equipment, comprising:
[0006] Collecting several appearance feature images of the substation equipment to generate an appearance feature image set;
[0007] For each appearance feature image in the appearance feature image set, obtaining a surface wrinkle area and an exposure index of the appearance feature image;
[0008] Calculating a first ratio of the wrinkle area of the substation equipment to the wrinkle area of the surface of the appearance feature image, setting the first ratio as a damaged interference value, setting an exposure index of the appearance feature image that is greater than a preset exposure index as an exposure interference value, performing data normalization processing on the damaged interference value and the exposure interference value to obtain a first product value, and setting the first product value as an image quality interference value;
[0009] Setting the appearance feature images corresponding to the image quality interference value greater than or equal to the preset image quality interference value as damaged feature images, calculating a second ratio of the number of damaged feature images to the total number of appearance feature images, and setting the second ratio as the image analysis interference ratio;
[0010] When the image analysis interference ratio is less than a preset image analysis interference ratio, the appearance feature image whose image quality interference value is less than the preset image quality interference value is set as the feature image to be identified, so as to obtain a feature image set to be identified;
[0011] According to the set of feature images to be identified, an image recognition device is used to determine the appearance defects of the power transformation equipment.
[0012] Furthermore, when the image analysis interference ratio is greater than or equal to a preset image analysis interference ratio, a number of appearance feature images of the substation equipment are re-collected to generate an updated appearance feature image set.
[0013] Furthermore, before determining the appearance defects of the substation equipment by using an image recognition device according to the feature image set to be recognized, the method further includes:
[0014] The image set of features to be identified is subjected to image preprocessing to obtain a processed image set of features to be identified; wherein the image preprocessing includes several image processing techniques; the several image processing techniques include rotation, scaling, cropping and color adjustment.
[0015] Furthermore, in the process of image preprocessing, the processing time, total processing times and processing error times of each image processing technology in the image preprocessing are obtained;
[0016] The number of image processing technologies that exceed the set processing time is summarized and counted to obtain the number of image processing technologies that exceed the processing time;
[0017] Calculating a third ratio of the number of image processing techniques that exceed the processing time to the number of processing errors in the total number of processing times, performing data normalization processing on the third ratio to obtain a second product value, and setting the second product value as a preprocessing deviation value;
[0018] Setting a preprocessing deviation value greater than or equal to a preset preprocessing deviation value as a processing potential influence coefficient, calculating a fourth ratio of the number of feature images to be identified corresponding to the processing potential influence coefficient to the total number of feature images to be identified, and setting the fourth ratio as an image processing interference coefficient;
[0019] When a fifth ratio of the image processing interference coefficient to the preset image processing interference coefficient is greater than or equal to the first threshold, the image preprocessing is optimized and adjusted.
[0020] Furthermore, after performing image preprocessing on the to-be-recognized feature image set to obtain the processed to-be-recognized feature image set, the method further includes:
[0021] Obtain the total number of historical recognitions of the image recognition device, the number of historical recognition errors, the number of historical recognition invalids, the number of upgrades, the number of optimizations, the average optimization interval duration, and the average maintenance interval duration;
[0022] Calculate a first sum of the number of historical identification errors and the number of historical identification invalidities, and set the first sum as a deviation risk value;
[0023] Calculating a sixth ratio of the deviation risk value to the total number of historical identifications, and setting the sixth ratio as the identification deviation rate;
[0024] Calculating a second sum of the number of upgrades and the number of optimizations, and setting the second sum as the efficiency improvement value;
[0025] Calculating a third sum of the average of the optimization interval duration and the average of the maintenance interval duration, and setting the third sum as the auxiliary boost value;
[0026] Performing data normalization processing on the efficiency improvement value and the auxiliary improvement value to obtain a seventh ratio, and setting the seventh ratio as the identification evaluation rate;
[0027] According to the identification deviation rate and the identification evaluation rate, the potential risk factor of the equipment is calculated;
[0028] When the eighth ratio of the device potential risk coefficient to the preset device potential risk coefficient is greater than or equal to the second threshold, the image recognition device status result is obtained as risk, and the image recognition device is adjusted.
[0029] Furthermore, after determining the appearance defects of the power transformation equipment by using an image recognition device according to the set of feature images to be recognized, the method further includes:
[0030] Obtain the detection and recognition time of the image recognition device, identify the number of network freezes, the duration of freezes, the number of network delays, the duration of network delays, and the potential risk factor of the device;
[0031] The detection and recognition time that is greater than the preset detection and recognition time is set as the recognition delay value, a recognition delay value set is constructed according to the recognition delay value, and a discrete coefficient of the recognition delay value set is calculated, and the discrete coefficient of the recognition delay value set is set as the performance fluctuation rate;
[0032] Normalizing the number of identified network freezes and the duration of freezes to obtain a third product value, and setting the third product value as the demand optimization value;
[0033] Normalizing the number of network delays and the duration of the network delay to obtain a fourth product value, and setting the fourth product value as the identification obstruction value;
[0034] Performing data normalization processing on the demand optimization value and the identification obstruction value to obtain a fourth sum value, and setting the fourth sum value as the detection obstruction coefficient;
[0035] The potential risk factor of the equipment which is less than the preset potential risk factor of the equipment is set as the potential impact value;
[0036] The equipment identification performance coefficient is calculated based on the performance fluctuation rate, detection obstacle coefficient and potential impact value;
[0037] When a ninth ratio of the device recognition performance coefficient to the preset device recognition performance coefficient is greater than or equal to the third threshold, the device recognition performance result is low, and the image recognition device is optimized.
[0038] Based on the above method embodiment, the present invention provides a corresponding system embodiment;
[0039] An embodiment of the present invention provides an optimization system for automatic identification of appearance defects of substation equipment, comprising: an image acquisition module, an image screening module, and an image recognition module; wherein the image screening module comprises an image parameter acquisition unit, an image quality interference value generation unit, an image analysis interference ratio generation unit, and a feature image set generation unit to be identified;
[0040] The image acquisition module is used to acquire a number of appearance feature images of the substation equipment to generate an appearance feature image set;
[0041] The image parameter acquisition unit is used to obtain the surface wrinkle area and exposure index of each appearance feature image in the appearance feature image set;
[0042] The image quality interference value generating unit is used to calculate a first ratio of the wrinkle area of the substation equipment to the surface wrinkle area of the appearance feature image, set the first ratio as the damaged interference value, set the exposure index of the appearance feature image greater than the preset exposure index as the exposure interference value, perform data normalization processing on the damaged interference value and the exposure interference value to obtain a first product value, and set the first product value as the image quality interference value;
[0043] The image analysis interference ratio generating unit is used to set the appearance feature images corresponding to the image quality interference value greater than or equal to the preset image quality interference value as damaged feature images, calculate the second ratio of the number of damaged feature images to the total number of appearance feature images, and set the second ratio as the image analysis interference ratio;
[0044] The to-be-recognized feature image set generation unit is used for setting the appearance feature image with an image quality interference value less than a preset image quality interference value as the to-be-recognized feature image when the image analysis interference ratio is less than a preset image analysis interference ratio, so as to obtain the to-be-recognized feature image set;
[0045] The image recognition module determines the appearance defects of the substation equipment by using an image recognition device according to the set of feature images to be recognized.
[0046] Furthermore, the optimization system for automatic identification of appearance defects of substation equipment further includes: an image preprocessing module;
[0047] The image preprocessing module is used to perform image preprocessing on the feature image set to be identified before using the image recognition device to determine the appearance defects of the substation equipment based on the feature image set to be identified, so as to obtain a processed feature image set to be identified; wherein the image preprocessing includes several image processing technologies; the several image processing technologies include rotation, scaling, cropping and color adjustment.
[0048] Based on the above-mentioned method embodiment, the present invention provides a corresponding terminal device embodiment, including: a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements an optimization method for automatically identifying appearance defects of substation equipment as described in the present invention.
[0049] Based on the above-mentioned method embodiment, the present invention provides a corresponding computer-readable storage medium embodiment, including: a stored computer program, which controls the device where the computer-readable storage medium is located to execute an optimization method for automatically identifying appearance defects of substation equipment as described in the present invention when the computer program is running.
[0050] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0051] The present invention performs image-based screening, evaluation and analysis on the appearance feature images of the substation equipment to be identified after standard screening, thereby ensuring the quality of the appearance feature images of the substation equipment, providing a guarantee for the high accuracy and reliability of subsequent image preprocessing and appearance defect identification, thereby reducing the processing difficulty and processing deviation rate of subsequent image preprocessing, further reducing the subsequent appearance defect identification difficulty and identification error rate, improving the subsequent appearance defect identification accuracy, and improving the accuracy and reliability of the appearance defect identification results, so as to solve the problem of low accuracy and reliability of the appearance defect images identified by the existing automatic identification technology for appearance defects of substation equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 : A flowchart of the steps of an optimization method for automatically identifying appearance defects of substation equipment provided by an embodiment of the present invention;
[0053] Figure 2 : A system structure diagram of an optimization system for automatically identifying appearance defects of substation equipment provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0054] 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.
[0055] In the description of the present invention, it should be understood that the terms "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth" and "ninth" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.
[0056] Embodiment 1:
[0057] Please refer to Figure 1 , is a flowchart of a method for optimizing automatic identification of appearance defects of substation equipment provided by an embodiment of the present invention, the method comprising at least the following steps:
[0058] Step S1: collecting a number of appearance feature images of the substation equipment to generate an appearance feature image set;
[0059] In this embodiment, the appearance of the substation equipment is photographed by a high-quality digital camera or a professional industrial camera to collect several appearance feature images of the substation equipment, and an appearance feature image set is generated;
[0060] Step S2: for each appearance feature image in the appearance feature image set, obtaining a surface wrinkle area and an exposure index of the appearance feature image;
[0061] In this embodiment, the method for obtaining the surface wrinkle area can automatically identify and outline the wrinkle area on the surface of the substation equipment in the image through image analysis algorithms, such as edge detection and morphological operations, calculate the pixel area of the wrinkle area, and convert it into actual physical size to obtain quantitative data of the wrinkle area;
[0062] In this embodiment, the exposure index can be obtained by calculating the average value of the histogram of the image or using the automatic exposure correction function in the image processing library to quickly estimate the exposure index of the image. p The enCV image processing library can estimate the exposure index by calculating the brightness value of the image after histogram equalization;
[0063] Step S3: calculating a first ratio of the wrinkle area of the substation equipment to the wrinkle area of the surface of the appearance feature image, setting the first ratio as a damaged interference value, setting an exposure index of the appearance feature image greater than a preset exposure index as an exposure interference value, performing data normalization processing on the damaged interference value and the exposure interference value to obtain a first product value, and setting the first product value as an image quality interference value;
[0064] Step S4: setting the appearance feature images corresponding to the image quality interference value greater than or equal to the preset image quality interference value as damaged feature images, calculating a second ratio of the number of damaged feature images to the total number of appearance feature images, and setting the second ratio as the image analysis interference ratio;
[0065] Step S5: when the image analysis interference ratio is less than the preset image analysis interference ratio, the appearance feature image whose image quality interference value is less than the preset image quality interference value is set as the feature image to be identified, and a feature image set to be identified is obtained;
[0066] Step S6: Determine the appearance defects of the substation equipment using an image recognition device according to the set of feature images to be recognized.
[0067] In this embodiment, when the image analysis interference ratio is greater than or equal to a preset image analysis interference ratio, a number of appearance feature images of the substation equipment are re-collected to generate an updated appearance feature image set.
[0068] In this embodiment, before determining the appearance defects of the substation equipment by using an image recognition device according to the feature image set to be recognized, the method further includes:
[0069] The image set of features to be identified is subjected to image preprocessing to obtain a processed image set of features to be identified; wherein the image preprocessing includes several image processing techniques; the several image processing techniques include rotation, scaling, cropping and color adjustment.
[0070] In this embodiment, during the image preprocessing, the processing time, total processing times and processing error times of each image processing technology in the image preprocessing are obtained;
[0071] The number of image processing technologies that exceed the set processing time is summarized and counted to obtain the number of image processing technologies that exceed the processing time;
[0072] Calculating a third ratio of the number of image processing techniques that exceed the processing time to the number of processing errors in the total number of processing times, performing data normalization processing on the third ratio to obtain a second product value, and setting the second product value as a preprocessing deviation value;
[0073] A preprocessing deviation value greater than or equal to a preset preprocessing deviation value is set as a processing potential influence coefficient, a fourth ratio of the number of feature images to be identified corresponding to the processing potential influence coefficient to the total number of feature images to be identified is calculated, and the fourth ratio is set as an image processing interference coefficient; it should be noted that the larger the value of the image processing interference coefficient is, the greater the risk of interference to the subsequent identification of the processed feature image to be identified is, resulting in a greater risk of identification error;
[0074] When a fifth ratio of the image processing interference coefficient to the preset image processing interference coefficient is greater than or equal to a first threshold, the image preprocessing is optimized and adjusted; wherein the first threshold is set to 1.
[0075] In this embodiment, the image preprocessing optimization adjustment may include but is not limited to: improving image processing parameters.
[0076] In this embodiment, when the fifth ratio of the image processing interference coefficient to the preset image processing interference coefficient is less than the first threshold, the image preprocessing is not optimized and adjusted; wherein the first threshold is set to 1.
[0077] By performing quality control operations on image preprocessing, the image processing error rate can be reduced, and the interference of image preprocessing on the subsequent defect recognition of image recognition equipment can be further reduced, providing guarantee for the subsequent defect recognition of image recognition equipment, improving the defect recognition accuracy of image recognition equipment, and thereby improving the accuracy and reliability of appearance defect recognition results.
[0078] In this embodiment, after performing image preprocessing on the to-be-recognized feature image set to obtain the processed to-be-recognized feature image set, the method further includes:
[0079] Obtain the total number of historical recognitions of the image recognition device, the number of historical recognition errors, the number of historical recognition invalids, the number of upgrades, the number of optimizations, the average optimization interval duration, and the average maintenance interval duration;
[0080] Calculate a first sum of the number of historical identification errors and the number of historical identification invalidities, and set the first sum as a deviation risk value;
[0081] Calculate a sixth ratio of the deviation risk value to the total number of historical recognitions, and set the sixth ratio as the recognition deviation rate; it should be noted that the larger the value of the recognition deviation rate, the greater the error risk of the recognition result of the image recognition device for the feature image to be recognized;
[0082] Calculating a second sum of the number of upgrades and the number of optimizations, and setting the second sum as the efficiency improvement value;
[0083] Calculating a third sum of the average of the optimization interval duration and the average of the maintenance interval duration, and setting the third sum as the auxiliary boost value;
[0084] Performing data normalization processing on the efficiency improvement value and the auxiliary improvement value to obtain a seventh ratio, and setting the seventh ratio as the identification evaluation rate;
[0085] According to the recognition deviation rate and recognition evaluation rate, using the formula The potential risk coefficient of the equipment is calculated; wherein, a1 and a2 are preset proportional factor coefficients of the identification deviation rate and the identification evaluation rate, respectively. The proportional factor coefficients are used to correct the deviations of various parameters in the calculation process of the formula, so as to make the calculation results more accurate. Both a1 and a2 are natural numbers greater than zero. a3 is the preset fault tolerance factor coefficient, which is 1.182. SP is the identification deviation rate, SS is the identification evaluation rate, and Q is the potential risk coefficient of the equipment.
[0086] When the eighth ratio of the device potential risk coefficient to the preset device potential risk coefficient is greater than or equal to the second threshold, the image recognition device status result is obtained as risk, and the image recognition device is adjusted; wherein the second threshold is set to 1.
[0087] In this embodiment, the image recognition device adjustment may include, but is not limited to: increasing the maintenance frequency of the recognition lens and shortening the maintenance cycle of the image recognition device.
[0088] In this embodiment, when the eighth ratio of the device potential risk coefficient to the preset device potential risk coefficient is less than the second threshold, the image recognition device status result is obtained as no risk, and the image recognition device is not adjusted; wherein the second threshold is set to 1.
[0089] The potential risk coefficient of the equipment is calculated by identifying the deviation rate and the identification evaluation rate, and the potential risk coefficient of the equipment is used to determine whether the image recognition equipment has risks. When the image recognition equipment has risks, the image recognition equipment is adjusted to reduce the risk of low accuracy of defect recognition results due to risk issues, improve the recognition accuracy of defect recognition by the image recognition equipment, and thereby improve the accuracy and reliability of appearance defect recognition results.
[0090] In this embodiment, after determining the appearance defects of the substation equipment by using an image recognition device according to the feature image set to be recognized, the method further includes:
[0091] Obtain the detection and recognition time of the image recognition device, identify the number of network freezes, the duration of freezes, the number of network delays, the duration of network delays, and the potential risk factor of the device;
[0092] The detection and recognition time that is greater than the preset detection and recognition time is set as the recognition delay value, a recognition delay value set is constructed according to the recognition delay value, and a discrete coefficient of the recognition delay value set is calculated, and the discrete coefficient of the recognition delay value set is set as the performance fluctuation rate; it should be noted that the larger the value of the performance fluctuation rate is, the higher the recognition and detection optimization requirement of the image recognition device is;
[0093] Normalizing the number of identified network freezes and the duration of freezes to obtain a third product value, and setting the third product value as the demand optimization value;
[0094] Normalizing the number of network delays and the duration of the network delay to obtain a fourth product value, and setting the fourth product value as the identification obstruction value;
[0095] The demand optimization value and the recognition obstruction value are subjected to data normalization processing to obtain a fourth sum value, and the fourth sum value is set as the detection obstruction coefficient; it should be noted that the larger the value of the detection obstruction coefficient is, the higher the recognition detection optimization demand of the image recognition device is;
[0096] The potential risk factor of the equipment which is less than the preset potential risk factor of the equipment is set as the potential impact value;
[0097] According to the performance fluctuation rate, detection obstacle coefficient and potential impact value, the formula The device identification performance coefficient is calculated; wherein f1, f2 and f3 are respectively the preset weight factor coefficients of the performance floating rate, the detection obstruction coefficient and the potential impact value, f4 is the preset fault tolerance factor coefficient, f1, f2, f3 and f4 are all greater than zero, XF is the performance floating rate, JZ is the detection obstruction coefficient, QZ is the potential impact value, and R is the device identification performance coefficient;
[0098] When a ninth ratio of the device recognition performance coefficient to the preset device recognition performance coefficient is greater than or equal to the third threshold, the device recognition performance result is low, and the image recognition device is optimized; wherein the third threshold is set to 1.
[0099] In this embodiment, the optimization of the image recognition device may include, but is not limited to: increasing the network bandwidth of the image recognition device and shortening the network line maintenance cycle.
[0100] In this embodiment, when the ninth ratio of the device recognition performance coefficient to the preset device recognition performance coefficient is less than the third threshold, the device recognition performance result is high, and the image recognition device is not optimized; wherein the third threshold is set to 1.
[0101] By calculating the device recognition performance coefficient based on the performance fluctuation rate, detection obstacle coefficient and potential impact value, using the device recognition performance coefficient to judge the recognition performance result of the image recognition device, and optimizing the image recognition device according to the recognition performance result, the recognition efficiency of the image recognition device is improved.
[0102] Embodiment 2:
[0103] Please refer to Figure 2 , which is a system structure diagram of an optimization system for automatic identification of appearance defects of substation equipment provided by an embodiment of the present invention, the system comprises: an image acquisition module, an image screening module, and an image recognition module; wherein the image screening module comprises an image parameter acquisition unit, an image quality interference value generation unit, an image analysis interference ratio generation unit, and a feature image set generation unit to be identified;
[0104] The image acquisition module is used to acquire a number of appearance feature images of the substation equipment to generate an appearance feature image set;
[0105] In this embodiment, the appearance of the substation equipment is photographed by a high-quality digital camera or a professional industrial camera to collect several appearance feature images of the substation equipment, and an appearance feature image set is generated;
[0106] The image parameter acquisition unit is used to obtain the surface wrinkle area and exposure index of each appearance feature image in the appearance feature image set;
[0107] In this embodiment, the method for obtaining the surface wrinkle area can automatically identify and outline the wrinkle area on the surface of the substation equipment in the image through image analysis algorithms, such as edge detection and morphological operations, calculate the pixel area of the wrinkle area, and convert it into actual physical size to obtain quantitative data of the wrinkle area;
[0108] In this embodiment, the exposure index can be obtained by calculating the average value of the histogram of the image or using the automatic exposure correction function in the image processing library to quickly estimate the exposure index of the image. p The enCV image processing library can estimate the exposure index by calculating the brightness value of the image after histogram equalization;
[0109] The image quality interference value generating unit is used to calculate a first ratio of the wrinkle area of the substation equipment to the surface wrinkle area of the appearance feature image, set the first ratio as the damaged interference value, set the exposure index of the appearance feature image greater than the preset exposure index as the exposure interference value, perform data normalization processing on the damaged interference value and the exposure interference value to obtain a first product value, and set the first product value as the image quality interference value;
[0110] The image analysis interference ratio generating unit is used to set the appearance feature images corresponding to the image quality interference value greater than or equal to the preset image quality interference value as damaged feature images, calculate the second ratio of the number of damaged feature images to the total number of appearance feature images, and set the second ratio as the image analysis interference ratio;
[0111] The to-be-recognized feature image set generation unit is used for setting the appearance feature image with an image quality interference value less than a preset image quality interference value as the to-be-recognized feature image when the image analysis interference ratio is less than a preset image analysis interference ratio, so as to obtain the to-be-recognized feature image set;
[0112] The image recognition module determines the appearance defects of the substation equipment by using an image recognition device according to the set of feature images to be recognized.
[0113] In this embodiment, the system also includes an image re-capture module, which is used to re-capture several appearance feature images of the substation equipment when the image analysis interference ratio is greater than or equal to a preset image analysis interference ratio to generate an updated appearance feature image set.
[0114] In this embodiment, the system also includes an image preprocessing module, which is used to perform image preprocessing on the feature image set to be identified before using an image recognition device to determine the appearance defects of the substation equipment based on the feature image set to be identified, so as to obtain a processed feature image set to be identified; wherein the image preprocessing includes several image processing techniques; the several image processing techniques include rotation, scaling, cropping and color adjustment.
[0115] In this embodiment, the system further includes an image preprocessing supervision module, which includes a first acquisition unit, a first calculation unit, and a first analysis unit;
[0116] The first acquisition unit is used to obtain the processing time, total processing times and processing error times of each image processing technology in the image preprocessing during the image preprocessing;
[0117] The first calculation unit is used to summarize and count the number of image processing technologies that exceed the set processing time, obtain the number of image processing technologies that exceed the processing time, calculate the ratio of the number of image processing technologies that exceed the processing time to the number of processing errors in the total number of processing times, perform data normalization on the ratio to obtain a product value, set the product value as a preprocessing deviation value, set a preprocessing deviation value that is greater than or equal to the preset preprocessing deviation value as a processing potential impact coefficient, calculate the ratio of the number of feature images to be identified corresponding to the processing potential impact coefficient to the total number of feature images to be identified, and set the ratio as the image processing interference coefficient; it should be noted that the larger the value of the image processing interference coefficient, the greater the risk of interference to the subsequent identification of the processed feature image to be identified, resulting in a greater risk of identification error;
[0118] The first analysis unit is used to optimize and adjust the image preprocessing when the ratio of the image processing interference coefficient to the preset image processing interference coefficient is greater than or equal to a first threshold; wherein the first threshold is set to 1.
[0119] In this embodiment, the image preprocessing optimization adjustment may include but is not limited to: improving image processing parameters.
[0120] In this embodiment, when the fifth ratio of the image processing interference coefficient to the preset image processing interference coefficient is less than the first threshold, the image preprocessing is not optimized and adjusted; wherein the first threshold is set to 1.
[0121] In this embodiment, the system further includes an identification device risk supervision module, and the identification device risk supervision module includes a second acquisition unit, a second calculation unit, and a second analysis unit;
[0122] The second acquisition unit is used to obtain the total number of historical recognitions, the number of historical recognition errors, the number of historical recognition invalids, the number of upgrades, the number of optimizations, the average of the optimization interval duration, and the average of the maintenance interval duration of the image recognition device;
[0123] The second calculation unit is used to calculate the first sum of the number of historical recognition errors and the number of historical recognition invalid times, and set the first sum as the deviation risk value; calculate the sixth ratio of the deviation risk value to the total number of historical recognitions, and set the sixth ratio as the recognition deviation rate; it should be noted that the larger the value of the recognition deviation rate, the greater the error risk of the recognition result of the image recognition device for the feature image to be recognized; calculate the second sum of the number of upgrades and the number of optimizations, and set the second sum as the efficiency improvement value; calculate the third sum of the average value of the optimization interval duration and the average value of the maintenance interval duration, and set the third sum as the auxiliary improvement value; perform data normalization processing on the efficiency improvement value and the auxiliary improvement value to obtain the seventh ratio, and set the seventh ratio as the recognition evaluation rate; according to the recognition deviation rate and the recognition evaluation rate, use the formula The potential risk coefficient of the equipment is calculated; wherein, a1 and a2 are preset proportional factor coefficients of the identification deviation rate and the identification evaluation rate, respectively. The proportional factor coefficients are used to correct the deviations of various parameters in the calculation process of the formula, so as to make the calculation results more accurate. Both a1 and a2 are natural numbers greater than zero. a3 is the preset fault tolerance factor coefficient, which is 1.182. SP is the identification deviation rate, SS is the identification evaluation rate, and Q is the potential risk coefficient of the equipment.
[0124] The second analysis unit is used to obtain the image recognition device status result as risk and adjust the image recognition device when the eighth ratio of the device potential risk coefficient to the preset device potential risk coefficient is greater than or equal to a second threshold, wherein the second threshold is set to 1.
[0125] In this embodiment, the image recognition device adjustment may include, but is not limited to: increasing the maintenance frequency of the recognition lens and shortening the maintenance cycle of the image recognition device.
[0126] In this embodiment, when the eighth ratio of the device potential risk coefficient to the preset device potential risk coefficient is less than the second threshold, the image recognition device status result is obtained as no risk, and the image recognition device is not adjusted; wherein the second threshold is set to 1.
[0127] In this embodiment, the system further includes an identification device performance supervision module, and the identification device performance supervision module includes a third acquisition unit, a third calculation unit, and a third analysis unit;
[0128] The third acquisition unit is used to obtain the detection and recognition time of the image recognition device, identify the number of network freezes, the duration of freezes, the number of network delays, the duration of network delays and the potential risk factor of the device;
[0129] The third calculation unit is used to set the detection and recognition time that is greater than the preset detection and recognition time as the recognition delay value, construct a recognition delay value set according to the recognition delay value, and calculate the discrete coefficient of the recognition delay value set, and set the discrete coefficient of the recognition delay value set as the performance fluctuation rate; it should be noted that the larger the value of the performance fluctuation rate, the higher the recognition and detection optimization requirement of the image recognition device; the number of times the network freezes and the duration of the freeze are normalized to obtain a third product value, and the third product value is set as the demand optimization value; the number of network delays and the duration of the network delay are normalized to obtain a fourth product value, and the fourth product value is set as the recognition obstruction value; the demand optimization value and the recognition obstruction value are normalized to obtain a fourth sum value, and the fourth sum value is set as the detection obstruction coefficient; it should be noted that the larger the value of the detection obstruction coefficient, the higher the recognition and detection optimization requirement of the image recognition device; the potential risk coefficient of the device that is less than the preset device potential risk coefficient is set as the potential impact value; according to the performance fluctuation rate, the detection obstruction coefficient and the potential impact value, the formula is used The device identification performance coefficient is calculated; wherein f1, f2 and f3 are respectively the preset weight factor coefficients of the performance floating rate, the detection obstruction coefficient and the potential impact value, f4 is the preset fault tolerance factor coefficient, f1, f2, f3 and f4 are all greater than zero, XF is the performance floating rate, JZ is the detection obstruction coefficient, QZ is the potential impact value, and R is the device identification performance coefficient;
[0130] The third analysis unit is used to obtain a low device recognition performance result and optimize the image recognition device when a ninth ratio of the device recognition performance coefficient to the preset device recognition performance coefficient is greater than or equal to a third threshold; wherein the third threshold is set to 1.
[0131] In this embodiment, the optimization of the image recognition device may include, but is not limited to: increasing the network bandwidth of the image recognition device and shortening the network line maintenance cycle.
[0132] In this embodiment, when the ninth ratio of the device recognition performance coefficient to the preset device recognition performance coefficient is less than the third threshold, the device recognition performance result is high, and the image recognition device is not optimized; wherein the third threshold is set to 1.
[0133] Based on the above method embodiment, another embodiment is provided;
[0134] Another embodiment of the present invention provides an optimized terminal device for automatic identification of appearance defects of substation equipment, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the optimized method for automatic identification of appearance defects of substation equipment described in any one of the above method embodiments of the present invention.
[0135] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the optimized terminal device for automatic identification of appearance defects of substation equipment.
[0136] The optimized terminal device for automatic identification of appearance defects of substation equipment can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The optimized terminal device for automatic identification of appearance defects of substation equipment can include, but is not limited to, a processor and a memory. Those skilled in the art can understand that, for example, the optimized terminal device for automatic identification of appearance defects of substation equipment can also include input and output devices, network access devices, buses, etc.
[0137] The processor may be a central processing unit (Central Processing Unit) g It can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (ASICs), etc. pp li cat i on S p ecific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) y , FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The processor is the control center of the optimized terminal device for automatic identification of appearance defects of substation equipment, and uses various interfaces and lines to connect various parts of the optimized terminal device for automatic identification of appearance defects of substation equipment.
[0138] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the terminal device for optimizing the automatic identification of the appearance defects of the substation equipment by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0139] Based on the above method embodiment, another embodiment is provided;
[0140] A storage medium provided in another embodiment of the present invention includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute an optimization method for automatically identifying appearance defects of substation equipment as described in any one of the above method embodiments of the present invention.
[0141] Wherein, the above-mentioned storage medium is a computer-readable storage medium. The module / unit integrated in the optimization system / terminal equipment for automatic identification of appearance defects of substation equipment can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of each of the above-mentioned method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-On l y Memor y ), Random Access Memory (RAM) y), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0142] It should be noted that the above-mentioned terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the above-mentioned terminal device is merely an example and does not constitute a limitation on the terminal device. It may include more or fewer components, or a combination of certain components, or different components.
[0143] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. An optimization method for automatic identification of appearance defects of substation equipment, characterized in that: include: Collecting several appearance feature images of the substation equipment to generate an appearance feature image set; For each appearance feature image in the appearance feature image set, obtaining a surface wrinkle area and an exposure index of the appearance feature image; Calculating a first ratio of the wrinkle area of the substation equipment to the wrinkle area of the surface of the appearance feature image, setting the first ratio as a damaged interference value, setting an exposure index of the appearance feature image that is greater than a preset exposure index as an exposure interference value, performing data normalization processing on the damaged interference value and the exposure interference value to obtain a first product value, and setting the first product value as an image quality interference value; Setting the appearance feature images corresponding to the image quality interference value greater than or equal to the preset image quality interference value as damaged feature images, calculating a second ratio of the number of damaged feature images to the total number of appearance feature images, and setting the second ratio as the image analysis interference ratio; When the image analysis interference ratio is less than a preset image analysis interference ratio, the appearance feature image whose image quality interference value is less than the preset image quality interference value is set as the feature image to be identified, so as to obtain a feature image set to be identified; According to the set of feature images to be identified, an image recognition device is used to determine the appearance defects of the power transformation equipment.
2. The optimization method for automatic identification of appearance defects of substation equipment according to claim 1 is characterized in that: Also includes: When the image analysis interference ratio is greater than or equal to a preset image analysis interference ratio, a number of appearance feature images of the substation equipment are re-collected to generate an updated appearance feature image set.
3. The optimization method for automatic identification of appearance defects of substation equipment according to claim 1 is characterized in that: Before determining the appearance defects of the power transformation equipment by using an image recognition device according to the feature image set to be recognized, the method further includes: The image set of features to be identified is subjected to image preprocessing to obtain a processed image set of features to be identified; wherein the image preprocessing includes several image processing techniques; the several image processing techniques include rotation, scaling, cropping and color adjustment.
4. The optimization method for automatic identification of appearance defects of substation equipment according to claim 3 is characterized in that: Also includes: In the process of image preprocessing, the processing time, total processing times and processing error times of each image processing technology in the image preprocessing are obtained; The number of image processing technologies that exceed the set processing time is summarized and counted to obtain the number of image processing technologies that exceed the processing time; Calculating a third ratio of the number of image processing techniques that exceed the processing time to the number of processing errors in the total number of processing times, performing data normalization processing on the third ratio to obtain a second product value, and setting the second product value as a preprocessing deviation value; Setting a preprocessing deviation value greater than or equal to a preset preprocessing deviation value as a processing potential influence coefficient, calculating a fourth ratio of the number of feature images to be identified corresponding to the processing potential influence coefficient to the total number of feature images to be identified, and setting the fourth ratio as an image processing interference coefficient; When a fifth ratio of the image processing interference coefficient to the preset image processing interference coefficient is greater than or equal to the first threshold, the image preprocessing is optimized and adjusted.
5. The optimization method for automatic identification of appearance defects of substation equipment according to claim 3 is characterized in that: After the image preprocessing is performed on the to-be-recognized feature image set to obtain the processed to-be-recognized feature image set, the method further includes: Obtain the total number of historical recognitions of the image recognition device, the number of historical recognition errors, the number of historical recognition invalids, the number of upgrades, the number of optimizations, the average optimization interval duration, and the average maintenance interval duration; Calculate a first sum of the number of historical identification errors and the number of historical identification invalidities, and set the first sum as a deviation risk value; Calculating a sixth ratio of the deviation risk value to the total number of historical identifications, and setting the sixth ratio as the identification deviation rate; Calculating a second sum of the number of upgrades and the number of optimizations, and setting the second sum as the efficiency improvement value; Calculating a third sum of the average of the optimization interval duration and the average of the maintenance interval duration, and setting the third sum as the auxiliary boost value; Performing data normalization processing on the efficiency improvement value and the auxiliary improvement value to obtain a seventh ratio, and setting the seventh ratio as the identification evaluation rate; According to the identification deviation rate and the identification evaluation rate, the potential risk coefficient of the equipment is calculated; When the eighth ratio of the device potential risk coefficient to the preset device potential risk coefficient is greater than or equal to the second threshold, the image recognition device status result is obtained as risk, and the image recognition device is adjusted.
6. The optimization method for automatic identification of appearance defects of substation equipment according to claim 1 is characterized in that: After determining the appearance defects of the substation equipment by using an image recognition device according to the feature image set to be recognized, the method further includes: Obtain the detection and recognition time of the image recognition device, identify the number of network freezes, the duration of freezes, the number of network delays, the duration of network delays, and the potential risk factor of the device; The detection and recognition time that is greater than the preset detection and recognition time is set as the recognition delay value, a recognition delay value set is constructed according to the recognition delay value, and a discrete coefficient of the recognition delay value set is calculated, and the discrete coefficient of the recognition delay value set is set as the performance fluctuation rate; Normalizing the number of identified network freezes and the duration of freezes to obtain a third product value, and setting the third product value as the demand optimization value; Normalizing the number of network delays and the duration of the network delay to obtain a fourth product value, and setting the fourth product value as the identification obstruction value; Performing data normalization processing on the demand optimization value and the identification obstruction value to obtain a fourth sum value, and setting the fourth sum value as the detection obstruction coefficient; The potential risk factor of the equipment which is less than the preset potential risk factor of the equipment is set as the potential impact value; The equipment identification performance coefficient is calculated based on the performance fluctuation rate, detection obstacle coefficient and potential impact value; When a ninth ratio of the device recognition performance coefficient to the preset device recognition performance coefficient is greater than or equal to the third threshold, the device recognition performance result is low, and the image recognition device is optimized.
7. An optimization system for automatic identification of appearance defects of substation equipment, characterized in that: include: Image acquisition module, image screening module, image recognition module; wherein the image screening module includes an image parameter acquisition unit, an image quality interference value generation unit, an image analysis interference ratio generation unit and a feature image set generation unit to be recognized; The image acquisition module is used to acquire a number of appearance feature images of the substation equipment to generate an appearance feature image set; The image parameter acquisition unit is used to obtain the surface wrinkle area and exposure index of each appearance feature image in the appearance feature image set; The image quality interference value generating unit is used to calculate a first ratio of the wrinkle area of the substation equipment to the surface wrinkle area of the appearance feature image, set the first ratio as the damaged interference value, set the exposure index of the appearance feature image greater than the preset exposure index as the exposure interference value, perform data normalization processing on the damaged interference value and the exposure interference value to obtain a first product value, and set the first product value as the image quality interference value; The image analysis interference ratio generating unit is used to set the appearance feature images corresponding to the image quality interference value greater than or equal to the preset image quality interference value as damaged feature images, calculate the second ratio of the number of damaged feature images to the total number of appearance feature images, and set the second ratio as the image analysis interference ratio; The to-be-recognized feature image set generation unit is used for setting the appearance feature image with an image quality interference value less than a preset image quality interference value as the to-be-recognized feature image when the image analysis interference ratio is less than a preset image analysis interference ratio, so as to obtain the to-be-recognized feature image set; The image recognition module determines the appearance defects of the substation equipment by using an image recognition device according to the set of feature images to be recognized.
8. The optimization system for automatic identification of appearance defects of substation equipment according to claim 7 is characterized in that: Also includes: Image preprocessing module; The image preprocessing module is used to perform image preprocessing on the feature image set to be identified before using the image recognition device to determine the appearance defects of the substation equipment based on the feature image set to be identified, so as to obtain a processed feature image set to be identified; wherein the image preprocessing includes several image processing technologies; the several image processing technologies include rotation, scaling, cropping and color adjustment.
9. An optimized terminal device for automatic identification of appearance defects of substation equipment, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements an optimized method for automatic identification of appearance defects of substation equipment as described in any one of claims 1 to 6.
10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute an optimization method for automatically identifying appearance defects of substation equipment as described in any one of claims 1 to 6.
