Defect detection method, system, terminal and medium based on base paper graphitization equipment
By acquiring and analyzing the real-time image and voltage information of the base paper graphitization equipment, generating voltage fluctuation amplitude information, and determining the detection results, the problem of power fluctuations affecting sintering temperature and low manual detection accuracy is solved, and high-precision defect detection is achieved.
Patent Information
- Application Number
- CN202410311501.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-19
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2044-03-19
AI Technical Summary
In the prior art, the base paper graphitization equipment during the production process is unstable due to power fluctuations, which affects the quality of the base paper, and there are problems of subjectivity and low accuracy in manual inspection.
By acquiring real-time image collection information, real-time voltage information and historical voltage information, voltage fluctuation amplitude information is generated. If the threshold exceeds, image information at the current time and traceability time is obtained. Based on these information, the detection results are determined to reduce the subjectivity of manual detection. , improve detection accuracy.
Accurate detection of defects in the graphitization equipment of base paper is achieved, detection accuracy is improved, subjectivity of manual inspection is reduced, and reliability of production quality is improved.
Smart Images

Figure CN118379238B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of carbon paper production detection, and in particular, to a defect detection method, system, terminal and medium based on base paper graphitization equipment. Background Art
[0002] Carbon paper is usually made of carbon fiber and is one of the important components of hydrogen fuel cells. In the production process of carbon paper base paper, base paper graphitization equipment is usually required. Base paper graphitization equipment can perform high-temperature sintering treatment on the base paper.
[0003] Base paper graphitization equipment is a high-load equipment, and the production scene of base paper graphitization equipment is usually accompanied by the operation of other high-load equipment, so it is easy to have power fluctuations; when the production scene of base paper graphitization equipment has power fluctuations, it will affect the sintering temperature of the base paper graphitization equipment, making its sintering temperature not meet the production requirements, and then affecting the production quality of the base paper. At present, the sintered base paper is usually inspected manually, but manual inspection is highly subjective and has the problem of low inspection accuracy, which needs further improvement. Summary of the invention
[0004] Based on this, the embodiments of the present application provide a defect detection method, system, terminal and medium based on a base paper graphitization device to solve the problem of low detection accuracy in the prior art.
[0005] In a first aspect, an embodiment of the present application provides a defect detection method based on a base paper graphitization device, the method comprising:
[0006] Acquire real-time collected image set information, and acquire real-time voltage information, historical voltage information and nominal voltage information, wherein the real-time collected image set information includes a plurality of image information to be detected;
[0007] Generate voltage fluctuation amplitude information according to the real-time voltage information, the historical voltage information and the nominal voltage information;
[0008] If the voltage fluctuation amplitude information is greater than the fluctuation amplitude threshold, then obtaining current time information and retrospective time information, wherein the retrospective time information is earlier than the current time information, and the time difference between the current time information and the retrospective time information is a preset first time interval;
[0009] Based on the real-time collected image set information, determine first target image information and second target image information, wherein the first target image information is used to describe the image information to be detected whose shooting time is the current moment information, and the second target image information is used to describe the image information to be detected whose shooting time is the retrospective moment information;
[0010] According to the first target image information and the second target image information, detection result information of the first target image information is determined, wherein the detection result information is detection qualified information or defective information.
[0011] Compared with the prior art, the beneficial effect is as follows: in the defect detection method based on the base paper graphitization equipment provided in the embodiment of the present application, the terminal device can first obtain the real-time acquisition image set information, and simultaneously obtain the real-time voltage information, the historical voltage information and the nominal voltage information, and then generate the voltage fluctuation amplitude information according to the three important factors of the real-time voltage information, the historical voltage information and the nominal voltage information. If the voltage fluctuation amplitude information is greater than the fluctuation amplitude threshold, the current moment information and the retrospective moment information are obtained, and then the first target image information and the second target image information are effectively determined in the real-time acquisition image set information. Finally, according to the first target image information and the second target image information, the detection result information of the first target image information is accurately determined, thereby eliminating the subjectivity of manual detection, effectively improving the accuracy of the detection result, and improving the detection accuracy, which to a certain extent solves the current problem of low detection accuracy.
[0012] In a second aspect, an embodiment of the present application provides a defect detection system based on a base paper graphitization device, the system comprising:
[0013] A real-time image collection set information acquisition module is used to acquire real-time image collection set information, and acquire real-time voltage information, historical voltage information and nominal voltage information, wherein the real-time image collection set information includes a plurality of image information to be detected;
[0014] A voltage fluctuation amplitude information generating module is used to generate voltage fluctuation amplitude information according to the real-time voltage information, the historical voltage information and the nominal voltage information;
[0015] A current time information acquisition module: used for acquiring current time information and retrospective time information if the voltage fluctuation amplitude information is greater than the fluctuation amplitude threshold, wherein the retrospective time information is earlier than the current time information, and the time difference between the current time information and the retrospective time information is a preset first time interval;
[0016] A first target image information determination module: used to determine first target image information and second target image information based on the real-time collected image set information, wherein the first target image information is used to describe the image information to be detected whose shooting time is the current moment information, and the second target image information is used to describe the image information to be detected whose shooting time is the retrospective moment information;
[0017] A detection result information determination module is used to determine the detection result information of the first target image information based on the first target image information and the second target image information, wherein the detection result information is detection qualified information or defective information.
[0018] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method of the first aspect described above when executing the computer program.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method of the first aspect described above are implemented.
[0020] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0022] Figure 1 It is a flowchart of a defect detection method provided by an embodiment of the present application;
[0023] Figure 2 is a flow chart of step S200 in the defect detection method provided in one embodiment of the present application;
[0024] Figure 3 is a flowchart of step S500 in the defect detection method provided in one embodiment of the present application;
[0025] Figure 4 is a flowchart of step S594 in the defect detection method provided in one embodiment of the present application;
[0026] Figure 5 It is a schematic diagram of the process after step S400 in the defect detection method provided in one embodiment of the present application;
[0027] Figure 6 It is a module block diagram of a defect detection system provided by an embodiment of the present application;
[0028] Figure 7 It is a schematic diagram of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0029] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0030] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0031] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0032] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0033] See also Figure 1 , Figure 1 : is a flow chart of a defect detection method based on a base paper graphitization device provided in an embodiment of the present application. In this embodiment, the execution subject of the defect detection method is a terminal device. It is understandable that the types of terminal devices include but are not limited to mobile phones, tablet computers, laptop computers, ultra-mobile personal computers (Ultra-Mobile Personal Computer, UMPC), netbooks, personal digital assistants (Personal Digital Assistant, PDA), etc., and the embodiments of the present application do not impose any restrictions on the specific types of terminal devices.
[0034] See also Figure 1 The defect detection method provided in the embodiment of the present application includes but is not limited to the following steps:
[0035] In S100, real-time acquisition image set information is acquired, and real-time voltage information, historical voltage information, and nominal voltage information are acquired.
[0036] Without loss of generality, the terminal device can be pre-installed with a high-precision industrial camera at the discharge of the base paper graphitization equipment, and the workpiece located at the discharge can be continuously transported in a horizontal state, and the workpiece is the base paper that has been sintered at a high temperature. The high-precision industrial camera can be located at the discharge of the base paper graphitization equipment and at the same time directly above the workpiece.
[0037] Specifically, the terminal device can obtain real-time collected image set information based on a high-precision industrial camera, wherein the real-time collected image set information includes multiple image information to be detected, and the shooting object of each image information to be detected is a processed part; at the same time, the terminal device can obtain real-time voltage information, historical voltage information and nominal voltage information, wherein the real-time voltage information is used to describe the real-time voltage of the base paper graphitization equipment, the historical voltage information is used to describe the real-time voltage of the base paper graphitization equipment at the previous historical moment, and the nominal voltage information is used to describe the rated voltage of the base paper graphitization equipment.
[0038] In S200 , voltage fluctuation amplitude information is generated according to the real-time voltage information, the historical voltage information and the nominal voltage information.
[0039] Specifically, the terminal equipment can accurately generate voltage fluctuation amplitude information based on the three important power reference quantities: real-time voltage information, historical voltage information and nominal voltage information. Among them, the voltage fluctuation amplitude information is used to evaluate the power fluctuation situation in the production scenario where the base paper graphitization equipment is located.
[0040] In some possible implementations, in order to generate valid voltage fluctuation amplitude information, please refer to Figure 2 Step S200 includes but is not limited to the following steps:
[0041] In S210 , voltage variation amplitude information is generated according to the absolute value of the difference between the real-time voltage information and the historical voltage information.
[0042] Specifically, the terminal device may first calculate the difference between the real-time voltage information and the historical voltage information, and then calculate the absolute value of the difference to generate the voltage change amplitude information.
[0043] In S220, voltage fluctuation amplitude information is generated according to a quotient of the voltage variation amplitude information divided by the nominal voltage information.
[0044] Specifically, after the terminal device generates the voltage variation amplitude information, the terminal device can effectively generate the voltage fluctuation amplitude information according to the quotient of the voltage variation amplitude information divided by the nominal voltage information.
[0045] In S300, if the voltage fluctuation amplitude information is greater than the fluctuation amplitude threshold, the current time information and the retroactive time information are acquired.
[0046] Specifically, if the voltage fluctuation amplitude information is greater than the fluctuation amplitude threshold, the terminal device can obtain the current time information and the retrospective time information, wherein the fluctuation amplitude threshold can be a preset fixed value, and the specific value of the fluctuation amplitude threshold can be set in advance by the production personnel. For example, the fluctuation amplitude threshold can be 7% or 10%. The retrospective time information is earlier than the current time information, and the time difference between the current time information and the retrospective time information is a preset first time interval, and the first time interval can be a preset fixed value, and the specific value of the first time interval can be set in advance by the production personnel. For example, the first time interval can be 15 seconds or 30 seconds.
[0047] In S400, first target image information and second target image information are determined based on real-time collected image set information.
[0048] Specifically, the terminal device can effectively determine the first target image information and the second target image information from multiple image information to be detected in the real-time collected image set information based on the real-time collected image set information, wherein the first target image information is used to describe the image information to be detected whose shooting time is the current moment information, and the second target image information is used to describe the image information to be detected whose shooting time is the retroactive moment information.
[0049] In S500, detection result information of the first target image information is determined according to the first target image information and the second target image information.
[0050] Specifically, the terminal device can determine the detection result information of the first target image information based on the first target image information and the second target image information, and thus determine whether the part of the base paper corresponding to the first target image information has defects through the detection result information, and then determine whether the production quality corresponding to this part of the base paper does not meet the production requirements, wherein the detection result information is qualified detection information or defective information, the qualified detection information is used to describe that the part of the base paper contained in the first target image information has no defects, and the production quality corresponding to this part of the base paper meets the production requirements, and the defective information is used to describe that the part of the base paper contained in the first target image information has defects, and the production quality corresponding to this part of the base paper does not meet the production requirements.
[0051] In some possible implementations, in order to improve the accuracy of the detection result information, that is, to improve the detection accuracy, please refer to Figure 3 Step S500 includes but is not limited to the following steps:
[0052] In S510, the first target image information is grayed to generate first gray image information, and the second target image information is grayed to generate second gray image information.
[0053] Specifically, the terminal device can first grayscale the first target image information to generate first grayscale image information, and at the same time the terminal device can grayscale the second target image information to generate second grayscale image information, wherein the grayscale processing can adopt existing technology, so it is not elaborated.
[0054] In S520, for each first pixel point in the first grayscale image information: first pixel value information of the first pixel point is obtained.
[0055] Specifically, the terminal device can perform the processing for each first pixel in the first grayscale image information: obtain the first pixel value information of the first pixel, wherein the first pixel value information is used to describe the specific pixel value of the first pixel.
[0056] In S530 , the first pixel value information is compared with preset blank pixel value information.
[0057] Without loss of generality, a pure white strip of paper can be pre-installed at the discharge of the base paper graphitization equipment, the width of which can be greater than or equal to the width of the workpiece, and the strip of paper can be located directly below the workpiece. Among them, although the base paper is a product made of a large number of carbon fibers tightly interwoven, there may still be tiny gaps with a certain degree of light transmittance in this tight structure, and light can penetrate these tiny gaps. Therefore, in the image information to be detected, the carbon fiber interwoven part of the workpiece is black, and the tiny gap part of the workpiece is white.
[0058] Specifically, the terminal device can compare the first pixel value information with the preset blank pixel value information, wherein the blank pixel value information can be a preset fixed value, the specific value of the blank pixel value information can be set in advance by the production personnel, and the blank pixel value information is used as the standard value of white.
[0059] In S540, if the first pixel value information is equal to the blank pixel value information, the first pixel point is removed; otherwise, the first pixel point is retained.
[0060] Specifically, if the first pixel value information is equal to the blank pixel value information, the first pixel point is eliminated in the first grayscale image information, otherwise the first pixel point is retained in the first grayscale image information, thereby eliminating invalid information in the first grayscale image information and improving the accuracy of the detection result.
[0061] In S550, first pixel sum information is generated according to the sum of first pixel value information corresponding to all first target pixel points.
[0062] Specifically, after executing step S540, there are no pixels corresponding to the tiny gaps in the first grayscale image information. The terminal device can generate first pixel sum information based on the sum of the first pixel value information corresponding to all first target pixel points, wherein the first target pixel point is used to describe the retained first pixel point, and the first pixel sum information is used to describe the sum of the first pixel value information corresponding to all first target pixel points.
[0063] In S560, first image pixel mean information is generated according to a quotient of the first pixel sum information divided by the total number of first target pixel points.
[0064] Specifically, the terminal device may obtain the total number of first target pixel points, and then generate the first image pixel mean information according to the quotient of the first pixel sum information divided by the total number of first target pixel points.
[0065] In S570, for each second pixel point in the second grayscale image information: obtain second pixel value information of the second pixel point.
[0066] Specifically, the terminal device can perform the processing for each second pixel in the second grayscale image information: obtain the second pixel value information of the second pixel, wherein the second pixel value information is used to describe the specific pixel value of the second pixel.
[0067] In S580 , the second pixel value information is compared with the blank pixel value information.
[0068] Specifically, the terminal device may compare the second pixel value information with the blank pixel value information.
[0069] In S590, if the second pixel value information is equal to the blank pixel value information, the second pixel point is removed; otherwise, the second pixel point is retained.
[0070] Specifically, if the second pixel value information is equal to the blank pixel value information, the terminal device may remove the second pixel point from the second grayscale image information, otherwise the second pixel point may be retained in the second grayscale image information.
[0071] In S591, second pixel sum information is generated according to the sum of the second pixel value information corresponding to all the second target pixel points.
[0072] Specifically, the terminal device may generate second pixel sum information according to the sum of the second pixel value information corresponding to all second target pixel points, wherein the second target pixel point is used to describe the retained second pixel point.
[0073] In S592, second image pixel mean information is generated according to the quotient of the second pixel sum information divided by the total number of second target pixel points.
[0074] Specifically, the terminal device may obtain the total number of the second target pixel points, and then generate the second image pixel mean information according to the quotient of the second pixel sum information divided by the total number of the second target pixel points.
[0075] In S593, pixel mean difference information is generated according to the absolute value of the difference between the first image pixel mean information and the second image pixel mean information.
[0076] Specifically, the terminal device may calculate the difference between the first image pixel mean information and the second image pixel mean information, and then calculate the absolute value of the difference to generate pixel mean difference information.
[0077] In S594, the detection result information of the first target image information is determined according to the pixel mean difference information and a preset pixel mean difference threshold.
[0078] It should be noted that when power fluctuations occur in the production scenario of the base paper graphitization equipment, the sintering temperature of the base paper graphitization equipment will also fluctuate, reducing the sintering uniformity of the workpiece. When the sintering temperature of the base paper graphitization equipment fluctuates to a point that does not meet production requirements, the base paper graphitization equipment cannot effectively remove impurities and voids in the workpiece, causing the workpiece to remain relatively thicker, which is reflected in the first target image information as follows: the color difference between the thicker workpiece and the qualified workpiece is large, and the color of the thicker workpiece tends to be blacker than the color of the qualified workpiece.
[0079] Specifically, the terminal device can accurately determine the detection result information of the first target image information based on the pixel mean difference information and the preset pixel mean difference threshold, wherein the pixel mean difference threshold can be a preset fixed value, and the specific value of the pixel mean difference threshold can be set in advance by the production personnel. The pixel mean difference threshold is used as a standard value for evaluating whether there are large production differences.
[0080] In some possible implementations, in order to determine accurate test result information, please refer to Figure 4 Step S594 includes but is not limited to the following steps:
[0081] In S5941, the pixel mean difference information is compared with a preset pixel mean difference threshold.
[0082] Specifically, the terminal device may compare the pixel mean difference information with a preset pixel mean difference threshold.
[0083] In S5942, if the pixel mean difference information is less than the pixel mean difference threshold, the detection result information of the first target image information is determined to be detection qualified information.
[0084] Specifically, if the pixel mean difference information is less than the pixel mean difference threshold, the terminal device may determine that the detection result information of the first target image information is detection qualified information.
[0085] In S5943, if the pixel mean difference information is greater than or equal to the pixel mean difference threshold, it is determined that the detection result information of the first target image information is defect information.
[0086] Specifically, if the pixel mean difference information is greater than or equal to the pixel mean difference threshold, the terminal device may determine that the detection result information of the first target image information is defective information.
[0087] In some possible implementations, in order to improve the rationality of the detection results, please refer to Figure 5 After step S400, the method further includes but is not limited to the following steps:
[0088] In S401, detection result information of the second target image information is obtained.
[0089] Specifically, the terminal device may obtain the detection result information of the second target image information, wherein the detection result information of the second target image information is detection qualified information or defective information.
[0090] In S402, if the detection result information of the second target image information is information that there is a defect, the second target image information is replaced with the third target image information.
[0091] Specifically, the shooting time of the third target image information is earlier than the shooting time of the second target image information; the time difference between the shooting time of the second target image information and the shooting time of the third target image information is a non-zero integer multiple of the first time interval. Exemplarily, the time difference between the shooting time of the second target image information and the shooting time of the third target image information can be one times the first time interval, twice the first time interval or five times the first time interval; the detection result information of the third target image information is detection qualified information.
[0092] Exemplarily, if the detection result information of the second target image information is defective information, the terminal device can temporarily determine another image information to be detected in the real-time image set information as the third target image information, and the time difference between the shooting time of the other image information to be detected and the shooting time of the second target image information is twice the first time interval. If the detection result information of the other image information to be detected is qualified detection information, the terminal device replaces the second target image information with the third target image information. If the detection result information of the other image information to be detected is defective information, the terminal device can temporarily determine a new image information to be detected in the real-time image set information as the third target image information, and the time difference between the shooting time of the new image information to be detected and the shooting time of the second target image information is twice the first time interval. The above process is continuously repeated until the detection result information is determined to be the third target image information with qualified detection information, and then the second target image information is replaced with the third target image information.
[0093] It should be noted that when the terminal device is unable to determine the third target image information in the real-time collected image set information and the detection result information of the second target image information is defect information, the terminal device can replace the second target image information with a preset reference image information. The reference image information can be set in advance by the production personnel, and the reference image information serves as the standard for qualified processed parts.
[0094] Accordingly, the above step S500 includes but is not limited to the following steps:
[0095] In S501, detection result information of the first target image information is determined according to the first target image information and the third target image information.
[0096] Specifically, the terminal device can determine the detection result information of the first target image information based on the first target image information and the third target image information. The specific processing process can refer to the similar contents of the above steps S510 to S594, so it is not repeated here.
[0097] The implementation principle of the defect detection method based on the base paper graphitization equipment in the embodiment of the present application is as follows: the terminal device can first obtain the real-time acquisition image set information, and simultaneously obtain the real-time voltage information, the historical voltage information and the nominal voltage information, and then comprehensively generate the voltage fluctuation amplitude information according to the real-time voltage information, the historical voltage information and the nominal voltage information. If the voltage fluctuation amplitude information is greater than the fluctuation amplitude threshold, the current moment information and the retrospective moment information are obtained, and then based on the real-time acquisition image set information, the first target image information and the second target image information are determined, and finally, according to the first target image information and the second target image information, the detection result information of the first target image information is determined, thereby reducing the subjectivity of manual detection, improving the accuracy of the detection results, and effectively improving the detection accuracy.
[0098] It should be noted that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0099] The embodiment of the present application also provides a defect detection system based on a base paper graphitization device. For ease of description, only the parts related to the present application are shown, such as Figure 6 As shown, the system 60 includes:
[0100] The real-time image collection set information acquisition module 61 is used to acquire the real-time image collection set information, and acquire the real-time voltage information, the historical voltage information and the nominal voltage information, wherein the real-time image collection set information includes a plurality of image information to be detected;
[0101] Voltage fluctuation amplitude information generating module 62: used to generate voltage fluctuation amplitude information according to real-time voltage information, historical voltage information and nominal voltage information;
[0102] The current time information acquisition module 63 is used to acquire the current time information and the retrospective time information if the voltage fluctuation amplitude information is greater than the fluctuation amplitude threshold, wherein the retrospective time information is earlier than the current time information, and the time difference between the current time information and the retrospective time information is a preset first time interval;
[0103] The first target image information determining module 64 is used to determine the first target image information and the second target image information based on the real-time collected image set information, wherein the first target image information is used to describe the image information to be detected whose shooting time is the current moment information, and the second target image information is used to describe the image information to be detected whose shooting time is the retroactive moment information;
[0104] The detection result information determination module 65 is used to determine the detection result information of the first target image information according to the first target image information and the second target image information, wherein the detection result information is detection qualified information or defective information.
[0105] Optionally, the voltage fluctuation amplitude information generating module 62 includes:
[0106] Voltage variation amplitude information generation submodule: used to generate voltage variation amplitude information according to the absolute value of the difference between the real-time voltage information and the historical voltage information;
[0107] The voltage fluctuation amplitude information generating submodule is used to generate the voltage fluctuation amplitude information according to the quotient of the voltage variation amplitude information divided by the nominal voltage information.
[0108] Optionally, the system 60 further includes:
[0109] Detection result information acquisition module: used to obtain detection result information of the second target image information;
[0110] A third target image information replacement module: used for replacing the second target image information with the third target image information if the detection result information of the second target image information is defective information, wherein the shooting time of the third target image information is earlier than the shooting time of the second target image information, the time difference between the shooting time of the second target image information and the shooting time of the third target image information is a non-zero integer multiple of the first time interval, and the detection result information of the third target image information is qualified detection information;
[0111] Accordingly, the detection result information determination module 65 includes:
[0112] The detection result information first determination submodule is used to determine the detection result information of the first target image information according to the first target image information and the third target image information.
[0113] Optionally, the detection result information determination module 65 includes:
[0114] Grayscale processing submodule: used for grayscale processing the first target image information to generate first grayscale image information, and grayscale processing the second target image information to generate second grayscale image information;
[0115] A first pixel value information acquisition submodule: for acquiring first pixel value information of each first pixel in the first grayscale image information;
[0116] The first pixel value information comparison submodule is used to compare the first pixel value information with the preset blank pixel value information;
[0117] The first pixel point elimination submodule is used for eliminating the first pixel point if the first pixel value information is equal to the blank pixel value information, otherwise the first pixel point is retained;
[0118] A first pixel sum information generating submodule: used to generate first pixel sum information according to the sum of first pixel value information corresponding to all first target pixel points, wherein the first target pixel point is used to describe the retained first pixel point;
[0119] A first image pixel mean information generating submodule: used to generate first image pixel mean information according to a quotient of the first pixel sum information divided by the total number of first target pixel points;
[0120] A second pixel value information acquisition submodule: for acquiring second pixel value information of each second pixel in the second grayscale image information;
[0121] Second pixel value information comparison submodule: used to compare the second pixel value information with the blank pixel value information;
[0122] The second pixel point elimination submodule is used for eliminating the second pixel point if the second pixel value information is equal to the blank pixel value information, otherwise the second pixel point is retained;
[0123] A second pixel sum information generating submodule: used to generate second pixel sum information according to the sum of the second pixel value information corresponding to all second target pixel points, wherein the second target pixel point is used to describe the retained second pixel point;
[0124] A second image pixel mean information generating submodule: used to generate second image pixel mean information according to the quotient of the second pixel sum information divided by the total number of second target pixel points;
[0125] A pixel mean difference information generating submodule: used to generate pixel mean difference information according to the absolute value of the difference between the first image pixel mean information and the second image pixel mean information;
[0126] The second detection result information determination submodule is used to determine the detection result information of the first target image information according to the pixel mean difference information and a preset pixel mean difference threshold.
[0127] Optionally, the second determination submodule of the detection result information includes:
[0128] Pixel mean difference information comparison unit: used for comparing pixel mean difference information with a preset pixel mean difference threshold;
[0129] A qualified detection information determining unit: configured to determine the detection result information of the first target image information as qualified detection information if the pixel mean difference information is less than the pixel mean difference threshold value;
[0130] A defect information determination unit is used to determine that the detection result information of the first target image information is defect information if the pixel mean difference information is greater than or equal to the pixel mean difference threshold.
[0131] It should be noted that the information interaction, execution process and other contents between the above-mentioned modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0132] The present application also provides a terminal device, such as Figure 7 As shown, the terminal device 70 of this embodiment includes: a processor 71, a memory 72, and a computer program 73 stored in the memory 72 and executable on the processor 71. When the processor 71 executes the computer program 73, the steps in the above-mentioned traffic processing method embodiment are implemented, for example Figure 1 Steps S100 to S500 shown; or, when the processor 71 executes the computer program 73, the functions of each module in the above device are realized, for example Figure 6 The functions of the modules 61 to 65 are shown.
[0133] The terminal device 70 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server, and the terminal device 70 includes but is not limited to a processor 71 and a memory 72. Those skilled in the art will appreciate that Figure 7 It is only an example of the terminal device 70 and does not constitute a limitation of the terminal device 70. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device 70 may also include input and output devices, network access devices, buses, etc.
[0134] Among them, the processor 71 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.; the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0135] The memory 72 may be an internal storage unit of the terminal device 70, such as a hard disk or memory of the terminal device 70, or the memory 72 may be an external storage device of the terminal device 70, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device 70; further, the memory 72 may also include both an internal storage unit and an external storage device of the terminal device 70, and the memory 72 may also store a computer program 73 and other programs and data required by the terminal device 70, and the memory 72 may also be used to temporarily store data that has been output or is to be output.
[0136] One embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of each of the above method embodiments can be implemented. Among them, 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 computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0137] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, all equivalent changes made according to the methods, principles, and structures of the present application should be included in the protection scope of the present application.
Claims
1. A defect detection method based on base paper graphitization equipment, characterized in that: The method comprises: Acquire real-time collected image set information, and acquire real-time voltage information, historical voltage information and nominal voltage information, wherein the real-time collected image set information includes a plurality of image information to be detected; Generate voltage fluctuation amplitude information according to the real-time voltage information, the historical voltage information and the nominal voltage information; If the voltage fluctuation amplitude information is greater than the fluctuation amplitude threshold, then obtaining current time information and retrospective time information, wherein the retrospective time information is earlier than the current time information, and the time difference between the current time information and the retrospective time information is a preset first time interval; Based on the real-time collected image set information, determine first target image information and second target image information, wherein the first target image information is used to describe the image information to be detected whose shooting time is the current moment information, and the second target image information is used to describe the image information to be detected whose shooting time is the retrospective moment information; Determine, according to the first target image information and the second target image information, detection result information of the first target image information, wherein the detection result information is detection qualified information or defective information; Wherein, determining the detection result information of the first target image information according to the first target image information and the second target image information includes: Performing grayscale processing on the first target image information to generate first grayscale image information, and performing grayscale processing on the second target image information to generate second grayscale image information; For each first pixel point in the first grayscale image information: obtaining first pixel value information of the first pixel point; Comparing the first pixel value information with preset blank pixel value information; If the first pixel value information is equal to the blank pixel value information, the first pixel point is removed; otherwise, the first pixel point is retained; Generate first pixel sum information according to the sum of the first pixel value information corresponding to all first target pixel points, wherein the first target pixel point is used to describe the retained first pixel point; Generate first image pixel mean information according to a quotient of the first pixel sum information divided by the total number of the first target pixel points; For each second pixel point in the second grayscale image information: obtaining second pixel value information of the second pixel point; comparing the second pixel value information with the blank pixel value information; If the second pixel value information is equal to the blank pixel value information, then the second pixel point is removed; otherwise, the second pixel point is retained; Generate second pixel sum information according to the sum of the second pixel value information corresponding to all second target pixel points, wherein the second target pixel point is used to describe the retained second pixel point; Generate second image pixel mean information according to a quotient of the second pixel sum information divided by the total number of the second target pixel points; Generate pixel mean difference information according to an absolute value of a difference between the first image pixel mean information and the second image pixel mean information; The detection result information of the first target image information is determined according to the pixel mean difference information and a preset pixel mean difference threshold.
2. The method according to claim 1, characterized in that The generating voltage fluctuation amplitude information according to the real-time voltage information, the historical voltage information and the nominal voltage information includes: Generate voltage change amplitude information according to the absolute value of the difference between the real-time voltage information and the historical voltage information; The voltage fluctuation amplitude information is generated according to the quotient of the voltage change amplitude information divided by the nominal voltage information.
3. The method according to claim 1, characterized in that After determining the first target image information and the second target image information based on the real-time collected image set information, the method further includes: Acquire the detection result information of the second target image information; If the detection result information of the second target image information is the defect information, the second target image information is replaced with the third target image information, wherein the shooting time of the third target image information is earlier than the shooting time of the second target image information, the time difference between the shooting time of the second target image information and the shooting time of the third target image information is a non-zero integer multiple of the first time interval, and the detection result information of the third target image information is qualified detection information; Correspondingly, determining the detection result information of the first target image information according to the first target image information and the second target image information includes: According to the first target image information and the third target image information, detection result information of the first target image information is determined.
4. The method according to claim 1, characterized in that: The step of determining the detection result information of the first target image information according to the pixel mean difference information and a preset pixel mean difference threshold includes: Comparing the pixel mean difference information with a preset pixel mean difference threshold; If the pixel mean difference information is less than the pixel mean difference threshold, determining the detection result information of the first target image information as the detection qualified information; If the pixel mean difference information is greater than or equal to the pixel mean difference threshold, it is determined that the detection result information of the first target image information is the defect existence information.
5. A defect detection system based on base paper graphitization equipment, characterized in that: The system comprises: A real-time image collection set information acquisition module is used to acquire real-time image collection set information, and acquire real-time voltage information, historical voltage information and nominal voltage information, wherein the real-time image collection set information includes a plurality of image information to be detected; A voltage fluctuation amplitude information generating module is used to generate voltage fluctuation amplitude information according to the real-time voltage information, the historical voltage information and the nominal voltage information; A current time information acquisition module: used for acquiring current time information and retrospective time information if the voltage fluctuation amplitude information is greater than the fluctuation amplitude threshold, wherein the retrospective time information is earlier than the current time information, and the time difference between the current time information and the retrospective time information is a preset first time interval; A first target image information determination module: used to determine first target image information and second target image information based on the real-time collected image set information, wherein the first target image information is used to describe the image information to be detected whose shooting time is the current moment information, and the second target image information is used to describe the image information to be detected whose shooting time is the retrospective moment information; A detection result information determination module: used to determine the detection result information of the first target image information according to the first target image information and the second target image information, wherein the detection result information is detection qualified information or defective information; Wherein, the detection result information determination module includes: Grayscale processing submodule: used for performing grayscale processing on the first target image information to generate first grayscale image information, and performing grayscale processing on the second target image information to generate second grayscale image information; A first pixel value information acquisition submodule: for acquiring first pixel value information of each first pixel in the first grayscale image information; A first pixel value information comparison submodule: used for comparing the first pixel value information with preset blank pixel value information; A first pixel point elimination submodule: configured to eliminate the first pixel point if the first pixel value information is equal to the blank pixel value information, and otherwise retain the first pixel point; A first pixel sum information generating submodule: used for generating first pixel sum information according to the sum of the first pixel value information corresponding to all first target pixel points, wherein the first target pixel point is used to describe the first pixel point after being retained; A first image pixel mean information generating submodule: configured to generate first image pixel mean information according to a quotient of the first pixel sum information divided by the total number of the first target pixel points; A second pixel value information acquisition submodule: for acquiring second pixel value information of each second pixel in the second grayscale image information; Second pixel value information comparison submodule: used for comparing the second pixel value information with the blank pixel value information; A second pixel point elimination submodule: configured to eliminate the second pixel point if the second pixel value information is equal to the blank pixel value information, and otherwise retain the second pixel point; A second pixel sum information generating submodule: used to generate second pixel sum information according to the sum of the second pixel value information corresponding to all second target pixel points, wherein the second target pixel point is used to describe the retained second pixel point; A second image pixel mean information generating submodule: configured to generate second image pixel mean information according to a quotient of the second pixel sum information divided by the total number of the second target pixel points; A pixel mean difference information generating submodule: used to generate pixel mean difference information according to the absolute value of the difference between the first image pixel mean information and the second image pixel mean information; The second detection result information determination submodule is used to determine the detection result information of the first target image information according to the pixel mean difference information and a preset pixel mean difference threshold.
6. The system according to claim 5, characterized in that The voltage fluctuation amplitude information generating module comprises: A voltage variation amplitude information generating submodule is used to generate voltage variation amplitude information according to the absolute value of the difference between the real-time voltage information and the historical voltage information; The voltage fluctuation amplitude information generating submodule is used to generate the voltage fluctuation amplitude information according to the quotient of the voltage variation amplitude information divided by the nominal voltage information.
7. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Ultrasound vibrating-type defect detection apparatus and wire defect detection system
US20230253266A1