A method and system for retrieving area adaptive point glue quality detection
Patent Information
- Application Number
- CN202310778757.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-28
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2043-06-28
AI Technical Summary
[0008]本发明提供一种检索区域自适应的点胶质量检测方法及系统,以解决现有技术中的不足
[0041]本发明提供的一种检索区域自适应的点胶质量检测方法及系统,通过根据物料的轮廓特征确定物料的尺寸信息,然后再根据物料的尺寸信息选择对应的检索区域划分参数,以将图像中的物料所在的区域进行检索区域的划分,最后分别对划分的检索区域的点胶质量进行检测,不仅可适用于不同尺寸的物料的点胶质量检测,提高了适用性,而且检索区域的划分也大大提高了检测的精度,具有较高的市场推广价值。
Smart Images

Figure CN116721092B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of dispensing inspection technology, and in particular to a dispensing quality inspection method and system with adaptive retrieval area. Background Technology
[0002] Dispensing, also known as gluing, coating, potting, or dripping, is the process of applying, potting, or dripping glue, oil, or other liquids onto a product to achieve functions such as adhesion, potting, insulation, fixation, and surface smoothing.
[0003] To reduce process defect rates, improve product quality, and prevent defective products from reaching customers, many manufacturers require inspection of adhesive dispensing quality. Currently, when photographing and inspecting the adhesive dispensing quality after application, the following problems exist:
[0004] (1) It can only qualitatively determine the application status of the adhesive path, such as whether the sealing is completed and the total area of the adhesive application, but it cannot confirm the application status of each section of the adhesive path, resulting in poor detection accuracy.
[0005] (2) The detection algorithm cannot be applied to materials of different sizes, resulting in poor applicability.
[0006] Therefore, improvements to existing technologies are necessary.
[0007] The above information is provided as background information only to aid in understanding this disclosure and does not constitute an assertion or admission that any of the above content can be used as prior art relative to this disclosure. Summary of the Invention
[0008] This invention provides a method and system for dispensing quality detection with adaptive retrieval area to overcome the shortcomings of the prior art.
[0009] To achieve the above objectives, the present invention provides the following technical solution:
[0010] In a first aspect, the present invention provides a method for dispensing quality detection with adaptive retrieval region, the method comprising:
[0011] Acquire images of the material after dispensing;
[0012] Based on the material's outline features, determine the material's size information and its position information in the image;
[0013] Based on the size information, select the retrieval region division parameters corresponding to the size information; the retrieval region division parameters include the area and number of retrieval regions.
[0014] Based on the retrieval region division parameters and the location information, the retrieval region is divided into the area where the material in the image is located.
[0015] The dispensing quality of each of the divided search areas is tested to obtain the test results for each search area.
[0016] Furthermore, in the adaptive dispensing quality detection method for the retrieval region, the step of determining the material's size information and its position information in the image based on the material's contour features includes:
[0017] Based on the contour features of the material, determine the local size information of the material and the local position information of the material in the image;
[0018] Based on the positional information of a portion of the material in the image, the positional information of the remaining portion of the material in the image is determined.
[0019] Furthermore, in the adaptive dispensing quality detection method for the retrieval area, after the step of selecting retrieval area division parameters corresponding to the size information based on the size information; the retrieval area division parameters including the area and number of retrieval areas, the method further includes:
[0020] Ask if the search region division parameters need to be modified;
[0021] If so, the input data is received, and the selected search region division parameters are modified;
[0022] If not, then the selected search region division parameters will be used.
[0023] Furthermore, in the adaptive dispensing quality detection method for the retrieval region, after the step of detecting the dispensing quality of the divided retrieval regions respectively and obtaining the detection result of each retrieval region, the method further includes:
[0024] The detection results are associated with the corresponding search areas and then output.
[0025] Secondly, the present invention provides a dispensing quality detection system with adaptive retrieval area, the system comprising:
[0026] The image acquisition module is used to acquire images of the material after dispensing.
[0027] The information determination module is used to determine the size information of the material and the position information of the material in the image based on the contour features of the material;
[0028] The parameter selection module is used to select retrieval region division parameters corresponding to the size information based on the size information; the retrieval region division parameters include the area and number of retrieval regions;
[0029] The region division module is used to divide the region where the material in the image is located into search regions according to the search region division parameters and the location information;
[0030] The dispensing inspection module is used to inspect the dispensing quality of the divided search areas respectively, and obtain the inspection result of each search area.
[0031] Furthermore, in the adaptive dispensing quality inspection system for the retrieval area, the information determination module is specifically used for:
[0032] Based on the contour features of the material, determine the local size information of the material and the local position information of the material in the image;
[0033] Based on the positional information of a portion of the material in the image, the positional information of the remaining portion of the material in the image is determined.
[0034] Furthermore, in the adaptive dispensing quality inspection system for the retrieval area, the system also includes a modification query module, used for:
[0035] After the step of selecting the retrieval region division parameters corresponding to the size information, wherein the retrieval region division parameters include the area and number of retrieval regions, it is asked whether the retrieval region division parameters need to be modified; if yes, the input data is received and the selected retrieval region division parameters are modified; if no, the selected retrieval region division parameters are used.
[0036] Furthermore, in the adaptive dispensing quality inspection system for the retrieval area, the system also includes a result output module, used for:
[0037] After the step of detecting the dispensing quality of the divided search areas and obtaining the detection result of each search area, the detection result is associated with the corresponding search area and output.
[0038] Thirdly, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the retrieval area adaptive dispensing quality detection method as described in Embodiment 1 above.
[0039] Fourthly, the present invention provides a storage medium containing computer-executable instructions, characterized in that the computer-executable instructions are executed by a computer processor to implement the retrieval area adaptive dispensing quality detection method as described in Embodiment 1 above.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] This invention provides a method and system for adhesive dispensing quality inspection with adaptive retrieval area. By determining the size information of the material based on its contour features, and then selecting corresponding retrieval area division parameters based on the material size information, the area where the material is located in the image is divided into retrieval areas. Finally, the dispensing quality of each divided retrieval area is inspected. This method is applicable to the dispensing quality inspection of materials of different sizes, improving applicability. Furthermore, the division of the retrieval area greatly improves the detection accuracy, making it highly valuable for market promotion. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is a flowchart illustrating a retrieval region adaptive dispensing quality detection method provided in Embodiment 1 of the present invention;
[0044] Figure 2 This is a schematic diagram of the retrieval region division provided in Embodiment 1 of the present invention;
[0045] Figure 3 This is a schematic diagram of the retrieval region division provided in Embodiment 1 of the present invention;
[0046] Figure 4 This is a functional module diagram of an adaptive dispensing quality detection system for a retrieval area provided in Embodiment 2 of the present invention;
[0047] Figure 5 This is a schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. Furthermore, those skilled in the art will understand that with technological development and the emergence of new scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0049] In the description of this application, it should be understood that, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. Furthermore, any terminology used is for the purpose of describing particular embodiments only and is not intended to be limiting of this application.
[0050] Furthermore, to better illustrate this application, numerous specific details are provided in the following detailed embodiments. Those skilled in the art should understand that this application can be implemented without certain specific details. In some instances, methods, means, components, and circuits well-known to those skilled in the art have not been described in detail in order to highlight the main points of this application.
[0051] The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments.
[0052] Example 1
[0053] In view of the shortcomings of existing dispensing quality inspection technologies, the applicant, based on years of practical experience and professional knowledge in this field, and combined with theoretical application, has actively researched and innovated to create a technology that can overcome the shortcomings of existing technologies and make dispensing quality inspection technology more practical. After continuous research, design, and repeated prototype production and improvement, this invention with real practical value has finally been created.
[0054] Please refer to Figure 1 This is a flowchart illustrating a retrieval region-adaptive dispensing quality detection method provided in Embodiment 1 of the present invention. This method is applicable to scenarios involving dispensing quality detection. The method is executed by a retrieval region-adaptive dispensing quality detection system, which can be implemented in software and / or hardware. The method specifically includes the following steps:
[0055] S101. Acquire images of the material after dispensing.
[0056] It should be noted that this step involves using a camera to capture images of the material after dispensing. The camera can be a line scan camera or a high-speed acquisition area scan camera. When the material to be captured is stationary, a line scan camera is sufficient. However, when the material is moving, such as being transported by a conveyor belt, a high-speed acquisition area scan camera is used. This is because, compared to a line scan camera, a high-speed acquisition area scan camera has the advantages of a higher frame rate and higher precision, allowing for clearer dispensing images during rapid capture, thus improving the accuracy of AOI (Automated Optical Inspection) of the dispensing images.
[0057] In addition, high-speed acquisition area array cameras require the use of high-magnification telecentric lenses when acquiring dispensing images.
[0058] Understandably, depending on the actual needs, the acquired images may need to be converted to grayscale images and preprocessed. Grayscale image preprocessing may include image binarization, color filtering, area filtering, and center point clustering.
[0059] S102. Based on the contour features of the material, determine the size information of the material and the position information of the material in the image.
[0060] It should be noted that this step first obtains a contour image from the acquired image, and then matches the contour image with the contour features of the material. If the match is successful, the corresponding contour image is the contour image of the material, and the size information of the material and its position information in the image can be further determined based on the contour image.
[0061] In this embodiment, step S102 can be further refined to include the following steps:
[0062] Based on the contour features of the material, determine the local size information of the material and the local position information of the material in the image;
[0063] Based on the positional information of a portion of the material in the image, the positional information of the remaining portion of the material in the image is determined.
[0064] It should be noted that, generally, the overall size and position of a material in the image can be determined based on its contour features. However, to save computational resources and reduce processing difficulty, it is preferable to determine the size and position of a local part of the material in the image based on its contour features. Since even local contour features of different materials can vary significantly, the size information of a local part is sufficient to determine the parameters for dividing the search region in subsequent steps. As for the overall position of the material in the image, the position of the remaining parts of the material can be calculated by combining the previously determined position of a local part with the contour features. In other words, the previously determined position of a local part can serve as a reference for the position of the remaining parts of the material in the image.
[0065] S103. Based on the size information, select the retrieval area division parameters corresponding to the size information; the retrieval area division parameters include the area and number of retrieval areas.
[0066] It should be noted that this step is crucial for the search area to be adaptive. The selection of search area division parameters needs to be based on the size information of the material to ensure that materials of different sizes can adapt to the appropriate search area division parameters.
[0067] Understandably, the retrieval area division parameters for materials of different sizes need to be set and stored in advance. If a new size of material is available, the retrieval area division parameters for the new size can be stored and retrieved later by setting new retrieval area division parameters. If the required detection accuracy of the material changes, the stored retrieval area division parameters can be updated.
[0068] The area and number of search regions can be arbitrarily set by technicians based on experience and actual application scenarios; this embodiment does not impose specific limitations here.
[0069] For example, the area of the search region can be set to 1mm*0.5mm, and the number can be set to 23 (specifically, 5 search regions on each of the two arc segments, 6 search regions on each of the upper and lower straight segments, and 1 search region on the middle straight segment). See reference for further details. Figure 2 Alternatively, the search area can be set to 0.5mm x 0.25mm, with 50 search areas (specifically, 9 search areas on each of the two arc segments, 15 search areas on each of the upper and lower straight segments, and 2 search areas on the middle straight segment). See reference for further information. Figure 3 .
[0070] It should be noted that search regions may or may not overlap. The number of search regions is directly proportional to their area; that is, a larger search region requires fewer search regions, and a smaller search region requires more. To improve detection accuracy, the search region area should be smaller, and the number of search regions should be greater.
[0071] In this embodiment, after step S103, the method can be further refined to include the following steps:
[0072] Ask if the search region division parameters need to be modified;
[0073] If so, the input data is received, and the selected search region division parameters are modified;
[0074] If not, then the selected search region division parameters will be used.
[0075] It should be noted that since customers may change their detection accuracy requirements at any time, but the retrieval region division parameters may not be updated in time, this embodiment sets that even if the retrieval region division parameters are selected based on the material's size information, the user can still modify the retrieval region division parameters before dividing the area where the material is located in the image. Specifically, the system will pop up a window asking whether the retrieval region division parameters need to be modified. If the system receives the user's input modification data at this time, the coefficient will overwrite the original data with the user's input modification data. If the system does not receive the user's input modification data at this time, or if the system receives the user's instruction that no modification is needed, the coefficient will retain the selected retrieval region division parameters.
[0076] S104. Based on the retrieval area division parameters and the location information, the area where the material in the image is located is divided into retrieval areas.
[0077] It should be noted that the divided search areas are as follows: Figure 2-3 As shown. It should be understood that for non-linear segments within the logistics area, such as... Figure 2-3 The retrieval areas divided into arc-shaped sections at both ends of the logistics chain need to be tilted at corresponding angles, meaning that the retrieval areas corresponding to the arc-shaped sections are also arranged in an arc shape as a whole.
[0078] S105. The dispensing quality of the divided search areas is detected respectively to obtain the detection result of each search area.
[0079] It should be noted that this step involves performing dispensing quality inspection on each search area, specifically checking the glue width and glue path area. Because the dispensing quality is inspected area by area, the dispensing condition of each segment of the glue path can be confirmed, thus greatly improving the accuracy of the inspection.
[0080] In this embodiment, after step S104, the method can be further refined to include the following steps:
[0081] The detection results are associated with the corresponding search areas and then output.
[0082] It should be noted that when the detection result of a certain search area is abnormal, the output result also directly corresponds to the search area, which is helpful for quickly locating the abnormal glue dispensing point.
[0083] Although this application frequently uses terms such as search area, dispensing quality, and contour features, the possibility of using other terms is not excluded. These terms are used merely for the convenience of describing and explaining the essence of the invention; interpreting them as any additional limitation would contradict the spirit of the invention.
[0084] This invention provides an adaptive retrieval region dispensing quality detection method. It determines the material's size information based on its contour features, then selects corresponding retrieval region segmentation parameters based on this information to divide the area containing the material in the image into retrieval regions. Finally, it detects the dispensing quality of each segmented retrieval region. This method is applicable to dispensing quality detection of materials of different sizes, improving its applicability. Furthermore, the segmentation of the retrieval region significantly improves detection accuracy, making it highly valuable for market promotion.
[0085] Example 2
[0086] Please refer to Figure 4 This is a functional module diagram of a retrieval region adaptive dispensing quality inspection system provided in Embodiment 2 of the present invention. This system is applicable to executing the retrieval region adaptive dispensing quality inspection method provided in this embodiment of the present invention. Specifically, the system includes the following modules:
[0087] Image acquisition module 201 is used to acquire images of the material after dispensing;
[0088] The information determination module 202 is used to determine the size information of the material and the position information of the material in the image based on the contour features of the material;
[0089] The parameter selection module 203 is used to select retrieval region division parameters corresponding to the size information based on the size information; the retrieval region division parameters include the area and number of retrieval regions;
[0090] The region division module 204 is used to divide the region where the material in the image is located into search regions according to the search region division parameters and the location information;
[0091] The dispensing inspection module 205 is used to inspect the dispensing quality of the divided search areas respectively, and obtain the inspection result of each search area.
[0092] Preferably, the information determination module 202 is specifically used for:
[0093] Based on the contour features of the material, determine the local size information of the material and the local position information of the material in the image;
[0094] Based on the positional information of a portion of the material in the image, the positional information of the remaining portion of the material in the image is determined.
[0095] Preferably, the system further includes a modification query module, used for:
[0096] After the step of selecting the retrieval region division parameters corresponding to the size information, wherein the retrieval region division parameters include the area and number of retrieval regions, it is asked whether the retrieval region division parameters need to be modified; if yes, the input data is received and the selected retrieval region division parameters are modified; if no, the selected retrieval region division parameters are used.
[0097] Preferably, the system further includes a result output module, used for:
[0098] After the step of detecting the dispensing quality of the divided search areas and obtaining the detection result of each search area, the detection result is associated with the corresponding search area and output.
[0099] This invention provides an adaptive dispensing quality inspection system based on the material's contour features. It determines the material's size information based on this information, then selects corresponding retrieval region segmentation parameters to divide the area containing the material in the image into retrieval regions. Finally, it inspects the dispensing quality of each segmented retrieval region. This system is applicable to dispensing quality inspection of materials of different sizes, improving its applicability. Furthermore, the segmentation of the retrieval region significantly improves the inspection accuracy, making it highly valuable for market promotion.
[0100] The above system can execute the methods provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the methods.
[0101] Example 3
[0102] Figure 5 This is a schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention. Figure 5 A block diagram of an exemplary computer device 12 suitable for implementing embodiments of the present invention is shown. Figure 5 The computer device 12 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.
[0103] like Figure 5 As shown, the computer device 12 is represented in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and a bus 18 connecting different system components (including system memory 28 and processing unit 16).
[0104] Bus 18 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0105] Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0106] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (…). Figure 5 Not shown; usually referred to as a "hard drive"). Although Figure 5 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.
[0107] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 42 typically perform the functions and / or methods described in the embodiments of the present invention.
[0108] Computer device 12 can also communicate with one or more external devices 15 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with the computer device 12, and / or with any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 22. Furthermore, computer device 12 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be understood that, although... Figure 5 As not shown, it can be used in conjunction with computer device 12 with other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0109] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the adaptive dispensing quality detection method for the retrieval area provided in the embodiments of the present invention.
[0110] Example 4
[0111] Embodiment 4 of the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement a dispensing quality detection method with adaptive retrieval region as provided in all embodiments of the present application.
[0112] Any combination of one or more computer-readable media may be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
[0113] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0114] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0115] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone 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 remote computers, the remote computer can 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 can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0116] In summary, after reading this detailed disclosure, those skilled in the art will understand that the foregoing detailed disclosure is presented by way of example only and is not restrictive. Although not explicitly stated herein, those skilled in the art will understand that this application is intended to encompass various reasonable changes, improvements, and modifications to the embodiments. These changes, improvements, and modifications are intended to be made by this application and are within the spirit and scope of the exemplary embodiments of this application.
[0117] Furthermore, certain terms used in this application have been used to describe embodiments of this application. For example, "an embodiment," "an embodiment," and / or "some embodiments" mean that a particular feature, structure, or characteristic described in connection with that embodiment may be included in at least one embodiment of this application. Therefore, it is to be emphasized and understood that two or more references to "an embodiment" or "an embodiment" or "an alternative embodiment" in various parts of this specification do not necessarily refer to the same embodiment. Moreover, specific features, structures, or characteristics may be appropriately combined in one or more embodiments of this application.
[0118] It should be understood that in the foregoing description of the embodiments of this application, various features are combined in a single embodiment, drawing, or description for the purpose of simplifying the understanding of a feature. However, this does not mean that the combination of these features is necessary, and those skilled in the art may extract some features as separate embodiments when reading this application. That is, the embodiments in this application can also be understood as an integration of multiple sub-embodiments. It is also valid when the content of each sub-embodiment contains fewer than all the features of a single foregoing disclosed embodiment.
[0119] Finally, it should be understood that the embodiments disclosed herein are illustrative of the principles of the embodiments of this application. Other modified embodiments are also within the scope of this application. Therefore, the embodiments disclosed herein are merely examples and not limitations. Those skilled in the art can adopt alternative configurations to implement the applications in this application based on the embodiments in this application. Therefore, the embodiments of this application are not limited to the embodiments precisely described in the application.
Claims
1. A method for dispensing quality detection with adaptive retrieval region, characterized in that, The method includes: Acquire images of the material after dispensing; Based on the material's outline features, determine the material's size information and its position information in the image; Based on the size information, select the retrieval region division parameters corresponding to the size information; the retrieval region division parameters include the area and number of retrieval regions. Based on the retrieval region division parameters and the location information, the retrieval region is divided into the area where the material in the image is located. The dispensing quality of each of the divided search areas is tested to obtain the test results for each search area; The step of determining the material's size information and position information in the image based on the material's contour features includes: Based on the contour features of the material, determine the local size information of the material and the local position information of the material in the image; Based on the positional information of a portion of the material in the image, the positional information of the remaining portion of the material in the image is determined.
2. The adaptive dispensing quality detection method for the retrieval region according to claim 1, characterized in that, Based on the size information, select the retrieval area division parameters corresponding to the size information; After the step of defining the search region division parameters, including the area and number of search regions, the method further includes: Ask if the search region division parameters need to be modified; If so, the input data is received, and the selected search region division parameters are modified; If not, then the selected search region division parameters will be used.
3. The adaptive dispensing quality detection method for the retrieval region according to claim 1, characterized in that, After the step of detecting the dispensing quality of the divided search areas and obtaining the detection result for each search area, the method further includes: The detection results are associated with the corresponding search areas and then output.
4. A dispensing quality inspection system with adaptive retrieval area, characterized in that, The system includes: The image acquisition module is used to acquire images of the material after dispensing. The information determination module is used to determine the size information of the material and the position information of the material in the image based on the contour features of the material; The parameter selection module is used to select retrieval region division parameters corresponding to the size information based on the size information; the retrieval region division parameters include the area and number of retrieval regions; The region division module is used to divide the region where the material in the image is located into search regions according to the search region division parameters and the location information; The dispensing inspection module is used to inspect the dispensing quality of the divided search areas respectively, and obtain the inspection result of each search area; The information determination module is specifically used for: Based on the contour features of the material, determine the local size information of the material and the local position information of the material in the image; Based on the positional information of a portion of the material in the image, the positional information of the remaining portion of the material in the image is determined.
5. The adaptive dispensing quality detection system for the retrieval area according to claim 4, characterized in that, The system also includes a modification query module, used for: After the step of selecting the retrieval region division parameters corresponding to the size information, wherein the retrieval region division parameters include the area and number of retrieval regions, it is asked whether the retrieval region division parameters need to be modified; if yes, the input data is received and the selected retrieval region division parameters are modified; if no, the selected retrieval region division parameters are used.
6. The adaptive dispensing quality detection system for the retrieval area according to claim 4, characterized in that, The system also includes a result output module for: After the step of detecting the dispensing quality of the divided search areas and obtaining the detection result of each search area, the detection result is associated with the corresponding search area and output.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the dispensing quality detection method with adaptive retrieval area as described in any one of claims 1-3.
8. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions are executed by a computer processor to implement the dispensing quality detection method with adaptive retrieval area as described in any one of claims 1-3.
Citation Information
Patent Citations
Image segmentation method, electronic equipment and related product
CN111476801A
Glue line defect detection system based on artificial intelligence
CN116152245A