Defect detection method, device, electronic device and computer readable medium

By using presses and ultrasonic scanning technology in partition board inspection, combined with image processing and defect detection models, the problems of low detection efficiency and difficulty in finding internal defects in the existing technology are solved, and efficient defect detection and structural optimization are achieved.

CN114463282BActive Publication Date: 2024-10-22江苏六道重工有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210037928.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-13
Publication Date
2024-10-22
Estimated Expiration
2042-01-13

AI Technical Summary

Technical Problem

The existing technology is inefficient in detecting defects in partition boards, especially due to the heavy weight of partition boards and the difficulty in detecting internal cracks, which results in a decrease in structural strength and compression resistance.

Method used

A press is used to apply pressure to the partition board, combined with image scanning and ultrasonic scanning, and a pre-trained defect detection model is used to generate defect detection point information to automatically detect defects in the partition board and determine its transmission direction.

Benefits of technology

It improves the efficiency and accuracy of defect detection in partition boards, can effectively detect internal cracks, and ensures structural strength and compression resistance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114463282B_ABST
    Figure CN114463282B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a defect detection method, device, electronic device and computer-readable medium. A specific implementation of the method includes: controlling a press to apply pressure to a partition wall board to be inspected; in response to the pressure value of the applied pressure being the same as the target value, scanning the partition wall board to be inspected to generate a partition wall board image set; performing ultrasonic scanning on the partition wall board to be inspected to generate an ultrasonic signal set; generating a defect detection point information set based on the partition wall board image set, the ultrasonic signal set and a pre-trained defect detection model; in response to determining that there is defect detection point information in the defect detection point information set that indicates that there are defects in the partition wall board to be inspected, controlling the conveying device to change the conveying direction so that the partition wall board to be inspected is conveyed to the waste storage area. This implementation improves the defect detection efficiency and detection accuracy, and ensures the wall structure strength and pressure resistance of the partition wall board.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a defect detection method, device, electronic device, and computer-readable medium. Background Art

[0002] Partition boards refer to prefabricated wall panels used to divide spaces inside buildings. As a part of the wall, partition boards need to have good compressive strength and strong structural strength. Therefore, it is particularly important to perform defect detection on partition boards. At present, the method commonly used for defect detection is to perform defect detection on partition boards manually.

[0003] However, when the above method is used for defect detection, the following technical problems often occur:

[0004] First, multiple sides of the partition board often need to be inspected for defects, but due to the heavy weight of the partition board itself, manual inspection is used one by one, which is inefficient;

[0005] Second, when cracks appear inside the partition board, it often leads to a decrease in the wall structure strength and compressive resistance of the partition board, but defects inside the partition board are often unable to be discovered through manual inspection. Summary of the invention

[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0007] Some embodiments of the present disclosure propose defect detection methods, devices, electronic devices, and computer-readable media to solve one or more of the technical problems mentioned in the above background technology section.

[0008] In a first aspect, some embodiments of the present disclosure provide a defect detection method, the method comprising: in response to signal information indicating the presence of a partition wall board to be detected, controlling a press to apply pressure to the partition wall board to be detected; in response to a pressure value of the applied pressure being the same as a target value, scanning the partition wall board to be detected to generate a partition wall board image set, wherein the partition wall board images in the partition wall board image set are surface images of the partition wall board to be detected; performing ultrasonic scanning on the partition wall board to be detected to generate an ultrasonic signal set; generating a defect detection point information set based on the partition wall board image set, the ultrasonic signal set and a pre-trained defect detection model; in response to determining that there is defect detection point information in the defect detection point information set indicating the presence of defects in the partition wall board to be detected, controlling a conveying device to change the conveying direction so that the partition wall board to be detected is conveyed to a waste storage area.

[0009] Optionally, the method further includes: in response to determining that there is no defect detection point information in the defect detection point information set that characterizes the existence of defects in the partition board to be inspected, obtaining the weight information of the partition board to be inspected; performing image correction on each partition board image in the partition board image set to generate a corrected image and obtain a corrected image set; determining the preset partition board volume information corresponding to the weight information; determining the actual volume information of the partition board to be inspected based on the corrected image in the corrected image set; generating a scaling factor based on the preset partition board volume information and the actual volume information; in response to determining that the scaling factor is not within the preset numerical range, controlling the conveying device to change the conveying direction so that the partition board to be inspected is conveyed to the waste storage area.

[0010] Optionally, the ultrasonic scanning of the partition wall board to be inspected to generate an ultrasonic signal set includes: performing continuous ultrasonic scanning on each surface of the partition wall board to be inspected by an ultrasonic transmitting device to generate ultrasonic signals and obtain the ultrasonic signal set.

[0011] Optionally, the above-mentioned defect detection point information set includes: a first defect detection point information set; and the above-mentioned defect detection point information set is generated according to the above-mentioned partition board image set, the above-mentioned ultrasonic signal set and a pre-trained defect detection model, including: for each ultrasonic signal in the above-mentioned ultrasonic signal set, determining the signal strength and signal measurement position corresponding to the trough in the above-mentioned ultrasonic signal, generating candidate detection point information, and obtaining a candidate detection point information group; filtering out the candidate detection point information whose signal strength meets the filtering conditions from the obtained candidate detection point information group set as the first defect detection point information, and obtaining the above-mentioned first defect detection point information set.

[0012] Optionally, the above-mentioned defect detection point information set also includes: a second defect detection point information set; and the above-mentioned defect detection point information set is generated according to the above-mentioned partition board image set, the above-mentioned ultrasonic signal set and the pre-trained defect detection model, and also includes: performing image enhancement processing on each partition board image in the above-mentioned partition board image set to generate an enhanced image and obtain an enhanced image set; for each enhanced image in the above-mentioned enhanced image set, performing an image exposure adjustment step: determining the overexposed area and the non-overexposed area in the above-mentioned enhanced image; lowering the exposure of the above-mentioned overexposed area, and raising the exposure of the above-mentioned non-overexposed area to generate an exposure adjusted image; performing grayscale processing on each exposure adjusted image in the obtained exposure adjusted image set to generate a grayscale image and obtain a grayscale image set; determining the grayscale image with the largest image size in the above-mentioned grayscale image set as the target image; performing edge padding of each grayscale image in the above-mentioned grayscale image set with zeros according to the image size of the above-mentioned target image to generate a candidate image and obtain a candidate image set; generating the above-mentioned second defect detection point information set according to the above-mentioned candidate image set and the above-mentioned defect detection model.

[0013] Optionally, before the above-mentioned response to the signal information indicating the presence of the partition board to be inspected is detected and the press is controlled to apply pressure to the above-mentioned partition board to be inspected, the above-mentioned method also includes: acquiring a distance measurement signal collected by a distance sensor; in response to determining the first change of the above-mentioned distance measurement signal, determining the real-time distance value when the above-mentioned distance measurement signal changes; in response to determining the second change of the above-mentioned distance measurement signal, determining the time difference between the first change and the second change of the above-mentioned distance measurement signal; determining the target length according to the conveying speed of the above-mentioned conveying device and the above-mentioned time difference; in response to determining that the above-mentioned target length is greater than or equal to the preset length, generating signal information indicating the detection of the presence of the above-mentioned partition board to be inspected.

[0014] Optionally, the above-mentioned defect detection model includes: a local feature extraction network, a global feature extraction network, a feature fusion network and a classification network; and the above-mentioned second defect detection point information set is generated according to the above-mentioned candidate image set and the above-mentioned defect detection model, including: for each candidate image in the above-mentioned candidate image set, the following processing steps are performed: the above-mentioned candidate images are respectively input into the above-mentioned local feature extraction network and the above-mentioned global feature extraction network to generate a local feature information set and a global feature information; the above-mentioned local feature information set and the above-mentioned global feature information are input into the above-mentioned feature fusion network to generate fusion features; the above-mentioned fusion features are input into the above-mentioned classification network to generate second defect detection point information.

[0015] In a second aspect, some embodiments of the present disclosure provide a defect detection device, the device comprising: a control unit, configured to control a press to apply pressure to the partition wall board to be detected in response to signal information indicating the presence of a partition wall board to be detected; a scanning unit, configured to scan the partition wall board to be detected in response to a pressure value of the applied pressure being the same as a target value, so as to generate a set of partition wall board images, wherein the partition wall board images in the partition wall board image set are surface images of the partition wall board to be detected; an ultrasonic scanning unit, configured to perform ultrasonic scanning on the partition wall board to be detected to generate an ultrasonic signal set; a generating unit, configured to generate a defect detection point information set based on the partition wall board image set, the ultrasonic signal set and a pre-trained defect detection model; a control unit, configured to control a conveying device to change a conveying direction in response to determining that there is defect detection point information in the defect detection point information set indicating the presence of a defect in the partition wall board to be detected, so that the partition wall board to be detected is conveyed to a waste storage area.

[0016] Optionally, the above-mentioned device also includes: in response to determining that the defect detection point information representing the existence of defects in the above-mentioned partition wall board to be inspected does not exist in the above-mentioned defect detection point information set, obtaining the weight information of the above-mentioned partition wall board to be inspected; performing image correction on each partition wall board image in the above-mentioned partition wall board image set to generate a corrected image and obtain a corrected image set; determining the preset partition wall board volume information corresponding to the above-mentioned weight information; determining the actual volume information of the above-mentioned partition wall board to be inspected based on the corrected image in the above-mentioned correction image set; generating a scaling factor based on the above-mentioned preset partition wall board volume information and the above-mentioned actual volume information; in response to determining that the above-mentioned scaling factor is not within the preset numerical range, controlling the above-mentioned conveying device to change the conveying direction so that the above-mentioned partition wall board to be inspected is conveyed to the above-mentioned waste storage area.

[0017] Optionally, the ultrasonic scanning unit is further configured to: perform continuous ultrasonic scanning on each surface of the partition board to be inspected by means of an ultrasonic emitting device to generate ultrasonic signals and obtain the ultrasonic signal set.

[0018] Optionally, the above-mentioned defect detection point information set includes: a first defect detection point information set; and the above-mentioned generation unit is further configured to: for each ultrasonic signal in the above-mentioned ultrasonic signal set, determine the signal strength and signal measurement position corresponding to the trough in the above-mentioned ultrasonic signal, generate candidate detection point information, and obtain a candidate detection point information group; filter out the candidate detection point information whose signal strength meets the filtering conditions from the obtained candidate detection point information group set as the first defect detection point information, and obtain the above-mentioned first defect detection point information set.

[0019] Optionally, the above-mentioned defect detection point information set also includes: a second defect detection point information set; and the above-mentioned generation unit is further configured to: perform image enhancement processing on each partition board image in the above-mentioned partition board image set to generate an enhanced image and obtain an enhanced image set; for each enhanced image in the above-mentioned enhanced image set, perform an image exposure adjustment step: determine the overexposed area and the non-overexposed area in the above-mentioned enhanced image; lower the exposure of the above-mentioned overexposed area, and increase the exposure of the above-mentioned non-overexposed area to generate an exposure adjusted image; perform grayscale processing on each exposure adjusted image in the obtained exposure adjusted image set to generate a grayscale image and obtain a grayscale image set; determine the grayscale image with the largest image size in the above-mentioned grayscale image set as the target image; according to the image size of the above-mentioned target image, perform edge padding with 0 on each grayscale image in the above-mentioned grayscale image set to generate a candidate image and obtain a candidate image set; generate the above-mentioned second defect detection point information set based on the above-mentioned candidate image set and the above-mentioned defect detection model.

[0020] Optionally, before the above-mentioned device controls the press to apply pressure to the partition board to be inspected in response to the signal information indicating the presence of the partition board to be inspected, the device also includes: acquiring a distance measurement signal collected by a distance sensor; in response to determining the first change of the distance measurement signal, determining a real-time distance value when the distance measurement signal changes; in response to determining the second change of the distance measurement signal, determining a time difference between the first change and the second change of the distance measurement signal; determining a target length based on the conveying speed of the conveying device and the time difference; in response to determining that the target length is greater than or equal to a preset length, generating signal information indicating the presence of the partition board to be inspected.

[0021] Optionally, the above-mentioned defect detection model includes: a local feature extraction network, a global feature extraction network, a feature fusion network and a classification network; and the above-mentioned generation unit is further configured to: for each candidate image in the above-mentioned candidate image set, perform the following processing steps: input the above-mentioned candidate image into the above-mentioned local feature extraction network and the above-mentioned global feature extraction network respectively to generate a local feature information set and a global feature information; input the above-mentioned local feature information set and the above-mentioned global feature information into the above-mentioned feature fusion network to generate fused features; input the above-mentioned fused features into the above-mentioned classification network to generate second defect detection point information.

[0022] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0023] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0024] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the defect detection method of some embodiments of the present disclosure, the detection efficiency of the defect detection of the partition board is improved, and the cracks inside the partition board can be well detected, ensuring the wall structure strength and compressive resistance of the partition board that passes the defect detection. Specifically, the reasons for the low detection efficiency and the inability to find the cracks inside the partition board are: first, the multiple sides of the partition board often need to be defect-detected, but due to the large weight of the partition board itself, the detection efficiency is low if they are detected one by one manually. Second, when cracks appear inside the partition board, the wall structure strength and compressive resistance of the partition board are often reduced, but the defects inside the partition board are often not found by manual detection. Based on this, the defect detection method of some embodiments of the present disclosure, first, in response to the signal information characterization that there is a partition board to be detected, the press is controlled to apply pressure to the partition board to be detected. In actual situations, since the partition board needs to have a certain compressive resistance, the press is used to apply pressure to the partition board to be detected to determine the compressive resistance of the partition board to be detected. Secondly, in response to the pressure value of the applied pressure being the same as the target value, the partition board to be inspected is scanned to generate a partition board image set, wherein the partition board image in the partition board image set is a surface image of the partition board to be inspected. When the pressure resistance of the partition board to be inspected meets the requirements, all images of the side of the partition board are collected. By collecting images, the detection efficiency is greatly improved compared with the manual detection method one by one. Then, the partition board to be inspected is ultrasonically scanned to generate an ultrasonic signal set. Through ultrasonic flaw detection, cracks inside the partition board to be inspected can be accurately found according to the ultrasonic signal. Then, a defect detection point information set is generated according to the partition board image set, the ultrasonic signal set and the pre-trained defect detection model. Finally, in response to determining that there is defect detection point information in the defect detection point information set that indicates that the partition board to be inspected has defects, the conveying device is controlled to change the conveying direction so that the partition board to be inspected is conveyed to the waste storage area. In this way, automatic detection of partition board defects is achieved, greatly improving the detection efficiency. At the same time, it can also detect defects inside the partition board, solving the problem that manual inspection cannot find defects inside the partition board, and ensuring the wall structure strength and compressive resistance of the tested partition board. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0026] Figure 1 is a schematic diagram of an application scenario of the defect detection method of some embodiments of the present disclosure;

[0027] Figure 2 is a flow chart of some embodiments of the defect detection method according to the present disclosure;

[0028] Figure 3 are flow charts of other embodiments of the defect detection method according to the present disclosure;

[0029] Figure 4 is a schematic diagram of a distance measurement signal;

[0030] Figure 5 is a schematic structural diagram of some embodiments of a defect detection device according to the present disclosure;

[0031] Figure 6 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0032] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0033] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0034] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0035] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0036] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0037] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0038] Figure 1 It is a schematic diagram of an application scenario of the defect detection method of some embodiments of the present disclosure.

[0039] exist Figure 1 In the application scenario, firstly, the computing device 101 can control the press to apply pressure to the partition wall board 102 to be detected in response to the signal information characterizing the presence of the partition wall board 102 to be detected; secondly, the computing device 101 can scan the partition wall board 102 to be detected in response to the pressure value of the applied pressure being the same as the target value, so as to generate a partition wall board image set 103, wherein the partition wall board images in the partition wall board image set 103 are surface images of the partition wall board 102 to be detected; then, the computing device 101 can perform surface scanning on the partition wall board 102 to be detected. Perform ultrasonic scanning to generate an ultrasonic signal set 104; then, the computing device 101 can generate a defect detection point information set 106 based on the above-mentioned partition board image set 103, the above-mentioned ultrasonic signal set 104 and the pre-trained defect detection model 105; finally, the computing device 101 can control the conveying device to change the conveying direction in response to determining that the above-mentioned defect detection point information set 106 contains defect detection point information that represents the existence of defects in the above-mentioned partition board 102 to be inspected, so that the above-mentioned partition board 102 to be inspected is conveyed to the waste storage area 107.

[0040] It should be noted that the computing device 101 can be hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device. When the computing device is embodied as software, it can be installed in the hardware devices listed above. It can be implemented as multiple software or software modules for providing distributed services, or as a single software or software module. No specific limitation is made here.

[0041] It should be understood that Figure 1 The number of computing devices in the embodiment is only illustrative. Any number of computing devices may be provided according to implementation requirements.

[0042] Continue to refer Figure 2 , shows a process 200 of some embodiments of the defect detection method according to the present disclosure. The defect detection method comprises the following steps:

[0043] Step 201 , in response to the signal information indicating that there is a partition wall plate to be inspected, controlling a press machine to apply pressure to the partition wall plate to be inspected.

[0044] In some embodiments, the execution subject of the defect detection method (eg Figure 1 The computing device 101 shown in the figure can control the press to apply pressure to the partition wall board to be detected in response to the signal information indicating the presence of the partition wall board to be detected. The signal information can be information indicating whether there is a partition wall board to be detected. The signal information can be information generated based on the distance value collected by the distance sensor. The partition wall board to be detected can be a partition wall board to be detected for defects. The press can be a machine that applies pressure to the partition wall board to be detected. The execution entity can send a pressure signal to the press to control the press to apply pressure to the partition wall board to be detected.

[0045] As an example, when the execution subject detects that the distance value collected by the distance sensor changes, it can be determined that there is a partition wall to be detected, so as to generate signal information indicating that the partition wall to be detected exists. In actual situations, the collection angle of the distance sensor is fixed. When there is an object in the distance sensor signal collection direction, the collected distance value will change, so it can be used to determine whether there is a partition wall to be detected.

[0046] Step 202 : in response to the pressure value of the applied pressure being the same as the target value, scanning the partition wall board to be inspected to generate a set of partition wall board images.

[0047] In some embodiments, the execution subject may scan the partition wall board to be detected in response to the pressure value of the applied pressure being the same as the target value to generate a set of partition wall board images. The partition wall board images in the set of partition wall board images may be surface images of the partition wall board to be detected. The target value may be the maximum pressure value that the partition wall board to be detected should withstand. The execution subject may scan the partition wall board to be detected through a camera to generate the set of partition wall board images.

[0048] Step 203: perform ultrasonic scanning on the partition wall panel to be inspected to generate an ultrasonic signal set.

[0049] In some embodiments, the execution subject may perform ultrasonic scanning on the partition wall to be inspected through an ultrasonic transmitting device to generate the ultrasonic signal set. The execution subject may control the ultrasonic transmitting device to perform ultrasonic scanning on each surface of the partition wall to be inspected to generate ultrasonic signals and obtain the ultrasonic signal set.

[0050] Step 204, generating a defect detection point information set based on the partition board image set, the ultrasonic signal set and the pre-trained defect detection model.

[0051] In some embodiments, the execution subject may generate the defect detection point information set according to the partition board image set, the ultrasonic signal set and the pre-trained defect detection model. The defect detection point information in the defect detection point information set may be information corresponding to the defect points existing on the partition board to be detected. For example, the defect detection point information in the defect detection point information set may include: defect point location and defect level. The defect point location may characterize the location of the defect point corresponding to the defect detection point information. The defect level may characterize the degree of defect of the defect point corresponding to the defect detection point information. The defect detection model may include: an image feature extraction network, a signal feature extraction network, a feature fusion network and a classification layer. The image feature extraction network is used to extract the image features of the partition board images in the partition board image set. The signal feature extraction network may be used to extract the signal features of the ultrasonic signals in the ultrasonic signal set. The feature fusion network is used to fuse the image features extracted by the image feature extraction network and the signal features extracted by the signal feature extraction network to generate fusion features.

[0052] As an example, the above-mentioned image feature extraction network can be but not limited to any of the following: RCNN (RegionBased Convolutional Neural Networks) model and VGG-32 network model. The above-mentioned signal feature extraction network can be a VGG-16 network model. The above-mentioned feature fusion network can be an LSTM (Long Short Term Memory) model. The defect detection point information in the above-mentioned defect detection point information set can be {defect point location: [A surface, (34, 78)]; defect level: 3}. Among them, the defect level "3" can indicate that the above-mentioned partition board to be detected has defects.

[0053] Step 205 , in response to determining that the defect detection point information set contains defect detection point information indicating that the partition wall board to be inspected has defects, controlling the conveying device to change the conveying direction so that the partition wall board to be inspected is conveyed to the waste storage area.

[0054] In some embodiments, the execution subject may control the conveying device to change the conveying direction in response to determining that there is defect detection point information in the defect detection point information set that indicates that the partition wall board to be inspected has defects, so that the partition wall board to be inspected is conveyed to the waste storage area. The conveying device may be a device for conveying the partition wall board to be inspected. For example, the conveying device may be a transmission device with rollers. The waste storage area may be an area for storing defective partition wall boards. The execution subject may send a direction control instruction to the conveying device to control the conveying device to change the conveying direction.

[0055] As an example, the execution subject may determine whether there is defect detection point information indicating that the partition wall board to be inspected has defects according to the defect level included in the defect detection point information in the defect detection point information set. For example, when there is defect detection point information including a defect level greater than a preset level in the defect detection point information set, it can be considered that there is defect detection point information indicating that the partition wall board to be inspected has defects in the defect detection point information set. The preset level may be set manually.

[0056] Optionally, the molar ratio of the matrix of the above-mentioned partition board to be tested can be: MgO: MgSO4·7H2O: H2O = 21:1:12. The matrix of the above-mentioned partition board to be tested uses 0.5% citric acid as an admixture. The above-mentioned partition board to be tested uses MgSO4·7H2O as a blending agent for light-burned MgO material to replace MgCl2 to make the above-mentioned partition board to be tested. Magnesium oxysulfate cement has good fire resistance and heat resistance. At the same time, magnesium oxysulfate cement has low density and thermal conductivity, and strong bonding strength with other materials. Therefore, it is very suitable as a raw material for lightweight partition boards.

[0057] The steps for determining the molar ratio of the matrix of the partition board to be tested are as follows:

[0058] The first step is to prepare magnesium oxysulfide solution.

[0059] Among them, since the saturated solubility of magnesium oxysulfide at room temperature 25°C is only 36.42g, when the molar ratio of H2O to MgSO4·7H2O is ≤11.3, MgSO4·7H2O cannot be completely dissolved at room temperature. Therefore, the molar ratio of H2O to MgSO4·7H2O in the present disclosure is 12, and the magnesium oxysulfide solution is prepared.

[0060] In the second step, the magnesium oxysulfide solution is added into the weighed magnesium oxide powder in two portions.

[0061] The method comprises the following steps: firstly, adding 80% of the magnesium oxysulfide solution, stirring the mixture at a low speed until the mixture is subjected to viscosity resistance, and then adding the remaining 20% ​​of the magnesium oxysulfide solution, stirring the mixture rapidly to obtain magnesium oxysulfide cement slurry with uniform quality.

[0062] The third step is to determine the strength of the magnesium oxysulfate slurry.

[0063] First, the strength of the magnesium oxysulfate slurry was injected into a triple mold with a size of 40mm×40mm×160mm, and then vibrated on a vibration table for 60 seconds to remove bubbles and smooth it. Then, it was placed in a room with a temperature of (20±2)℃ and sealed for one day before demolding. Then, it was naturally cured indoors to the corresponding age, and the strength of the magnesium oxysulfate cement was measured.

[0064] The fourth step is to add different concentrations of magnesium oxysulfide solution under the condition of keeping the magnesium oxide dosage unchanged, and measure the strength of the generated magnesium oxysulfide slurry.

[0065] For example, the mass ratio of MgO:MgSO4·7H2O:H2O:MgO:MgSO4·7H2O:H2O is: 21:1:12:100:29.29:25.71.

[0066] For example, the mass ratio of MgO:MgSO4·7H2O:H2O:MgO:MgSO4·7H2O:H2O is: 21:1:15:100:29.29:32.14.

[0067] For another example, the mass ratio of MgO:MgSO4·7H2O:H2O:MgO:MgSO4·7H2O:H2O is: 21:1:18:100:29.29:38.57.

[0068] Step 5: Determine the molar ratio of MgO:MgSO4·7H2O:H2O.

[0069] According to the test results of the fourth and fifth steps, the molar ratio of MgO:MgSO4·7H2O:H2O is determined to be 21:1:12.

[0070] The sixth step is to generate magnesium oxysulfide gelling material slurry.

[0071] 0.5% of citric acid, 1.5% of trisodium citrate, and 2.5% of boric acid, accounting for 0.5% of the mass of magnesium oxide, were used as candidate admixtures, and magnesium oxysulfate cement with a molar ratio of MgO:MgSO4·7H2O:H2O of 21:1:12 was used to prepare magnesium oxysulfate cementitious material slurry.

[0072] The seventh step is to conduct strength tests on the various magnesium oxysulfide cementitious material slurries obtained.

[0073] Among them, each of the multiple magnesium oxysulfide gelling material slurries was tested for 1 day, 3 days, 7 days and 28 days by using a folding and pressing machine to determine the flexural strength of each of the multiple magnesium oxysulfide gelling material slurries.

[0074] As an example, the strength of magnesium oxysulfate cement without admixtures at 1 day, 3 days, 7 days and 28 days are 12.5 MPa, 22.17 MPa, 30.7 MPa and 58.1 MPa respectively.

[0075] When 0.5% citric acid is used as an admixture, the strengths of magnesium oxysulfate cement at 1 day, 3 days, 7 days and 28 days are 69.8 MPa, 74 MPa, 96.4 MPa and 119 MPa respectively.

[0076] When the dosage of trisodium citrate is 2.5%, the strength of magnesium oxysulfate cement at 1 day, 3 days, 7 days and 28 days are 25MPa, 47MPa, 58MPa and 98.3MPa respectively.

[0077] When the addition amount of boric acid is 0.5%, the strength of magnesium oxysulfate cement at 1 day, 3 days, 7 days and 28 days are 24MPa, 33.1MPa, 45.6MPa and 82.2MPa respectively.

[0078] In summary, the strength of magnesium oxysulfate cement is the highest when the amount of citric acid as an admixture is 0.5%.

[0079] In the eighth step, a drying shrinkage test is performed on the obtained various magnesium oxysulfide gelling material slurries.

[0080] Among them, a drying test was carried out on the various magnesium oxysulfide gelling material slurries obtained by using a drying shrinkage instrument. Among them, the specimen size is 25mm×25mm×280mm, and after one day of natural curing, the test length is taken as the initial length. The magnesium oxysulfide gelling material slurry contained in the specimen is then moved into a drying shrinkage chamber, wherein the temperature of the drying shrinkage chamber is 20±2°C and the relative humidity is 60±5%. The length of the magnesium oxysulfide gelling material slurry contained in the specimen was tested at 1 day, 3 days, 7 days, 14 days, 28 days and 45 days respectively to determine the shrinkage rate of the magnesium oxysulfide gelling material slurry. The shrinkage rate calculation formula is as follows:

[0081]

[0082] Where, ε represents the shrinkage rate. L0 represents the initial length of the magnesium oxysulfide cementitious material slurry. L t It represents the length of magnesium oxysulfide cementitious material slurry measured on the tth day. s Indicates standard length, where the standard length is 280mm.

[0083] As an example, the drying shrinkage value of magnesium oxysulfate cement without admixtures at 28 days is: 5881.25um / m.

[0084] When citric acid is used as an admixture in amounts of 0.5%, 1.5% and 2.5% respectively, the drying shrinkage values ​​of magnesium oxysulfate cement at 28 days are 3951.7um / m, 4189.3um / m and 4378.9um / m respectively.

[0085] When the dosage of trisodium citrate is 0.5%, 1.5% and 2.5% respectively, the drying shrinkage values ​​of magnesium oxysulfate cement at 28 days are 4689.5um / m, 4463.2um / m and 4395.6um / m respectively.

[0086] When the boric acid dosage is 0.5%, 1.5% and 2.5% respectively, the drying shrinkage values ​​of magnesium oxysulfate cement at 28 days are 4865.3um / m, 4702.3um / m and 4756.9um / m respectively.

[0087] In summary, magnesium oxysulfate cement has the best shrinkage resistance when 0.5% citric acid is used as an admixture.

[0088] The ninth step is to conduct water resistance test on the various magnesium oxysulfide gelling material slurries obtained.

[0089] Among them, after curing the obtained multiple magnesium oxysulfide gelling material slurries for 28 days, the initial compressive strength of each of the obtained multiple magnesium oxysulfide gelling material slurries is measured. Then the obtained multiple magnesium oxysulfide gelling material slurries are placed in water and soaked for 28 days. The current compressive strength of each of the obtained multiple magnesium oxysulfide gelling material slurries is measured by wiping off the surface moisture with a towel, and the water softening coefficient of the magnesium oxysulfide gelling material slurry is determined. The calculation formula of the water softening coefficient is as follows:

[0090]

[0091] Wherein, K represents the water softening coefficient. R0 represents the initial compressive strength of magnesium oxysulfide cementitious material slurry. e Indicates the current compressive strength of magnesium oxysulfate cementitious material slurry.

[0092] As an example, the water softening coefficient of magnesium oxysulfate cement without admixtures at 28 days is 0.55.

[0093] When citric acid is used as an admixture in amounts of 0.5%, 1.5% and 2.5%, the water softening coefficients of magnesium oxysulfate cement after 28 days are 0.886, 0.879 and 0.634, respectively.

[0094] When the dosage of trisodium citrate is 0.5%, 1.5% and 2.5% respectively, the water softening coefficient of magnesium oxysulfate cement after 28 days is 0.56, 0.675 and 0.861 respectively.

[0095] When the boric acid dosage is 0.5%, 1.5% and 2.5%, the water softening coefficient of magnesium oxysulfate cement after 28 days is 0.737, 0.67 and 0.668 respectively.

[0096] In summary, magnesium oxysulfate cement has the best water resistance when 0.5% citric acid is used as an admixture.

[0097] Step 10: Determine the admixture.

[0098] In summary, according to the test results of steps 7 to 9, citric acid with a dosage of 0.5% is selected as the admixture.

[0099] It can be concluded that the molar ratio of the matrix of the partition board to be tested can be: MgO: MgSO4·7H2O: H2O = 21:1:12. The matrix of the partition board to be tested has 0.5% citric acid as an additive. The partition board obtained has good structural strength and compressive resistance.

[0100] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the defect detection method of some embodiments of the present disclosure, the detection efficiency of the defect detection of the partition board is improved, and the cracks inside the partition board can be well detected, ensuring the wall structure strength and compressive resistance of the partition board that passes the defect detection. Specifically, the reasons for the low detection efficiency and the inability to find the cracks inside the partition board are: first, the multiple sides of the partition board often need to be defect-detected, but due to the large weight of the partition board itself, the detection efficiency is low if they are detected one by one manually. Second, when cracks appear inside the partition board, the wall structure strength and compressive resistance of the partition board are often reduced, but the defects inside the partition board are often not found by manual detection. Based on this, the defect detection method of some embodiments of the present disclosure, first, in response to the signal information characterization that there is a partition board to be detected, the press is controlled to apply pressure to the partition board to be detected. In actual situations, since the partition board needs to have a certain compressive resistance, the press is used to apply pressure to the partition board to be detected to determine the compressive resistance of the partition board to be detected. Secondly, in response to the pressure value of the applied pressure being the same as the target value, the partition board to be inspected is scanned to generate a partition board image set, wherein the partition board image in the partition board image set is a surface image of the partition board to be inspected. When the pressure resistance of the partition board to be inspected meets the requirements, all images of the side of the partition board are collected. By collecting images, the detection efficiency is greatly improved compared with the manual detection method one by one. Then, the partition board to be inspected is ultrasonically scanned to generate an ultrasonic signal set. Through ultrasonic flaw detection, cracks inside the partition board to be inspected can be accurately found according to the ultrasonic signal. Then, a defect detection point information set is generated according to the partition board image set, the ultrasonic signal set and the pre-trained defect detection model. Finally, in response to determining that there is defect detection point information in the defect detection point information set that indicates that the partition board to be inspected has defects, the conveying device is controlled to change the conveying direction so that the partition board to be inspected is conveyed to the waste storage area. In this way, automatic detection of partition board defects is achieved, greatly improving the detection efficiency. At the same time, it can also detect defects inside the partition board, solving the problem that manual inspection cannot find defects inside the partition board, and ensuring the wall structure strength and compressive resistance of the tested partition board.

[0101] Further references Figure 3 , which shows a process 300 of another embodiment of a defect detection method. The process 300 of the defect detection method includes the following steps:

[0102] Step 301: Acquire a distance measurement signal collected by a distance sensor.

[0103] In some embodiments, the execution subject of the defect detection method (eg Figure 1 The computing device 101 shown can obtain the distance measurement signal collected by the above distance sensor through a wired connection or a wireless connection. The position of the above distance sensor and the signal collection direction are fixed. When an object appears in the direction of the above distance sensor signal collection, the collected distance measurement signal will change.

[0104] Step 302: In response to determining that the distance measurement signal changes for the first time, determine a real-time distance value when the distance measurement signal changes.

[0105] In some embodiments, the execution entity may determine the real-time distance value when the distance measurement signal changes in response to determining that the distance measurement signal changes for the first time.

[0106] As an example, Figure 4 Schematic diagram of the distance measurement signal shown, where Figure 4 The distance measurement signal 401 and the real-time distance value 402 when the distance measurement signal 401 changes for the first time may be shown.

[0107] Step 303: in response to determining that the distance measurement signal changes for the second time, determine a time difference between the first change and the second change of the distance measurement signal.

[0108] In some embodiments, the execution entity may determine a time difference between a first change and a second change of the distance measurement signal in response to determining that the distance measurement signal changes for the second time.

[0109] As an example, Figure 4 As shown, the real-time distance value 403 when the distance measurement signal 401 changes for the second time is shown. The execution subject may determine the time difference between the real-time distance value 402 when the first change occurs and the real-time distance value 403 when the second change occurs as the time difference value.

[0110] Step 304, determining the target length according to the transmission speed of the transmission device and the time difference.

[0111] In some embodiments, the execution subject may determine the target length according to the transmission speed of the transmission device and the time difference. The target length may be the length of the partition board to be detected. The execution subject may determine the target length according to the transmission speed of the transmission device and the time difference by the following formula:

[0112] S=Vt

[0113] Wherein, S represents the target length, V represents the transmission speed, and t represents the time difference.

[0114] Step 305 : In response to determining that the target length is greater than or equal to the preset length, generating signal information indicating that the existence of the partition wall board to be inspected is detected.

[0115] In some embodiments, the execution subject may generate signal information indicating that the existence of the partition wall to be detected is detected in response to determining that the target length is greater than or equal to the preset length. The preset length may be manually set.

[0116] Step 306 , in response to the signal information indicating that there is a partition wall plate to be inspected, controlling the press machine to apply pressure to the partition wall plate to be inspected.

[0117] Step 307 : in response to the pressure value of the applied pressure being the same as the target value, scanning the partition wall board to be inspected to generate a set of partition wall board images.

[0118] In some embodiments, the specific implementation of steps 306-307 and the technical effects brought about can be referred to Figure 2 The corresponding steps 201-202 in the embodiments are not described in detail here.

[0119] Step 308: Use an ultrasonic transmitting device to perform continuous ultrasonic scanning on each surface of the partition wall plate to be inspected, so as to generate an ultrasonic signal and obtain an ultrasonic signal set.

[0120] In some embodiments, the execution subject may perform continuous ultrasonic scanning on each surface of the partition board to be inspected through the ultrasonic emitting device to generate ultrasonic signals and obtain the ultrasonic signal set. The ultrasonic emitting device may be a device capable of emitting ultrasonic waves. For example, the ultrasonic emitting device may be an ultrasonic detector.

[0121] Step 309, generating a defect detection point information set according to the partition board image set, the ultrasonic signal set and the pre-trained defect detection model.

[0122] In some embodiments, the execution subject may generate the defect detection point information set according to the partition board image set, the ultrasonic signal set and the pre-trained defect detection model. The defect detection point information set may include: a first defect detection point information set and a second defect detection point information set. The execution subject may generate the defect detection point information set according to the partition board image set, the ultrasonic signal set and the pre-trained defect detection model, which may include the following steps:

[0123] In the first step, for each ultrasonic signal in the ultrasonic signal set, the signal strength and signal measurement position corresponding to the trough in the ultrasonic signal are determined, candidate detection point information is generated, and a candidate detection point information group is obtained.

[0124] The candidate detection point information in the candidate detection information group may include: signal strength and signal measurement position. The signal strength may represent the echo value of the ultrasonic signal when the signal is unknown.

[0125] In the second step, candidate detection point information including signal strength that meets the screening conditions is screened out from the obtained candidate detection point information group set as the first defect detection point information to obtain the above-mentioned first defect detection point information set.

[0126] The screening condition is: the signal strength is less than the target signal strength. The target signal strength may be a preset signal strength.

[0127] The third step is to perform image enhancement processing on each partition board image in the partition board image set to generate an enhanced image and obtain an enhanced image set.

[0128] The execution subject may enhance the partition board image by an image enhancement algorithm to generate an enhanced image. The image enhancement algorithm may be, but is not limited to, any one of the following: a histogram enhancement algorithm, a mean filter algorithm, and a median filter algorithm.

[0129] Step 4: For each enhanced image in the enhanced image set, perform the image exposure adjustment step:

[0130] The first sub-step is to determine the overexposed area and the non-overexposed area in the enhanced image.

[0131] The overexposed area may be an area in the enhanced image that is overexposed. The non-overexposed area may be an area in the enhanced image that is not overexposed. The execution subject may determine the overexposed area and the non-overexposed area according to the exposure of the enhanced image.

[0132] The second sub-step is to lower the exposure of the overexposed area and increase the exposure of the non-overexposed area to generate an exposure-adjusted image.

[0133] In the fifth step, each exposure-adjusted image in the obtained exposure-adjusted image set is gray-scaled to generate a gray-scale image, thereby obtaining a gray-scale image set.

[0134] The execution subject may grayscale the exposure-adjusted image using a grayscale algorithm, which may include but is not limited to any one of the following: a maximum grayscale algorithm, an average grayscale algorithm, and a weighted average grayscale algorithm.

[0135] In the sixth step, the grayscale image with the largest image size in the above grayscale image set is determined as the target image.

[0136] The execution subject may select a grayscale image with the largest size from the grayscale image set as the target image.

[0137] In the seventh step, according to the image size of the target image, each grayscale image in the grayscale image set is padded with zeros at the edge to generate a candidate image, thereby obtaining a candidate image set.

[0138] The image size of the candidate images in the candidate image set is consistent with the image size of the target image.

[0139] In the eighth step, the second defect detection point information set is generated based on the candidate image set and the defect detection model.

[0140] The execution subject may input each candidate image in the candidate image set into the defect detection model to obtain at least one second defect detection point information to obtain the second defect detection point information set. The defect detection model may be an LSTM model.

[0141] Optionally, the defect detection model may include: a local feature extraction network, a global feature extraction network, a feature fusion network and a classification network. The local feature extraction network may be a network for extracting local features from a candidate image. The global feature extraction network may be a network for extracting global features from a candidate image. The feature fusion network may be a network for fusing local features extracted by the local feature extraction network and global features extracted by the global feature extraction network.

[0142] Optionally, the execution subject generates the second defect detection point information set according to the candidate image set and the defect detection model, which may include the following steps:

[0143] In the first step, for each candidate image in the above candidate image set, perform the following processing steps:

[0144] In the first sub-step, the candidate images are input into the local feature extraction network and the global feature extraction network respectively to generate a local feature information set and a global feature information set.

[0145] The local feature information in the local feature information set may represent local features in the candidate image collected under a small perception field of view, and the global feature information may represent global features in the candidate image collected under a global perception field of view.

[0146] As an example, the local feature extraction network may be a Fast RCNN (Fast Regions with Convolutional Neural Network) model. The global feature extraction network may be a ResNet (residual neural network) model.

[0147] The second sub-step is to input the above-mentioned local feature information set and the above-mentioned global feature information into the above-mentioned feature fusion network to generate a fusion feature.

[0148] As an example, the feature fusion network may be Attention-YOLO (Attention-You Only LookOnce, a feature fusion network based on an attention mechanism).

[0149] The third sub-step is to input the above fusion features into the above classification network to generate second defect detection point information.

[0150] Step 310, in response to determining that the defect detection point information set contains defect detection point information indicating that the partition wall board to be inspected has defects, controlling the conveying device to change the conveying direction so that the partition wall board to be inspected is conveyed to the waste storage area.

[0151] In some embodiments, the specific implementation of step 310 and the technical effects brought about can be referred to Figure 2 The corresponding step 205 in the embodiments will not be described in detail here.

[0152] Optionally, the following steps may also be included:

[0153] The first step is to obtain the weight information of the partition wall board to be inspected in response to determining that the defect detection point information set does not contain the defect detection point information indicating that the partition wall board to be inspected has defects.

[0154] The execution subject may obtain the weight information of the partition board to be detected collected by the pressure sensor through a wired connection or a wireless connection.

[0155] In the second step, image correction is performed on each partition board image in the partition board image set to generate a corrected image, thereby obtaining a corrected image set.

[0156] As an example, first, the execution subject may determine the tilt angle of the partition board image by using the Hough transform algorithm, and then, the execution subject may perform a pseudo-mapping transformation on the partition board image according to the tilt angle to generate a corrected image set.

[0157] The third step is to determine the preset partition board volume information corresponding to the above weight information.

[0158] The preset partition wall board volume information may represent the preset partition wall board volume corresponding to the weight information. The execution subject may determine the preset partition wall board volume information corresponding to the weight information by querying the target database.

[0159] The fourth step is to determine the actual volume information of the partition board to be inspected based on the corrected images in the corrected image set.

[0160] Among them, first, the execution subject can determine the length, width and height of the partition board to be inspected based on the corrected image collected from the main view perspective, the corrected image collected from the top view perspective and the corrected image collected from the left view perspective. Then, the execution subject can determine the actual volume information based on the length, height and width.

[0161] The fifth step is to generate a scaling factor based on the preset partition board volume information and the actual volume information.

[0162] The execution entity may determine the ratio of the volume value represented by the actual volume information to the volume value represented by the preset partition wall volume information as the scaling factor.

[0163] Step 6: In response to determining that the scaling factor is not within a preset value range, control the conveying device to change the conveying direction so that the partition wall board to be inspected is conveyed to the waste storage area.

[0164] The above-mentioned preset numerical range may be the allowable shrinkage range of the partition board.

[0165] from Figure 3 It can be seen that Figure 2Compared with the description of some corresponding embodiments, the present disclosure firstly adds the step of generating the first defect detection point information set. In actual situations, when there are cracks or cavities inside the partition board, the signal strength reflected by the ultrasonic wave will be weakened. Therefore, the position where the defect may exist can be screened out by determining the signal strength of the trough position of the ultrasonic signal and the signal detection position. In addition, smaller cracks may not affect the structural strength of the partition board. Therefore, the screening is performed through the screening conditions to generate the above-mentioned first defect detection point information set. In this way, the filtering of small defects and the precise positioning of larger defects are achieved. Secondly, considering that the light intensity has a greater impact on the image quality, the image enhancement and the image exposure adjustment steps are added to reduce the impact of the light intensity on the image quality. At the same time, the partition board image is preprocessed by image completion to ensure that the input specifications of the defect detection model are consistent. Then, since it is necessary to apply pressure to the partition board to be detected, it is necessary to accurately determine whether there is a partition board to be detected in order to ensure safety. Therefore, the present disclosure determines the time difference between the first change and the second change of the distance measurement signal, and determines the target length according to the transmission speed of the above-mentioned transmission device and the above-mentioned time difference. When the target length is similar to the length of the partition board, it can be considered that there is a partition board to be detected. In this way, the safety of the defect detection process is greatly improved. Then, the image features in the candidate images under different perception fields are extracted through the local feature extraction network and the global feature extraction network, which greatly improves the accuracy of defect positioning. Finally, considering that the shrinkage of the partition board will also affect the structural strength of the partition board. At the same time, considering that the image shooting angle and the distortion of the camera lens may cause the image to be tilted, the partition board image is corrected by image correction. Then, the actual volume of the partition board to be detected is determined according to the corrected image. By comparing the actual volume with the standard volume, the shrinkage of the partition board to be detected is determined. In this way, the efficiency and accuracy of defect detection are greatly improved, and the structural strength and compressive strength of the partition board to be detected after defect detection are guaranteed.

[0166] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a defect detection device. These device embodiments are similar to Figure 2 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.

[0167] like Figure 5As shown, the defect detection device 500 of some embodiments includes: a control unit 501, a scanning unit 502, an ultrasonic scanning unit 503, a generating unit 504 and a control unit 505, wherein the control unit 501 is configured to control a press to apply pressure to the partition wall board to be detected in response to the signal information indicating that there is a partition wall board to be detected; the scanning unit 502 is configured to scan the partition wall board to be detected in response to the pressure value of the applied pressure being the same as the target value, so as to generate a partition wall board image set, wherein the partition wall board image in the partition wall board image set is the partition wall board to be detected. a surface image of a partition board; an ultrasonic scanning unit 503, configured to perform ultrasonic scanning on the partition board to be inspected to generate an ultrasonic signal set; a generating unit 504, configured to generate a defect detection point information set according to the partition board image set, the ultrasonic signal set and a pre-trained defect detection model; a control unit 505, configured to control the conveying device to change the conveying direction in response to determining that there is defect detection point information in the defect detection point information set that represents defects in the partition board to be inspected, so that the partition board to be inspected is conveyed to the waste storage area.

[0168] In some optional implementations of some embodiments, the above-mentioned device 500 also includes: in response to determining that the defect detection point information set does not contain defect detection point information that characterizes the existence of defects in the above-mentioned partition wall board to be inspected, obtaining the weight information of the above-mentioned partition wall board to be inspected; performing image correction on each partition wall board image in the above-mentioned partition wall board image set to generate a corrected image and obtain a corrected image set; determining the preset partition wall board volume information corresponding to the above-mentioned weight information; determining the actual volume information of the above-mentioned partition wall board to be inspected based on the corrected image in the above-mentioned correction image set; generating a scaling factor based on the above-mentioned preset partition wall board volume information and the above-mentioned actual volume information; in response to determining that the above-mentioned scaling factor is not within the preset numerical range, controlling the above-mentioned conveying device to change the conveying direction so that the above-mentioned partition wall board to be inspected is conveyed to the above-mentioned waste storage area.

[0169] In some optional implementations of some embodiments, the ultrasonic scanning unit 503 is further configured to: perform continuous ultrasonic scanning on each surface of the partition board to be inspected through an ultrasonic transmitting device to generate an ultrasonic signal to obtain the ultrasonic signal set.

[0170] In some optional implementations of some embodiments, the above-mentioned defect detection point information set includes: a first defect detection point information set; and the above-mentioned generation unit 504 is further configured to: for each ultrasonic signal in the above-mentioned ultrasonic signal set, determine the signal strength and signal measurement position corresponding to the trough in the above-mentioned ultrasonic signal, generate candidate detection point information, and obtain a candidate detection point information group; filter out the candidate detection point information whose signal strength meets the filtering conditions from the obtained candidate detection point information group set as the first defect detection point information, and obtain the above-mentioned first defect detection point information set.

[0171] In some optional implementations of some embodiments, the above-mentioned defect detection point information set also includes: a second defect detection point information set; and the above-mentioned generation unit 504 is further configured to: perform image enhancement processing on each partition board image in the above-mentioned partition board image set to generate an enhanced image and obtain an enhanced image set; for each enhanced image in the above-mentioned enhanced image set, perform an image exposure adjustment step: determine the overexposed area and the non-overexposed area in the above-mentioned enhanced image; lower the exposure of the above-mentioned overexposed area, and increase the exposure of the above-mentioned non-overexposed area to generate an exposure adjusted image; perform grayscale processing on each exposure adjusted image in the obtained exposure adjusted image set to generate a grayscale image and obtain a grayscale image set; determine the grayscale image with the largest image size in the above-mentioned grayscale image set as the target image; according to the image size of the above-mentioned target image, perform edge padding with 0 on each grayscale image in the above-mentioned grayscale image set to generate a candidate image and obtain a candidate image set; generate the above-mentioned second defect detection point information set based on the above-mentioned candidate image set and the above-mentioned defect detection model.

[0172] In some optional implementations of some embodiments, before the above-mentioned device 500 controls the press to apply pressure to the partition wall board to be detected in response to the signal information characterizing the presence of the partition wall board to be detected, the device 500 also includes: acquiring a distance measurement signal collected by a distance sensor; in response to determining the first change of the distance measurement signal, determining a real-time distance value when the distance measurement signal changes; in response to determining the second change of the distance measurement signal, determining a time difference between the first change and the second change of the distance measurement signal; determining a target length based on the conveying speed of the conveying device and the time difference; in response to determining that the target length is greater than or equal to a preset length, generating signal information characterizing the detection of the presence of the partition wall board to be detected.

[0173] In some optional implementations of some embodiments, the above-mentioned defect detection model includes: a local feature extraction network, a global feature extraction network, a feature fusion network and a classification network; and the above-mentioned generation unit 504 is further configured to: for each candidate image in the above-mentioned candidate image set, perform the following processing steps: input the above-mentioned candidate image into the above-mentioned local feature extraction network and the above-mentioned global feature extraction network respectively to generate a local feature information set and a global feature information; input the above-mentioned local feature information set and the above-mentioned global feature information into the above-mentioned feature fusion network to generate fused features; input the above-mentioned fused features into the above-mentioned classification network to generate second defect detection point information.

[0174] It is understood that the units described in the device 500 are similar to those described in the reference Figure 2 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 500 and the units included therein, and will not be described in detail here.

[0175] Reference below Figure 6 , which shows an electronic device (such as Figure 1 A schematic diagram of the structure of the computing device 101)600 is shown. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0176] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0177] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 6 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0178] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0179] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0180] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0181] The computer-readable medium may be included in the electronic device; or it may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to the signal information indicating the presence of the partition wall board to be detected, controls the press to apply pressure to the partition wall board to be detected; in response to the pressure value of the applied pressure being the same as the target value, scans the partition wall board to be detected to generate a partition wall board image set, wherein the partition wall board images in the partition wall board image set are surface images of the partition wall board to be detected; performs ultrasonic scanning on the partition wall board to be detected to generate an ultrasonic signal set; generates a defect detection point information set based on the partition wall board image set, the ultrasonic signal set and the pre-trained defect detection model; in response to determining that the defect detection point information set contains defect detection point information indicating the presence of defects in the partition wall board to be detected, controls the conveying device to change the conveying direction so that the partition wall board to be detected is conveyed to the waste storage area.

[0182] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0183] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0184] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be arranged in a processor, for example, may be described as: a processor including a control unit, a scanning unit, an ultrasonic scanning unit, a generating unit and a control unit. The names of these units do not constitute limitations on the units themselves in certain cases, for example, the control unit may also be described as "a unit that controls a press to apply pressure to the partition wall panels to be detected in response to the signal information indicating the presence of the partition wall panels to be detected".

[0185] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0186] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A defect detection method, comprising: In response to the signal information indicating that there is a partition wall plate to be inspected, controlling the press machine to apply pressure to the partition wall plate to be inspected; In response to the pressure value of the applied pressure being the same as the target value, scanning the partition wall board to be inspected to generate a partition wall board image set, wherein the partition wall board images in the partition wall board image set are surface images of the partition wall board to be inspected; Performing ultrasonic scanning on the partition board to be inspected to generate an ultrasonic signal set; Generate a defect detection point information set according to the partition board image set, the ultrasonic signal set and a pre-trained defect detection model, wherein the defect detection point information set includes: a first defect detection point information set and a second defect detection point information set; In response to determining that the defect detection point information set contains defect detection point information indicating that the partition wall board to be inspected has defects, the conveying device is controlled to change the conveying direction so that the partition wall board to be inspected is conveyed to the waste storage area, wherein: The generating a defect detection point information set according to the partition board image set, the ultrasonic signal set and the pre-trained defect detection model includes: For each ultrasonic signal in the ultrasonic signal set, determine the signal strength and signal measurement position corresponding to the trough in the ultrasonic signal, generate candidate detection point information, and obtain a candidate detection point information group; Filter out candidate detection point information whose signal strength meets the screening condition from the obtained candidate detection point information group set as first defect detection point information, and obtain the first defect detection point information set; Performing image enhancement processing on each partition board image in the partition board image set to generate an enhanced image, thereby obtaining an enhanced image set; For each enhanced image in the enhanced image set, performing an image exposure adjustment step: Determine an overexposed area and a non-overexposed area in the enhanced image; Lowering the exposure of the overexposed area and raising the exposure of the non-overexposed area to generate an exposure-adjusted image; Performing grayscale processing on each exposure-adjusted image in the obtained exposure-adjusted image set to generate a grayscale image, thereby obtaining a grayscale image set; Determine the grayscale image with the largest image size in the grayscale image set as the target image; According to the image size of the target image, padding the edge of each grayscale image in the grayscale image set with zeros to generate a candidate image, thereby obtaining a candidate image set; The second defect detection point information set is generated according to the candidate image set and the defect detection model.

2. The method according to claim 1, wherein: The method further comprises: In response to determining that the defect detection point information set does not contain defect detection point information indicating that the partition wall board to be inspected has defects, obtaining weight information of the partition wall board to be inspected; Performing image correction on each partition board image in the partition board image set to generate a corrected image, thereby obtaining a corrected image set; Determining preset partition wall panel volume information corresponding to the weight information; Determining actual volume information of the partition wall board to be inspected according to the corrected image in the corrected image set; Generate a scaling factor according to the preset partition board volume information and the actual volume information; In response to determining that the scaling factor is not within a preset value range, the conveying device is controlled to change the conveying direction so that the partition wall board to be inspected is conveyed to the waste storage area.

3. The method according to claim 2, wherein: The ultrasonic scanning of the partition wall board to be inspected to generate an ultrasonic signal set includes: The ultrasonic emitting device is used to perform continuous ultrasonic scanning on each surface of the partition wall board to be inspected, so as to generate ultrasonic signals and obtain the ultrasonic signal set.

4. The method according to claim 3, wherein: Before the step of controlling the press machine to apply pressure to the partition wall board to be inspected in response to the signal information indicating the presence of the partition wall board to be inspected, the method further comprises: Acquire a distance measurement signal collected by a distance sensor; In response to determining that the distance measurement signal changes for the first time, determining a real-time distance value when the distance measurement signal changes; In response to determining that the distance measurement signal changes for a second time, determining a time difference between a first change and a second change of the distance measurement signal; Determining a target length according to a conveying speed of the conveying device and the time difference; In response to determining that the target length is greater than or equal to the preset length, signal information indicating that the existence of the partition wall board to be detected is generated.

5. The method according to claim 4, wherein: The defect detection model includes: a local feature extraction network, a global feature extraction network, a feature fusion network and a classification network; and The step of generating the second defect detection point information set according to the candidate image set and the defect detection model includes: For each candidate image in the candidate image set, the following processing steps are performed: Inputting the candidate images into the local feature extraction network and the global feature extraction network respectively to generate a local feature information set and a global feature information; Inputting the local feature information set and the global feature information into the feature fusion network to generate fused features; The fused features are input into the classification network to generate second defect detection point information.

6. A defect detection device, comprising: A control unit, configured to control a press to apply pressure to the partition wall plate to be inspected in response to the signal information indicating the presence of the partition wall plate to be inspected; a scanning unit configured to scan the partition wall board to be inspected in response to the pressure value of the applied pressure being the same as the target value, so as to generate a partition wall board image set, wherein the partition wall board images in the partition wall board image set are surface images of the partition wall board to be inspected; An ultrasonic scanning unit, configured to perform ultrasonic scanning on the partition board to be inspected to generate an ultrasonic signal set; A generating unit is configured to generate a defect detection point information set according to the partition board image set, the ultrasonic signal set and a pre-trained defect detection model, wherein the defect detection point information set includes: a first defect detection point information set and a second defect detection point information set; The control unit is configured to control the conveying device to change the conveying direction in response to determining that there is defect detection point information in the defect detection point information set that indicates that the partition wall board to be inspected has defects, so that the partition wall board to be inspected is conveyed to the waste storage area, wherein: The generating a defect detection point information set according to the partition board image set, the ultrasonic signal set and the pre-trained defect detection model includes: For each ultrasonic signal in the ultrasonic signal set, determine the signal strength and signal measurement position corresponding to the trough in the ultrasonic signal, generate candidate detection point information, and obtain a candidate detection point information group; Filter out candidate detection point information whose signal strength meets the screening condition from the obtained candidate detection point information group set as first defect detection point information, and obtain the first defect detection point information set; Performing image enhancement processing on each partition board image in the partition board image set to generate an enhanced image, thereby obtaining an enhanced image set; For each enhanced image in the enhanced image set, performing an image exposure adjustment step: Determine an overexposed area and a non-overexposed area in the enhanced image; Lowering the exposure of the overexposed area and raising the exposure of the non-overexposed area to generate an exposure-adjusted image; Performing grayscale processing on each exposure-adjusted image in the obtained exposure-adjusted image set to generate a grayscale image, thereby obtaining a grayscale image set; Determine the grayscale image with the largest image size in the grayscale image set as the target image; According to the image size of the target image, padding the edge of each grayscale image in the grayscale image set with zeros to generate a candidate image, thereby obtaining a candidate image set; The second defect detection point information set is generated according to the candidate image set and the defect detection model.

7. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

8. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.