CN-121998914-A - Method, equipment and storage medium for detecting assembly quality of conductive foam
Abstract
The embodiment of the application provides a method, equipment and a storage medium for detecting the assembly quality of conductive foam. The method comprises the steps of obtaining a first image and a second image, wherein the first image indicates a product image without conductive foam, the second image indicates a product image with conductive foam assembled, filtering the first image and the second image respectively to obtain a filtered first image and a filtered second image, performing differential processing on the filtered first image and the filtered second image to obtain a third image, wherein the third image comprises foam outline of at least one conductive foam, foam outline information of each conductive foam is determined according to the third image, and assembly quality of each conductive foam is determined according to the foam outline information. The method can improve the accuracy and the robustness of the assembly quality detection method of the conductive foam, and further can meet the high-precision detection requirement of electronic manufacturing and the detection requirement of large-scale scene generation.
Inventors
- YUAN XIAOJUN
- TU ZHIYI
- YANG AN
Assignees
- 深圳市卓见智能制造有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20251231
Claims (10)
- 1. The method for detecting the assembly quality of the conductive foam is characterized by comprising the following steps of: acquiring a first image and a second image, wherein the first image indicates a product image without the conductive foam, and the second image indicates a product image with the conductive foam; respectively carrying out filtering treatment on the first image and the second image to obtain a filtered first image and a filtered second image; Performing differential processing on the first image after filtering and the second image after filtering to obtain a third image, wherein the third image comprises at least one foam contour of conductive foam; and determining foam contour information of each conductive foam according to the third image, and determining assembly quality of each conductive foam according to the foam contour information.
- 2. The method of claim 1, wherein filtering the first image and the second image, respectively, results in a filtered first image and a filtered second image, comprising: Performing first median filtering processing on the first image to obtain a filtered first image; and performing second median filtering processing on the second image to obtain the filtered second image.
- 3. The method of claim 2, wherein said performing a first median filtering process on said first image comprises: Performing the first median filtering processing on the first image through a first circular filtering template; the second median filtering processing is performed on the second image, including: And performing second median filtering processing on the second image through a second circular filtering template, wherein the radius of the first circular filtering template is smaller than that of the second circular filtering template.
- 4. The method of claim 1, wherein differentiating the filtered first image and the filtered second image to obtain a third image comprises: determining scene light source information of an image acquisition scene where the product image is located; determining a target scaling factor and/or a target offset factor according to the scene light source information; And carrying out differential processing on the filtered first image and the filtered second image according to the target scaling factor and/or the target offset factor to obtain a third image.
- 5. The method of claim 4, wherein determining a target scaling factor and/or a target offset factor from the scene illuminant information comprises: acquiring preset light source information, and a preset scaling factor and a preset offset factor matched with the preset light source information; determining first adjustment data and second adjustment data according to difference information between the scene light source information and the preset light source information; after the preset scaling factor is adjusted according to the first adjustment data, the target scaling factor is obtained; And after the preset offset factor is adjusted according to the second adjustment data, the target offset factor is obtained.
- 6. The method of claim 1, wherein determining foam profile information for each of the conductive foam based on the third image comprises: carrying out gray scale on operation processing on the third image to obtain a fourth image; Conducting foam region segmentation processing is conducted on the fourth image according to a preset gray threshold value, so that a fifth image is obtained; And carrying out connected domain disconnection treatment on the fifth image to obtain foam outline information of each conductive foam.
- 7. The method of claim 1, wherein determining the quality of assembly of each of the conductive foam based on the foam profile information comprises: determining at least one piece of assembly attribute information of the conductive foam according to the foam profile information, wherein each piece of assembly attribute information has a corresponding assembly qualification requirement; And determining the assembly quality of each conductive foam according to the assembly attribute information and the assembly qualification requirement.
- 8. The method according to any one of claims 1-7, wherein before filtering the first image and the second image respectively, the method further comprises: determining an assembly area of the conductive foam in the product image; And respectively extracting the region of interest from the first image and the second image according to the conductive foam assembly region to obtain a processed first image and a processed second image.
- 9. A computer device comprises a memory and a processor; The memory stores computer-executable instructions; the processor executing computer-executable instructions stored in the memory, causing the processor to perform the method of any one of claims 1-8.
- 10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-8.
Description
Method, equipment and storage medium for detecting assembly quality of conductive foam Technical Field The application relates to the technical field of machine vision detection and the technical field of vehicle-mounted electronic manufacturing detection, in particular to a method, equipment and a storage medium for detecting the assembly quality of conductive foam. Background In the assembly of products such as vehicle-mounted domain control and vehicle-mounted electronic control units, the conductive foam needs to be reliably connected with the shell and the ground wire of the PCBA (Printed Circuit Board Assembly ) so as to ensure the EMI (Electromagnetic Interference, electromagnetic interference) performance, and at the moment, the assembly quality of the conductive foam is very important. In the related art, spot extraction is performed on an acquired product image of conductive foam mainly according to a spot analysis algorithm to obtain foam profile information of the conductive foam. However, the embodiment has poor suitability for gray features and weak anti-interference capability, is difficult to extract stable and accurate foam profile information, is easy to miss detection and misdetection, further influences the detection precision of the assembly quality of the conductive foam, and further cannot meet the high-precision detection requirement of vehicle-mounted electronic manufacturing. Disclosure of Invention The embodiment of the application provides a method, equipment and a storage medium for detecting the assembly quality of conductive foam, which can improve the accuracy and the robustness of the method for detecting the assembly quality of conductive foam, and further can meet the high-precision detection requirement of electronic manufacturing and the detection requirement of large-scale scene generation. In a first aspect, an embodiment of the present application provides a method for detecting assembly quality of conductive foam, including: acquiring a first image and a second image, wherein the first image indicates a product image without the conductive foam, and the second image indicates a product image with the conductive foam; respectively carrying out filtering treatment on the first image and the second image to obtain a filtered first image and a filtered second image; Performing differential processing on the first image after filtering and the second image after filtering to obtain a third image, wherein the third image comprises at least one foam contour of conductive foam; and determining foam contour information of each conductive foam according to the third image, and determining assembly quality of each conductive foam according to the foam contour information. In a possible implementation manner, filtering the first image and the second image respectively to obtain a filtered first image and a filtered second image includes: Performing first median filtering processing on the first image to obtain a filtered first image; and performing second median filtering processing on the second image to obtain the filtered second image. In a possible implementation manner, the performing a first median filtering process on the first image includes: Performing the first median filtering processing on the first image through a first circular filtering template; the second median filtering processing is performed on the second image, including: And performing second median filtering processing on the second image through a second circular filtering template, wherein the radius of the first circular filtering template is smaller than that of the second circular filtering template. In a possible implementation manner, performing differential processing on the first image after filtering and the second image after filtering to obtain a third image, including: determining scene light source information of an image acquisition scene where the product image is located; determining a target scaling factor and/or a target offset factor according to the scene light source information; And carrying out differential processing on the filtered first image and the filtered second image according to the target scaling factor and/or the target offset factor to obtain a third image. In a possible implementation manner, determining a target scaling factor and/or a target offset factor according to the scene light source information comprises: acquiring preset light source information, and a preset scaling factor and a preset offset factor matched with the preset light source information; determining first adjustment data and second adjustment data according to difference information between the scene light source information and the preset light source information; after the preset scaling factor is adjusted according to the first adjustment data, the target scaling factor is obtained; And after the preset offset factor is adjusted according to the second adjustment data, the target offset factor