Material detection method and system based on image processing
Through image processing-based methods, the numerical value and slope change of concrete slabs are calculated, which solves the problems of complexity and insufficient accuracy of traditional testing methods, and achieves efficient evaluation of deterioration degree and material detection.
Patent Information
- Application Number
- CN202410932294.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional concrete slab pressure-bearing capacity testing method is complicated when evaluating the degree of material deterioration and needs to ensure that the structural conditions of the new test workpiece are consistent with the target material workpiece, which affects the accuracy of the test results.
Using an image processing method, the detection images at different time points are obtained through the preset time length of the critical pressure value applied to the concrete slab, the detection images at different time points are calculated, the structural malignant variable values are generated, and the detection line chart is generated, which is real-time and preset standard line chart. Compared, if the standard requirements do not meet the standard, determine the degree of deterioration by the degree of slope change, and avoid selecting new test pieces for re-pressure testing.
It improves the accuracy of the degree of deterioration, simplifies the testing process, avoids test results deviations caused by inconsistent structural conditions, and improves the efficiency of material detection.
Smart Images

Figure CN118883246A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of material pressure testing, and in particular relates to a material detection method and system based on image processing. Background Art
[0002] As one of the main materials commonly used in construction projects, the quality and performance of concrete are crucial to the safety and durability of the project. In construction practice, accurate testing of the bearing capacity of concrete is one of the key links to ensure the quality of the project. However, traditional methods for testing the bearing capacity of concrete slabs have some technical challenges and limitations, especially when evaluating the specific degree of deterioration of the material.
[0003] Currently, in the process of testing the bearing capacity of concrete slabs, advanced image processing technology and the principles of engineering material mechanics are used to capture and analyze the changes in cracks on the concrete surface in real time, thereby accurately evaluating the performance of the material when it is under pressure.
[0004] However, after determining that the concrete slab has cracks and collapses, the prior art usually requires using a new test workpiece that is the same as the target material workpiece and applying a pressure lower than the standard critical pressure value to infer the actual critical pressure value that the unqualified target material workpiece can withstand. Then, the specific degree of deterioration is determined by the deviation between the actual critical pressure value and the standard critical pressure value. Although this method can scientifically calculate the deterioration of the target material workpiece, the testing process is still complicated. It is necessary to ensure that the construction conditions of the new test workpiece are consistent with those of the target material workpiece to ensure the accuracy of the test results, and the testing requirements are relatively stringent. Summary of the invention
[0005] The purpose of the present invention is to provide a material detection method and system based on image processing, aiming to solve the problems raised in the background technology.
[0006] The present invention is implemented as follows: a material detection method based on image processing, the method comprising:
[0007] During a pressure test of applying a critical pressure value to a target material workpiece for a preset time length, obtaining detection images of the target material workpiece at different time points, and obtaining a structural deterioration value of the target material workpiece based on the detection images of the target material workpiece;
[0008] Generate a detection line graph according to the preset time length of the pressure test and the structural deterioration values of the target material workpiece corresponding to different time points;
[0009] Obtain a preset standard line graph, and compare the detection line graph with the preset standard line graph in real time to determine whether the target material workpiece meets the standard requirements;
[0010] If it is determined that the target material workpiece does not meet the standard requirements, the degree of change in the slope of the detection line graph relative to the preset standard line graph is obtained, and the degree of deterioration of the target material workpiece is determined according to the degree of change in the slope.
[0011] As a further limitation of the technical solution of the embodiment of the present invention, in the process of applying a pressure test of a preset time length of a critical pressure value to a target material workpiece, the steps of obtaining detection images of the target material workpiece at different time points, and obtaining a structural deterioration value of the target material workpiece according to the detection images of the target material workpiece include:
[0012] During a pressure test of applying a critical pressure value to a target material workpiece for a preset time length, acquiring detection images of the target material workpiece at different time points;
[0013] Based on image processing, the cracks appearing on the surface of the target material workpiece in the detection image and the length value of each crack are obtained, and the length values of all cracks are collected to obtain a crack length set;
[0014] A numerical calculation formula for structural deterioration is obtained, and a structural deterioration value of a target material workpiece is determined according to a crack length set and the numerical calculation formula for structural deterioration.
[0015] As a further limitation of the technical solution of the embodiment of the present invention, the numerical calculation formula for structural deterioration is: Wherein M is the structural deterioration value, L is the length value of the crack, and n is the total number of cracks appearing on the surface of the target material workpiece. When n is 0, the structural deterioration value calculation formula is not used to calculate the structural deterioration value of the target material workpiece, and the structural deterioration value of the target material workpiece is directly determined to be 0.
[0016] As a further limitation of the technical solution of the embodiment of the present invention, the detection line graph is an XY axis type line graph, wherein the X axis represents a preset time length, the Y axis of the detection line graph represents the structural deterioration value, and in the X axis, the interval lengths of adjacent time points are the same.
[0017] As a further limitation of the technical solution of the embodiment of the present invention, the steps of obtaining a preset standard line graph, and comparing the detection line graph with the preset standard line graph in real time to determine whether the target material workpiece meets the standard requirements include:
[0018] Obtain a preset standard line chart, and compare the detection line chart with the preset standard line chart in real time;
[0019] Get the time length value T of the structure malignancy value greater than 0 in the preset standard line graph and the detection line graph respectively a and T b , and judge T a Subtract Tb Whether the difference is greater than a preset threshold;
[0020] If it is determined that T a Subtract T b If the difference between the target material and the target workpiece is greater than the preset threshold, it is determined that the target material workpiece does not meet the standard requirements. a Subtract T b If the difference is not greater than the preset threshold, it is determined that the target material workpiece meets the standard requirements.
[0021] As a further limitation of the technical solution of the embodiment of the present invention, if it is determined that the target material workpiece does not meet the standard requirements, the steps of obtaining the degree of change of the slope of the detection line graph relative to the preset standard line graph, and determining the degree of deterioration of the target material workpiece according to the degree of change of the slope include:
[0022] If it is determined that the target material workpiece does not meet the standard requirements, the first structural deterioration value greater than 0 and the last structural deterioration value in the detection line graph and the preset standard line graph are obtained respectively;
[0023] Retrieving a slope change degree calculation formula, and calculating the slope change degree of the detection line graph relative to the preset standard line graph according to the slope change degree calculation formula, the first structural malignancy value greater than 0 in the detection line graph and the preset standard line graph, and the last structural malignancy value;
[0024] The degree of deterioration of the target material workpiece is determined based on the degree of slope change.
[0025] As a further limitation of the technical solution of the embodiment of the present invention, the calculation formula for obtaining the slope change degree is: Where C is the specific value of the slope change, S 检测 To detect the slope value from the first structural malignancy value greater than 0 to the last structural malignancy value in the line graph, S 标准 It is the slope value from the first structural malignancy value greater than 0 to the last structural malignancy value in the preset standard line graph;
[0026] In the calculation formula for the slope change degree:
[0027] Among them, M 检测末 To detect the last structural deterioration value in the line graph, M 检测首 To detect the first structural malignancy value greater than 0 in the line graph, t 检测末 is the time value corresponding to the last structural deterioration value, t 检测首 The time value corresponding to the first structural deterioration value greater than 0;
[0028] Among them, M标准末 is the last structural deterioration value in the preset standard line chart, M 标准首 is the first structural deterioration value greater than 0 in the preset standard line graph, t 标准末 is the time value corresponding to the last structural deterioration value, t 标准首 The time corresponding to the first structural deterioration value greater than 0.
[0029] As a further limitation of the technical solution of the embodiment of the present invention, a material detection system based on image processing includes: a structure deterioration value acquisition module, a detection line graph generation module, a target material workpiece judgment module and a deterioration degree determination module, wherein:
[0030] A structural deterioration value acquisition module is used to acquire detection images of the target material workpiece at different time points during a pressure test of applying a critical pressure value to the target material workpiece for a preset time length, and to acquire a structural deterioration value of the target material workpiece based on the detection images of the target material workpiece;
[0031] A detection line graph generation module is used to generate a detection line graph according to a preset time length of the pressure test and structural deterioration values of the target material workpiece corresponding to different time points;
[0032] The detection line graph is an XY axis type line graph, wherein the X axis represents a preset time length, the Y axis of the detection line graph represents a structural deterioration value, and in the X axis, the interval lengths of adjacent time points are the same;
[0033] The target material workpiece judgment module is used to obtain a preset standard line graph and compare the detection line graph with the preset standard line graph in real time to determine whether the target material workpiece meets the standard requirements;
[0034] The deterioration degree determination module is used to obtain the degree of change in the slope of the detection line graph relative to the preset standard line graph if it is determined that the target material workpiece does not meet the standard requirements, and determine the deterioration degree of the target material workpiece according to the degree of change in the slope.
[0035] As a further limitation of the technical solution of the embodiment of the present invention, the structural deterioration value acquisition module specifically includes:
[0036] A detection image acquisition unit, used to acquire detection images of the target material workpiece at different time points during a pressure test of applying a critical pressure value to the target material workpiece for a preset time length;
[0037] A crack length set acquisition unit is used to acquire the cracks appearing on the surface of the target material workpiece in the detection image and the length value of each crack based on image processing, and collect the length values of all cracks to obtain a crack length set;
[0038] A structural deterioration numerical calculation unit, used to obtain a structural deterioration numerical calculation formula, and determine a structural deterioration value of a target material workpiece according to a crack length set and the structural deterioration numerical calculation formula;
[0039] The numerical calculation formula for structural deterioration is: Wherein M is the structural deterioration value, L is the length value of the crack, and n is the total number of cracks appearing on the surface of the target material workpiece. When n is 0, the structural deterioration value calculation formula is not used to calculate the structural deterioration value of the target material workpiece, and the structural deterioration value of the target material workpiece is directly determined to be 0.
[0040] As a further limitation of the technical solution of the embodiment of the present invention, the target material workpiece judgment module specifically includes:
[0041] A line graph comparison unit is used to obtain a preset standard line graph and compare the detection line graph with the preset standard line graph in real time;
[0042] The difference judgment unit is used to obtain the time length value T of the structure malignant value greater than 0 in the preset standard line graph and the detection line graph respectively. a and T b , and judge T a Subtract T b Whether the difference is greater than a preset threshold;
[0043] The target material workpiece judgment unit is used to judge if T a Subtract T b If the difference between the target material and the target workpiece is greater than the preset threshold, it is determined that the target material workpiece does not meet the standard requirements. a Subtract T b If the difference is not greater than the preset threshold, it is determined that the target material workpiece meets the standard requirements.
[0044] Compared with the prior art, the present invention obtains the detection images of the target material workpiece at different time points during the pressure test of the preset time length of the critical pressure value applied to the target material workpiece, and obtains the structural deterioration value of the target material workpiece according to the detection images of the target material workpiece; generates a detection line graph according to the preset time length of the pressure test and the structural deterioration value of the target material workpiece corresponding to different time points; obtains the preset standard line graph, and compares the detection line graph with the preset standard line graph in real time to determine whether the target material workpiece meets the standard requirements; if the target material workpiece is determined not to meet the standard requirements, obtains the slope change degree of the detection line graph relative to the preset standard line graph, and determines the deterioration degree of the target material workpiece according to the slope change degree. In the process of applying a critical pressure value to a material such as a concrete slab, once it is determined that the pressure bearing capacity of the tested material workpiece is insufficient, the specific deterioration degree of the tested material workpiece can be accurately determined by analyzing the material workpiece that has already collapsed, combined with the actual changes in the surface cracks of the tested material workpiece and the qualified quality workpiece. This method not only improves the accuracy of the deterioration degree, but also avoids selecting a new test workpiece and performing a pressure test again, thereby improving the efficiency of material detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A flowchart of a method provided by an embodiment of the present invention;
[0046] Figure 2 A flow chart of calculating the structural deterioration value of a target material workpiece in the method provided in an embodiment of the present invention;
[0047] Figure 3 A flow chart of determining whether a target material workpiece meets standard requirements in a method provided in an embodiment of the present invention;
[0048] Figure 4 A flow chart of calculating the degree of change of the slope of a detection line graph relative to a preset standard line graph in the method provided in an embodiment of the present invention;
[0049] Figure 5 An application architecture diagram of a system provided by an embodiment of the present invention;
[0050] Figure 6 A structural block diagram of a module for obtaining a structural deterioration value in a system provided by an embodiment of the present invention;
[0051] Figure 7 This is a structural block diagram of a target material workpiece judgment module in the system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0053] Figure 1 A flow chart of a method provided by an embodiment of the present invention is shown.
[0054] Specifically, a material detection method based on image processing comprises the following steps:
[0055] Step S100, during a pressure test of applying a critical pressure value to a target material workpiece for a preset time length, obtaining detection images of the target material workpiece at different time points, and obtaining a structural deterioration value of the target material workpiece based on the detection images of the target material workpiece.
[0056] Specifically, Figure 2 A flow chart for calculating the structural deterioration value of a target material workpiece is shown.
[0057] In the process of applying a pressure test of a preset time length of a critical pressure value to a target material workpiece, obtaining detection images of the target material workpiece at different time points, and obtaining a structural deterioration value of the target material workpiece according to the detection images of the target material workpiece specifically includes the following steps:
[0058] Step S101, during a pressure test of applying a critical pressure value to a target material workpiece for a preset time length, acquiring detection images of the target material workpiece at different time points;
[0059] Step S102, based on image processing, obtaining cracks appearing on the surface of the target material workpiece in the detection image and the length value of each crack, and collecting the length values of all cracks to obtain a crack length set;
[0060] Step S103, obtaining a numerical calculation formula for structural deterioration, and determining a structural deterioration value of a target material workpiece according to the crack length set and the numerical calculation formula for structural deterioration.
[0061] The numerical calculation formula for structural deterioration is: Wherein M is the structural deterioration value, L is the length value of the crack, and n is the total number of cracks appearing on the surface of the target material workpiece. When n is 0, the structural deterioration value calculation formula is not used to calculate the structural deterioration value of the target material workpiece, and the structural deterioration value of the target material workpiece is directly determined to be 0.
[0062] In the embodiment of the present invention, the material testing direction of the present application is mainly aimed at some material workpieces that need to be continuously compressed, mainly concrete slabs, and the critical pressure value of the target material workpiece is set based on the material workpiece of qualified quality.
[0063] For concrete slabs, when they are subjected to critical pressure, cracks may appear on their surface, usually in the form of a network of cracks rather than a one-time direct collapse. As the pressure-bearing time increases, the number and length of these cracks will gradually increase until the entire concrete slab collapses.
[0064] It is understandable that, whether it is a workpiece of qualified quality or a workpiece of the target material being tested, when a critical pressure value is applied for pressure testing, surface cracking and collapse will occur within a certain period of time. For workpieces of qualified quality, testers can predetermine the length of the collapse time through experiments.
[0065] The interval lengths at different time points are manually set by the tester, preferably 0.2-0.5 seconds. To identify all cracks in the test image acquired at a certain time point and the length values of cracks at different positions, image segmentation technology in the prior art can be used, such as a semantic segmentation model based on deep learning, such as Mask R-CNN, U-Net, etc.
[0066] Since the cracks on the surface of the concrete slab are distributed in a network pattern, the crack lengths in different areas vary. To ensure a balanced assessment of the collapse of the target material workpiece at a specific time point, the technicians used the numerical calculation formula for structural deterioration This formula can be used to accurately reflect the specific failure state of the material workpiece, with the pressure point as the center and all cracks evenly distributed around the pressure point with the same length, ensuring that the test results accurately meet the requirements.
[0067] Furthermore, the material detection method based on image processing also includes the following steps:
[0068] Step S200, generating a detection line graph according to a preset time length of the pressure test and structural deterioration values of the target material workpiece corresponding to different time points;
[0069] The detection line graph is an XY axis type line graph, wherein the X axis represents a preset time length, the Y axis of the detection line graph represents a structural deterioration value, and in the X axis, the interval lengths of adjacent time points are the same.
[0070] Step S300, obtaining a preset standard line graph, and comparing the detection line graph with the preset standard line graph in real time to determine whether the target material workpiece meets the standard requirements.
[0071] Specifically, Figure 3 A flow chart is shown for determining whether a target material workpiece meets standard requirements.
[0072] The process of obtaining a preset standard line graph and comparing the detection line graph with the preset standard line graph in real time to determine whether the target material workpiece meets the standard requirements specifically includes the following steps:
[0073] Step S301, obtaining a preset standard line graph, and comparing the detection line graph with the preset standard line graph in real time;
[0074] Step S302, respectively obtaining the time length value T of the structure malignancy value greater than 0 in the preset standard line graph and the detection line graph a and T b , and judge T a Subtract T b Whether the difference is greater than a preset threshold;
[0075] Step S303: If it is determined that T a Subtract T b If the difference between the target material and the target workpiece is greater than the preset threshold, it is determined that the target material workpiece does not meet the standard requirements. a Subtract T b If the difference is not greater than the preset threshold, it is determined that the target material workpiece meets the standard requirements.
[0076] In the embodiment of the present invention, the preset threshold is set by the tester. a Subtract T b If the difference is greater than the preset threshold, it means that the target material workpiece has surface cracking and collapse in a shorter pressure-bearing time compared to the standard workpiece of qualified quality. Once this happens, it means that the target material workpiece must not meet the standard quality requirements. a Subtract T b When the difference is not greater than the preset threshold, it means that the target material workpiece can still withstand the pressure of the critical pressure value for a sufficiently long time, which indirectly confirms that the target material workpiece meets the standard quality requirements in terms of pressure bearing (based on the critical pressure value).
[0077] Furthermore, the material detection method based on image processing also includes the following steps:
[0078] Step S400, if it is determined that the target material workpiece does not meet the standard requirements, the slope change degree of the detection line graph relative to the preset standard line graph is obtained, and the deterioration degree of the target material workpiece is determined according to the slope change degree.
[0079] Specifically, Figure 4 A flow chart for calculating the degree of change in the slope of a detection line graph relative to a preset standard line graph is shown.
[0080] If it is determined that the target material workpiece does not meet the standard requirements, obtaining the degree of change in the slope of the detection line graph relative to the preset standard line graph, and determining the degree of deterioration of the target material workpiece according to the degree of change in the slope specifically includes the following steps:
[0081] Step S401, if it is determined that the target material workpiece does not meet the standard requirements, the first structural deterioration value greater than 0 and the last structural deterioration value in the detection line graph and the preset standard line graph are respectively obtained;
[0082] Step S402, calling a slope change degree calculation formula, and calculating the slope change degree of the detection line graph relative to the preset standard line graph according to the slope change degree calculation formula, the first structural malignancy value greater than 0 in the detection line graph and the preset standard line graph, and the last structural malignancy value;
[0083] Step S403, determining the degree of deterioration of the target material workpiece according to the degree of slope change.
[0084] The calculation formula for the slope change degree is: Where C is the specific value of the slope change, S 检测 To detect the slope value from the first structural malignancy value greater than 0 to the last structural malignancy value in the line graph, S 标准 It is the slope value from the first structural malignancy value greater than 0 to the last structural malignancy value in the preset standard line graph;
[0085] In the calculation formula for the slope change degree:
[0086] Among them, M 检测末 To detect the last structural deterioration value in the line graph, M 检测首 To detect the first structural malignancy value greater than 0 in the line graph, t 检测末 is the time value corresponding to the last structural deterioration value, t 检测首 The time value corresponding to the first structural deterioration value greater than 0;
[0087] Among them, M 标准末 is the last structural deterioration value in the preset standard line chart, M 标准首 is the first structural deterioration value greater than 0 in the preset standard line graph, t 标准末 is the time value corresponding to the last structural deterioration value, t 标准首 It is the time value corresponding to the first structural deterioration value greater than 0.
[0088] In the embodiment of the present invention, although by determining T aSubtract T b Whether the pressure bearing capacity of the target material workpiece meets the requirements can be determined by checking whether the difference is greater than the preset threshold, but this method cannot clearly determine the specific degree of deterioration of the target material workpiece. The current practice of technicians is to use a new test workpiece that is the same as the target material workpiece and apply a pressure lower than the standard critical pressure value to determine the actual critical pressure value that the unqualified target material workpiece can withstand. Then, the specific degree of deterioration of the target material workpiece is determined by the degree of deviation between the actual critical pressure value and the standard critical pressure value.
[0089] Although this method can scientifically calculate the specific deterioration of the target material workpiece, the entire test process is relatively cumbersome and requires the use of a new test workpiece with the same structural conditions as the target material workpiece. If there is a deviation in the structural conditions, the actual pressure bearing effect will also be different, affecting the accuracy of the test results.
[0090] In response to the above-mentioned technical defects, technicians discovered during the pressure process of multiple steps S100-S300 that when the target material workpiece does not meet the pressure bearing standards (step S300), the overall trend of the detection line graph generated according to the structural deterioration value of the target material workpiece (the trend from the first structural deterioration value greater than 0 to the last structural deterioration value) is significantly different from the overall trend of the preset standard line graph (the trend from the first structural deterioration value greater than 0 to the last structural deterioration value). The difference is mainly reflected in that the overall trend of the detection line graph is steeper than the overall trend of the preset standard line graph.
[0091] Regarding the above-mentioned test phenomenon, technical personnel in this field, combined with common technical knowledge, know that the main reason for this phenomenon is that when the pressure-bearing capacity of the target material workpiece does not meet the standards, once it shows surface crack collapse, its collapse speed is faster than the collapse speed of qualified quality material workpieces, and the specific degree of speed is positively correlated with the actual degree of deterioration of the target material workpiece (the combined influence of the target material workpiece strength damage accumulation, stress concentration effect and material structure destruction).
[0092] Therefore, in this application, when it is determined that the pressure bearing capacity of the target material workpiece is insufficient, the specific degree of deterioration of the target material is determined by analyzing the slope changes of the detection line graph and the preset standard line graph on the basis of the target material workpiece that has cracked. The specific analysis process is as follows:
[0093] First, the first structural deterioration value greater than 0 and the last structural deterioration value in the detection line graph and the preset standard line graph are obtained, and then the slope change degree calculation formula is retrieved, and the slope change degree of the detection line graph relative to the preset standard line graph is calculated according to the slope change degree calculation formula, the first structural deterioration value greater than 0 and the last structural deterioration value in the detection line graph and the preset standard line graph. Finally, the deterioration degree of the target material workpiece is determined according to the slope change degree, and the deterioration degree of the target material workpiece relative to the qualified quality material workpiece is the specific number of the slope change degree.
[0094] For example, in the detection line graph, the first structural malignancy value greater than 0 is 5, the last structural malignancy value is 20, the time value corresponding to the first structural malignancy value greater than 0 is 10, and the time value corresponding to the last structural malignancy value is 60. In the preset standard line graph, the first structural malignancy value greater than 0 is 4, the last structural malignancy value is 24, the time value corresponding to the first structural malignancy value greater than 0 is 20, and the time value corresponding to the last structural malignancy value is 100. Then S can be calculated. 检测 30 / 100, S 标准 It is 25 / 100, and then according to the calculation formula of the slope change degree, C is obtained to be 1 / 5, that is, the degree of deterioration of the target material workpiece relative to the qualified quality material workpiece is 1 / 5, which further indirectly confirms that the pressure bearing capacity of the target material workpiece is 1 / 5 worse than that of the qualified quality material workpiece.
[0095] Through the above technical solution, during the pressure test of the critical pressure value of materials such as concrete slabs, once it is determined that the pressure bearing capacity of the tested material workpiece is insufficient, the specific degree of deterioration of the tested material workpiece can be accurately determined by analyzing the material workpiece that has already collapsed and combining the actual changes in the surface cracks of the tested material workpiece and qualified quality workpieces. This method not only improves the accuracy of the degree of deterioration, but also avoids selecting new test workpieces and conducting pressure tests again, thereby improving the efficiency of material testing.
[0096] Furthermore, Figure 5 The application architecture diagram of the system provided by the embodiment of the present invention is shown.
[0097] Among them, in another preferred embodiment provided by the present invention, a material detection system based on image processing includes:
[0098] The structural deterioration value acquisition module 100 is used to obtain detection images of the target material workpiece at different time points during a pressure test of applying a critical pressure value to the target material workpiece for a preset time length, and obtain the structural deterioration value of the target material workpiece based on the detection images of the target material workpiece.
[0099] Specifically, Figure 6 The structure block diagram of the structural deterioration value acquisition module 100 in the system provided by the embodiment of the present invention is shown.
[0100] Among them, in the preferred embodiment provided by the present invention, the structural deterioration value acquisition module 100 specifically includes:
[0101] The detection image acquisition unit 101 is used to acquire detection images of the target material workpiece at different time points during a pressure test of applying a critical pressure value to the target material workpiece for a preset time length;
[0102] A crack length set obtaining unit 102 is used to obtain the cracks appearing on the surface of the target material workpiece in the detection image and the length value of each crack based on image processing, and collect the length values of all cracks to obtain a crack length set;
[0103] The structural deterioration numerical calculation unit 103 is used to obtain a structural deterioration numerical calculation formula, and determine the structural deterioration value of the target material workpiece according to the crack length set and the structural deterioration numerical calculation formula;
[0104] The numerical calculation formula for structural deterioration is: Wherein M is the structural deterioration value, L is the length value of the crack, and n is the total number of cracks appearing on the surface of the target material workpiece. When n is 0, the structural deterioration value calculation formula is not used to calculate the structural deterioration value of the target material workpiece, and the structural deterioration value of the target material workpiece is directly determined to be 0.
[0105] In the embodiment of the present invention, the material testing direction of the present application is mainly aimed at some material workpieces that need to be continuously compressed, mainly concrete slabs, and the critical pressure value of the target material workpiece is set based on the material workpiece of qualified quality.
[0106] For concrete slabs, when they are subjected to critical pressure, cracks may appear on their surface, usually in the form of a network of cracks rather than a one-time direct collapse. As the pressure-bearing time increases, the number and length of these cracks will gradually increase until the entire concrete slab collapses.
[0107] It is understandable that, whether it is a workpiece of qualified quality or a workpiece of the target material being tested, when a critical pressure value is applied for pressure testing, surface cracking and collapse will occur within a certain period of time. For workpieces of qualified quality, testers can predetermine the length of the collapse time through experiments.
[0108] The interval lengths at different time points are manually set by the tester, preferably 0.2-0.5 seconds. To identify all cracks in the test image acquired at a certain time point and the length values of cracks at different positions, image segmentation technology in the prior art can be used, such as a semantic segmentation model based on deep learning, such as Mask R-CNN, U-Net, etc.
[0109] Since the cracks on the surface of the concrete slab are distributed in a network pattern, the crack lengths in different areas vary. To ensure a balanced assessment of the collapse of the target material workpiece at a specific time point, the technicians used the numerical calculation formula for structural deterioration This formula can be used to accurately reflect the specific failure state of the material workpiece, with the pressure point as the center and all cracks evenly distributed around the pressure point with the same length, ensuring that the test results accurately meet the requirements.
[0110] Furthermore, the material detection system based on image processing also includes:
[0111] The detection line graph generating module 200 is used to generate a detection line graph according to the preset time length of the pressure test and the structural deterioration values of the target material workpiece corresponding to different time points;
[0112] The detection line graph is an XY axis type line graph, wherein the X axis represents a preset time length, the Y axis of the detection line graph represents a structural deterioration value, and in the X axis, the interval lengths of adjacent time points are the same;
[0113] The target material workpiece judging module 300 is used to obtain a preset standard line graph, and compare the detection line graph with the preset standard line graph in real time to judge whether the target material workpiece meets the standard requirements.
[0114] Specifically, Figure 7 It shows a structural block diagram of the target material workpiece judgment module 300 in the system provided by the embodiment of the present invention.
[0115] Among them, in the preferred embodiment provided by the present invention, the target material workpiece judgment module 300 specifically includes:
[0116] The line graph comparison unit 301 is used to obtain a preset standard line graph and compare the detection line graph with the preset standard line graph in real time;
[0117] The difference judgment unit 302 is used to obtain the time length value T of the structure deterioration value greater than 0 in the preset standard line graph and the detection line graph respectively. a and T b , and judge T a Subtract T b Whether the difference is greater than a preset threshold;
[0118] The target material workpiece judging unit 303 is used to judge if T a Subtract T b If the difference between the target material and the target workpiece is greater than the preset threshold, it is determined that the target material workpiece does not meet the standard requirements. a Subtract T b If the difference is not greater than the preset threshold, it is determined that the target material workpiece meets the standard requirements.
[0119] In the embodiment of the present invention, the preset threshold is set by the tester. a Subtract T b If the difference is greater than the preset threshold, it means that the target material workpiece has surface cracking and collapse in a shorter pressure-bearing time compared to the standard workpiece of qualified quality. Once this happens, it means that the target material workpiece must not meet the standard quality requirements. a Subtract T b When the difference is not greater than the preset threshold, it means that the target material workpiece can still withstand the pressure of the critical pressure value for a sufficiently long time, which indirectly confirms that the target material workpiece meets the standard quality requirements in terms of pressure bearing (based on the critical pressure value).
[0120] Furthermore, the material detection system based on image processing also includes:
[0121] The degradation degree determination module 400 is used to obtain the degree of change in the slope of the detection line graph relative to the preset standard line graph if it is determined that the target material workpiece does not meet the standard requirements, and determine the degradation degree of the target material workpiece according to the degree of change in the slope.
[0122] In the embodiment of the present invention, although by determining T a Subtract T b Whether the pressure bearing capacity of the target material workpiece meets the requirements can be determined by checking whether the difference is greater than the preset threshold, but this method cannot clearly determine the specific degree of deterioration of the target material workpiece. The current practice of technicians is to use a new test workpiece that is the same as the target material workpiece and apply a pressure lower than the standard critical pressure value to determine the actual critical pressure value that the unqualified target material workpiece can withstand. Then, the specific degree of deterioration of the target material workpiece is determined by the degree of deviation between the actual critical pressure value and the standard critical pressure value.
[0123] Although this method can scientifically calculate the specific deterioration of the target material workpiece, the entire test process is relatively cumbersome and requires the use of a new test workpiece with the same structural conditions as the target material workpiece. If there is a deviation in the structural conditions, the actual pressure bearing effect will also be different, affecting the accuracy of the test results.
[0124] In response to the above-mentioned technical defects, technicians discovered during the pressure process of multiple steps S100-S300 that when the target material workpiece does not meet the pressure bearing standards (step S300), the overall trend of the detection line graph generated according to the structural deterioration value of the target material workpiece (the trend from the first structural deterioration value greater than 0 to the last structural deterioration value) is significantly different from the overall trend of the preset standard line graph (the trend from the first structural deterioration value greater than 0 to the last structural deterioration value). The difference is mainly reflected in that the overall trend of the detection line graph is steeper than the overall trend of the preset standard line graph.
[0125] Regarding the above-mentioned test phenomenon, technical personnel in this field, combined with common technical knowledge, know that the main reason for this phenomenon is that when the pressure bearing capacity of the target material workpiece does not meet the standards, once it shows surface crack collapse, its collapse speed is faster than the collapse speed of qualified quality material workpieces, and the specific degree of speed is positively correlated with the actual degree of deterioration of the target material workpiece.
[0126] Therefore, in this application, when it is determined that the pressure bearing capacity of the target material workpiece is insufficient, the specific degree of deterioration of the target material is determined by analyzing the slope changes of the detection line graph and the preset standard line graph on the basis of the target material workpiece that has cracked. The specific analysis process is as follows:
[0127] First, the first structural deterioration value greater than 0 and the last structural deterioration value in the detection line graph and the preset standard line graph are obtained, and then the slope change degree calculation formula is retrieved, and the slope change degree of the detection line graph relative to the preset standard line graph is calculated according to the slope change degree calculation formula, the first structural deterioration value greater than 0 and the last structural deterioration value in the detection line graph and the preset standard line graph. Finally, the deterioration degree of the target material workpiece is determined according to the slope change degree, and the deterioration degree of the target material workpiece relative to the qualified quality material workpiece is the specific number of the slope change degree.
[0128] For example, in the detection line graph, the first structural malignancy value greater than 0 is 5, the last structural malignancy value is 20, the time value corresponding to the first structural malignancy value greater than 0 is 10, and the time value corresponding to the last structural malignancy value is 60. In the preset standard line graph, the first structural malignancy value greater than 0 is 4, the last structural malignancy value is 24, the time value corresponding to the first structural malignancy value greater than 0 is 20, and the time value corresponding to the last structural malignancy value is 100. Then S can be calculated. 检测 30 / 100, S 标准It is 25 / 100, and then according to the calculation formula of the slope change degree, C is obtained to be 1 / 5, that is, the degree of deterioration of the target material workpiece relative to the qualified quality material workpiece is 1 / 5, which further indirectly confirms that the pressure bearing capacity of the target material workpiece is 1 / 5 worse than that of the qualified quality material workpiece.
[0129] Through the above technical solution, during the pressure test of the critical pressure value of materials such as concrete slabs, once it is determined that the pressure bearing capacity of the tested material workpiece is insufficient, the specific degree of deterioration of the tested material workpiece can be accurately determined by analyzing the material workpiece that has already collapsed and combining the actual changes in the surface cracks of the tested material workpiece and qualified quality workpieces. This method not only improves the accuracy of the degree of deterioration, but also avoids selecting new test workpieces and conducting pressure tests again, thereby improving the efficiency of material testing.
[0130] Furthermore, Figure 5 The application architecture diagram of the system provided by the embodiment of the present invention is shown.
[0131] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0132] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0133] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0134] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0135] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A material detection method based on image processing, It is characterized in that The method comprises: During a pressure test of applying a critical pressure value to a target material workpiece for a preset time length, obtaining detection images of the target material workpiece at different time points, and obtaining a structural deterioration value of the target material workpiece based on the detection images of the target material workpiece; Generate a detection line graph according to the preset time length of the pressure test and the structural deterioration values of the target material workpiece corresponding to different time points; Obtain a preset standard line graph, and compare the detection line graph with the preset standard line graph in real time to determine whether the target material workpiece meets the standard requirements; If it is determined that the target material workpiece does not meet the standard requirements, the degree of change in the slope of the detection line graph relative to the preset standard line graph is obtained, and the degree of deterioration of the target material workpiece is determined according to the degree of change in the slope.
2. The material detection method based on image processing according to claim 1, It is characterized in that In a process of applying a pressure test of a preset time length of a critical pressure value to a target material workpiece, the steps of obtaining detection images of the target material workpiece at different time points, and obtaining a structural deterioration value of the target material workpiece according to the detection images of the target material workpiece include: During a pressure test of applying a critical pressure value to a target material workpiece for a preset time length, acquiring detection images of the target material workpiece at different time points; Based on image processing, the cracks appearing on the surface of the target material workpiece in the detection image and the length value of each crack are obtained, and the length values of all cracks are collected to obtain a crack length set; A numerical calculation formula for structural deterioration is obtained, and a structural deterioration value of a target material workpiece is determined according to a crack length set and the numerical calculation formula for structural deterioration.
3. The material detection method based on image processing according to claim 2, It is characterized in that The numerical calculation formula for structural deterioration is: , where M is the structural deterioration value, L is the length value of the crack, and n is the total number of cracks appearing on the surface of the target material workpiece. When n is 0, the structural deterioration value calculation formula is not used to calculate the structural deterioration value of the target material workpiece, and the structural deterioration value of the target material workpiece is directly determined to be 0.
4. The material detection method based on image processing according to claim 1, It is characterized in that The detection line graph is an XY axis type line graph, wherein the X axis represents a preset time length, the Y axis of the detection line graph represents a structural deterioration value, and in the X axis, the interval lengths of adjacent time points are the same.
5. The material detection method based on image processing according to claim 1, It is characterized in that The steps of obtaining a preset standard line graph and comparing the detection line graph with the preset standard line graph in real time to determine whether the target material workpiece meets the standard requirements include: Obtain a preset standard line chart, and compare the detection line chart with the preset standard line chart in real time; Get the time length value T of the structure malignant value greater than 0 in the preset standard line graph and the detection line graph respectively a and T b , and judge T a Subtract T b Whether the difference is greater than a preset threshold; If it is determined that T a Subtract T b If the difference between the target material and the target workpiece is greater than the preset threshold, it is determined that the target material workpiece does not meet the standard requirements. a Subtract T b If the difference is not greater than the preset threshold, it is determined that the target material workpiece meets the standard requirements.
6. The material detection method based on image processing according to claim 5, It is characterized in that If it is determined that the target material workpiece does not meet the standard requirements, the steps of obtaining the degree of change of the slope of the detection line graph relative to the preset standard line graph, and determining the degree of deterioration of the target material workpiece according to the degree of change of the slope include: If it is determined that the target material workpiece does not meet the standard requirements, the first structural deterioration value greater than 0 and the last structural deterioration value in the detection line graph and the preset standard line graph are obtained respectively; Retrieving a slope change degree calculation formula, and calculating the slope change degree of the detection line graph relative to the preset standard line graph according to the slope change degree calculation formula, the first structural malignancy value greater than 0 in the detection line graph and the preset standard line graph, and the last structural malignancy value; The degree of deterioration of the target material workpiece is determined based on the degree of slope change.
7. The material detection method based on image processing according to claim 1, It is characterized in that The calculation formula for the slope change degree is: Where C is the specific value of the slope change, S 检测 To detect the slope value from the first structural malignancy value greater than 0 to the last structural malignancy value in the line graph, S 标准 It is the slope value from the first structural malignancy value greater than 0 to the last structural malignancy value in the preset standard line graph; In the calculation formula for the slope change degree: Among them, M 检测末 To detect the last structural deterioration value in the line graph, M 检测首 To detect the first structural malignancy value greater than 0 in the line graph, t 检测末 is the time value corresponding to the last structural deterioration value, t 检测首 The time value corresponding to the first structural deterioration value greater than 0; Among them, M 标准末 is the last structural deterioration value in the preset standard line chart, M 标准首 is the first structural deterioration value greater than 0 in the preset standard line graph, t 标准末 is the time value corresponding to the last structural deterioration value, t 标准首 It is the time value corresponding to the first structural deterioration value greater than 0.
8. A material detection system based on image processing, It is characterized in that The system comprises: a structural deterioration value acquisition module, a detection line graph generation module, a target material workpiece judgment module and a deterioration degree determination module, wherein: A structural deterioration value acquisition module is used to acquire detection images of the target material workpiece at different time points during a pressure test of applying a critical pressure value to the target material workpiece for a preset time length, and to acquire a structural deterioration value of the target material workpiece based on the detection images of the target material workpiece; A detection line graph generation module is used to generate a detection line graph according to a preset time length of the pressure test and structural deterioration values of the target material workpiece corresponding to different time points; The detection line graph is an XY axis type line graph, wherein the X axis represents a preset time length, the Y axis of the detection line graph represents a structural deterioration value, and in the X axis, the interval lengths of adjacent time points are the same; The target material workpiece judgment module is used to obtain a preset standard line graph and compare the detection line graph with the preset standard line graph in real time to determine whether the target material workpiece meets the standard requirements; The deterioration degree determination module is used to obtain the degree of change in the slope of the detection line graph relative to the preset standard line graph if it is determined that the target material workpiece does not meet the standard requirements, and determine the deterioration degree of the target material workpiece according to the degree of change in the slope.
9. The material detection system based on image processing according to claim 8, It is characterized in that The structural deterioration value acquisition module specifically includes: A detection image acquisition unit, used to acquire detection images of the target material workpiece at different time points during a pressure test of applying a critical pressure value to the target material workpiece for a preset time length; A crack length set acquisition unit is used to acquire the cracks appearing on the surface of the target material workpiece in the detection image and the length value of each crack based on image processing, and collect the length values of all cracks to obtain a crack length set; A structural deterioration numerical calculation unit is used to obtain a structural deterioration numerical calculation formula, and determine a structural deterioration value of a target material workpiece according to a crack length set and the structural deterioration numerical calculation formula; The numerical calculation formula for structural deterioration is: , where M is the structural deterioration value, L is the length value of the crack, and n is the total number of cracks appearing on the surface of the target material workpiece. When n is 0, the structural deterioration value calculation formula is not used to calculate the structural deterioration value of the target material workpiece, and the structural deterioration value of the target material workpiece is directly determined to be 0.
10. The material detection system based on image processing according to claim 9, It is characterized in that The target material workpiece judgment module specifically includes: A line graph comparison unit is used to obtain a preset standard line graph and compare the detection line graph with the preset standard line graph in real time; The difference judgment unit is used to obtain the time length value T of the structure malignant value greater than 0 in the preset standard line graph and the detection line graph respectively. a and T b , and judge T a Subtract T b Whether the difference is greater than a preset threshold; The target material workpiece judgment unit is used to judge if T a Subtract T b If the difference between the target material and the target workpiece is greater than the preset threshold, it is determined that the target material workpiece does not meet the standard requirements. a Subtract T b If the difference is not greater than the preset threshold, it is determined that the target material workpiece meets the standard requirements.
