Seal ring defect detection device and detection method

By designing a rubber sealing ring defect detection device, and utilizing photoelectric detection and image processing technology, defects in rubber sealing rings are automatically detected, solving the problems of low detection efficiency and low accuracy in existing technologies, and achieving efficient and accurate detection results.

CN122109093APending Publication Date: 2026-05-29HANYU GRP CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HANYU GRP CO LTD
Filing Date
2024-11-29
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In the existing technology, the defect detection efficiency of rubber sealing rings is low and the accuracy is not high. Manual inspection is prone to false detection and missed detection, resulting in defective products flowing into subsequent processes and causing scrap.

Method used

A rubber sealing ring defect detection device is designed, including a photoelectric detection module, an image acquisition module, a light source module, and a main control module. Through image acquisition, feature processing, image segmentation, filtering, and analysis, the device automatically detects defects in the sealing ring.

Benefits of technology

This improves the efficiency and accuracy of defect detection for rubber seals, reduces manual intervention, and ensures the accuracy and efficiency of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122109093A_ABST
    Figure CN122109093A_ABST
Patent Text Reader

Abstract

The application provides a sealing ring defect detection device and method, wherein the sealing ring defect detection device comprises: a device body, a vertical mounting rod is arranged on the device body; a fixed base is located at the bottom of the device body and one side of the bottom of the vertical mounting rod, and is used for fixing a water pump body provided with a sealing ring; a photoelectric detection module is installed on the fixed base and is used for detecting whether the water pump body is placed on the fixed base; an image acquisition module is installed on the vertical mounting rod and is located on the same side of the fixed base, and is used for acquiring a sealing ring image of the water pump body; a light source module is installed on the vertical mounting rod and is located between the image acquisition module and the fixed base, and is used for providing a stable light source; a main control module is electrically connected with the image acquisition module, the photoelectric detection module and the light source module, is used for receiving and processing and analyzing the sealing ring image, and outputs an image detection result, and the drainage pump sealing ring defect detection efficiency can be improved through the above device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to a device and method for detecting defects in rubber sealing rings, which may be classified under IPC G06T 7 / 00. Background Technology

[0002] Currently, in related technologies, rubber sealing rings are crucial components for ensuring the sealing performance of drainage pumps. Poor assembly in the preceding process can result in missing or damaged sealing rings. Currently, the assembly of sealing rings is manually inspected visually before proceeding to the next assembly stage. However, due to the large size and weight of drainage pumps, manual inspection from multiple angles is inconvenient and inefficient. Furthermore, the area around the sealing ring is often obstructed by surrounding structures, leading to errors in inspection and missed inspections, resulting in defective products flowing into subsequent processes and causing scrap. Therefore, it is necessary to design an automatic sealing ring defect detection device to improve the accuracy and efficiency of drainage pump rubber sealing ring detection. Summary of the Invention

[0003] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes a rubber sealing ring defect detection device and method, which can improve the efficiency and accuracy of defect detection for drainage pump sealing rings.

[0004] In a first aspect, embodiments of this application provide a rubber sealing ring defect detection device, comprising: a device body, on which a vertical mounting rod is disposed; a fixed base, located at the bottom of the device body and on one side of the bottom of the vertical mounting rod, for fixing a water pump body equipped with a sealing ring; a photoelectric detection module, mounted on the fixed base, for detecting whether the water pump body is placed on the fixed base; an image acquisition module, mounted on the vertical mounting rod and located on the same side as the fixed base, for acquiring image information of the sealing ring of the water pump body; a light source module, mounted on the vertical mounting rod, located on the same side as the image acquisition module and between the image acquisition module and the fixed base, for providing a stable light source; and a main control module, electrically connected to the image acquisition module, the photoelectric detection module and the light source module, for receiving and processing the sealing ring image information and outputting image detection results.

[0005] The rubber sealing ring defect detection device according to the embodiments of this application has at least the following beneficial effects: the drainage pump equipped with the rubber sealing ring is placed on the fixed base. After the photoelectric detection module installed on the fixed base detects the drainage pump, the main control module controls the image acquisition module to acquire images of the drainage pump and the rubber ring, generate a sealing ring image, and then input the acquired sealing ring image into the main control module for sealing ring image processing. Finally, the image detection result is output. The inspection personnel can directly observe the image detection result to know whether there is a defect in the sealing ring, thereby improving the defect detection efficiency of the drainage pump sealing ring.

[0006] According to some embodiments of this application, the detection device further includes an alert module, which is electrically connected to the control and detection module and is used to output an alert signal based on the image detection result.

[0007] According to some embodiments of this application, the detection device further includes a display module, which is electrically connected to the main control module and is used to display the image detection results.

[0008] Secondly, embodiments of this application provide a method for detecting defects in sealing rings, applied to the sealing ring defect detection device described in the first aspect above. The detection method includes: after the photoelectric detection module detects the water pump body, the main control module sends an image acquisition command to the image acquisition module; the image acquisition module acquires an image of the water pump body to obtain a first sealing ring image and sends it to the main control module; the main control module performs feature processing on the first sealing ring image to obtain a second sealing ring image; the main control module performs image segmentation processing on the second sealing ring image to obtain a third sealing ring image; the main control module performs filtering processing on the third sealing ring image to obtain a fourth sealing ring image; the main control module performs filtering processing on the fourth sealing ring image according to a first preset annular radius range, filters out the inner circumference, and establishes a coordinate system with the center of the inner circumference as the origin; the main control module performs secondary filtering processing on the fourth sealing ring image to obtain a fifth sealing ring image; the main control module analyzes and processes the fifth sealing ring image to obtain an image detection result and outputs the image detection result and the fifth sealing ring image. The main control module performs feature processing, image segmentation, filtering, screening, secondary filtering, and analysis on the first sealing ring image acquired by the image acquisition module to obtain the final image detection result of the sealing ring, thereby improving the detection accuracy and efficiency of sealing ring defects in drainage pumps.

[0009] According to some embodiments of this application, the main control module performs feature processing on the first image information, including: performing white balance processing on the first image information to obtain the second sealing ring image. White balance processing is used to highlight the features of the sealing ring.

[0010] According to some embodiments of this application, the main control module performs image segmentation processing on the second sealing ring image, including: binarizing the second image information and segmenting it into color blocks to obtain a third sealing ring image containing the color blocks. Segmenting the image into color blocks further distinguishes the sealing rings.

[0011] According to some embodiments of this application, the filtering process of the main control module on the third sealing ring image includes: calculating the maximum diameter distance among each color block in the third sealing ring image, filtering out all color blocks that conform to the preset diameter distance range according to a preset diameter distance range, and obtaining the fourth sealing ring image. This initially filters out color blocks that may be sealing rings.

[0012] According to some embodiments of this application, the secondary filtering process performed by the main control module on the fourth sealing ring image includes: calculating the circumference of the convex shell of each color block in the fourth sealing ring image, filtering out all color blocks that conform to the preset convex shell circumference range, and obtaining the fifth sealing ring image. Further filtering is then performed to identify color blocks that may be sealing rings.

[0013] According to some embodiments of this application, the main control module analyzes and processes the image of the fifth sealing ring to obtain an image detection result and outputs the image detection result and the image of the fifth sealing ring, including: calculating the number of convex shell circumferences and determining whether the number of convex shell circumferences is greater than or equal to a preset number of convex shell circumferences; if the number of convex shell circumferences is less than the preset number of convex shell circumferences, the image detection result is output as unqualified; if the number of convex shell circumferences is greater than or equal to the preset number, the number of pixels of each color block is calculated in the coordinate system with the center as the origin and within the radius of a second preset ring; if the number of pixels is within the preset number of pixels, the image detection result is output as qualified; if the number of pixels is not within the preset number of pixels, the image detection result is output as unqualified. This process eliminates interference from non-sealing ring color blocks in the sealing ring image and determines whether the sealing ring is qualified.

[0014] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0015] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.

[0016] Figure 1 This is a schematic diagram of a system architecture platform for performing a sealing ring defect detection method according to an embodiment of this application;

[0017] Figure 2 This is a schematic diagram of a sealing ring defect detection device provided in one embodiment of this application;

[0018] Figure 3 This is an overall schematic diagram of a sealing ring defect detection device provided in one embodiment of this application;

[0019] Figure 4 This is an overall flowchart of a sealing ring defect detection method provided in one embodiment of this application;

[0020] Figure 5 This is a detailed flowchart of step S300 of the sealing ring defect detection method provided in the embodiments of this application;

[0021] Figure 6 This is a detailed flowchart of step S400 of the sealing ring defect detection method provided in the embodiments of this application;

[0022] Figure 7 This is a detailed flowchart of step S500 of the sealing ring defect detection method provided in the embodiments of this application;

[0023] Figure 8 This is a detailed flowchart of step S700 of the sealing ring defect detection method provided in the embodiments of this application;

[0024] Figure 9 This is a flowchart of step S800 of the sealing ring defect detection method provided in the embodiments of this application.

[0025] Figure label:

[0026] System architecture platform 100, processor 110, memory 120;

[0027] The device body 200, fixed base 210, vertical mounting rod 220, photoelectric detection module 230, image acquisition module 240, main control module 250, light source module 260, reminder module 270, and display module 280. Detailed Implementation

[0028] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0029] In the description of this application, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.

[0030] In the description of this application, "several" means one or more, "more than" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.

[0031] In the description of this application, unless otherwise expressly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this application in conjunction with the specific content of the technical solution.

[0032] The embodiments of this application will be further described below with reference to the accompanying drawings.

[0033] like Figure 1 As shown, Figure 1 This is a schematic diagram of a system architecture platform for performing a sealing ring defect detection method according to an embodiment of this application.

[0034] The system architecture platform 100 of this application embodiment includes one or more processors 110 and memory 120. Figure 1 The example uses a processor 110 and a memory 120.

[0035] Processor 110 and memory 120 can be connected via a bus or other means. Figure 1 Taking the example of a connection between China and Israel via a bus.

[0036] Memory 120, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory 120 may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 120 may optionally include memory 120 remotely located relative to processor 110, and these remote memories can be connected to the system architecture platform 100 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0037] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the system architecture platform 100, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0038] exist Figure 1 In the system architecture platform 100 shown, the processor 110 can be used to call the control program of the sealing ring defect detection device stored in the memory 120, thereby realizing the sealing ring defect detection method.

[0039] Based on the hardware structure of the above-mentioned system architecture platform 100, various embodiments of the sealing ring defect detection device of this application are proposed.

[0040] like Figure 2 and Figure 3 As shown, Figure 2 This is a schematic diagram of a sealing ring defect detection device module provided in one embodiment of this application. Figure 3 This is an overall schematic diagram of a sealing ring defect detection device provided in one embodiment of this application.

[0041] Specifically, the sealing ring defect detection device of this application embodiment includes, but is not limited to: a device body 200, a fixed base 210, a photoelectric detection module 230, an image acquisition module 240, a main control module 250, and a light source module 260. A vertical mounting rod 220 is provided on the device body 200. A fixed base is located at the bottom of the device body 200 and on one side of the bottom of the vertical mounting rod 220, used to fix a water pump body (not shown in the figure) equipped with a sealing ring. The photoelectric detection module 230 is mounted on the fixed base 210 and used to detect the state of the water pump body placed on the fixed base 210. The image acquisition module 240 is mounted on the vertical mounting rod 220 and is on the same side as the fixed base 210, used to acquire images of the sealing ring of the water pump body. The light source module 260 is mounted on the vertical mounting rod 220, on the same side as the image acquisition module 240, and is located between the image acquisition module 240 and the fixed base 210. The main control module 250 is electrically connected to the image acquisition module 240, the photoelectric detection module 230, and the light source module 260. After the device is powered on, each module enters initialization. The light source module 260 is turned on, and the photoelectric detection module 230 enters the standby state. The drainage pump equipped with the rubber ring is placed on the fixed base 210. After the photoelectric detection module 230 detects the drainage pump, the main control module 250 sends an image acquisition command to the image acquisition module 240. The image acquisition module 240 begins to acquire images of the drainage pump and the rubber ring, generates a sealing ring image, and sends it to the main control module 250. The main control module 250 processes and analyzes the sealing ring image and outputs the image detection result.

[0042] It should be noted that since the source of natural light in the test environment of the device is uncertain, it will affect the imaging of the image acquisition module 240. Therefore, the light source module 260 needs to provide a stable light source so that the image acquisition module 240 can obtain a clear image.

[0043] Furthermore, the sealing ring defect detection device can also be equipped with an alert module 270. The alert module 270 is located at the bottom of the device body 200 and is electrically connected to the main control module 250. It is used to output an alert signal based on the image detection results. Specifically, after processing and analyzing the sealing ring image, the main control module 250 generates an image detection result and sends it to the alert module 270. The alert module 270 then outputs an alert signal based on the image detection result.

[0044] Furthermore, the sealing ring defect detection device can also be equipped with a display module 280, which is electrically connected to the main control module 250, for displaying image detection results. Specifically, after processing and analyzing the sealing ring image, the main control module 250 generates image detection results and sends them to the display module 280, which then displays the image detection results.

[0045] Understandably, the image acquisition module 240 can be an industrial camera, and the light source module 260 can be a light-emitting ring aperture. The lens of the industrial camera can pass through the central area of ​​the ring aperture to capture an image of the drainage pump with the sealing ring. After the main control module 250 outputs the image detection results to the display module 280 and the reminder module 270, the display module 280 can display the image test results and the image processed and analyzed by the main control module 250. The reminder module 270 can be an indicator light. The reminder signal includes normal signal and abnormal signal. The indicator light illuminates the normal signal indicator light or the abnormal signal indicator light according to the image detection results.

[0046] Understandably, the position of the image acquisition module 240 on the vertical mounting rod 220 can be adjusted as needed to obtain a clear image, and the height of the image acquisition module 240 is not specifically limited here.

[0047] Based on the hardware structure of the system architecture platform 100 and the sealing ring defect detection device 200 described above, various embodiments of the sealing ring defect detection method of the sealing ring defect detection device of this application are proposed.

[0048] like Figure 4 As shown, Figure 4 This is an overall flowchart of a sealing ring defect detection method provided in one embodiment of this application. The method includes, but is not limited to, steps S100 to S800.

[0049] Step S100: After the photoelectric detection module detects the water pump body, the main control module sends an image acquisition command to the image acquisition module.

[0050] Step S200: The image acquisition module acquires an image of the water pump body, obtains the first sealing ring image, and sends it to the main control module.

[0051] Step S300: The main control module performs feature processing on the first sealing ring image to obtain the second sealing ring image;

[0052] Step S400: The main control module performs image segmentation processing on the second sealing ring image to obtain the third sealing ring image;

[0053] Step S500: The main control module filters the image of the third sealing ring to obtain the image of the fourth sealing ring.

[0054] Step S600: The main control module filters the image of the fourth sealing ring according to the first preset radius range, filters out the inner circumference, and establishes a coordinate system with the center of the inner circumference as the origin.

[0055] Step S700: The main control module performs secondary filtering on the fourth sealing ring image to obtain the fifth sealing ring image;

[0056] In step S800, the main control module analyzes and processes the image of the fifth sealing ring, obtains the image detection result, and outputs the image detection result and the image of the fifth sealing ring.

[0057] Specifically, after the image acquisition module acquires the sealing ring image, the main control module performs feature processing, image segmentation, filtering, screening, and secondary filtering on the first sealing ring image to obtain the final fifth sealing ring image. Finally, the fifth sealing ring image is analyzed to obtain the image detection result of the sealing ring. Through feature processing, image segmentation, filtering, screening, and secondary filtering, the sealing ring features in the sealing ring image are filtered, screened, and analyzed, eliminating the need for manual observation of the sealing ring, saving a lot of time, and improving the detection accuracy and efficiency of sealing ring defects in drainage pumps.

[0058] like Figure 5 As shown, Figure 5 This is a flowchart illustrating step S300 of the sealing ring defect detection method provided in this application embodiment. The method includes, but is not limited to, step S310.

[0059] Step S310: Perform white balance processing on the first image information to obtain the second sealing ring image.

[0060] It should be noted that in the white balance processing, the gamma value is set to 0.1 to increase the image brightness and highlight the features of the sealing ring, making it easier to identify.

[0061] like Figure 6 As shown, Figure 6 This is a detailed flowchart of step S400 of the sealing ring defect detection method provided in this application embodiment. The method includes, but is not limited to, step S410.

[0062] Step S410: Binarize the second image information and segment it into color blocks to obtain the third sealing ring image information containing the color blocks.

[0063] It should be noted that the binarization process uses the Niblack local thresholding algorithm, and the segmentation threshold is 0.55. After binarization, multiple color blocks are segmented to obtain a third sealing image containing the color blocks for further differentiation of the sealing ring.

[0064] like Figure 7 As shown, Figure 7 This is a detailed flowchart of step S500 of the sealing ring defect detection method provided in this application embodiment. The method includes, but is not limited to, steps S510 and S520.

[0065] Step S510: Calculate the maximum diameter distance in each color block of the third sealing ring image;

[0066] Step S520: Select all color blocks that conform to the preset diameter distance range according to the preset diameter distance range to obtain the fourth sealing ring image.

[0067] It should be noted that the maximum diameter distance in each color block refers to the maximum diameter distance between two points in the color block, and the preset diameter distance range is 500 to 1200. Then, all color blocks within this range are filtered out and the fourth sealing ring image is generated.

[0068] like Figure 8 As shown, Figure 8 This is a flowchart illustrating step S700 of the sealing ring defect detection method provided in this application embodiment. The method includes, but is not limited to, steps S710 and S720.

[0069] Step S710: Calculate the circumference of the convex shell of each color block in the fourth sealing ring image;

[0070] Step S720: Select all color blocks that conform to the preset convex shell circumference range to obtain the fifth sealing ring image.

[0071] It should be noted that the convex hull perimeter refers to the perimeter of the bounding rectangle of the color block. For example, the perimeter of the bounding rectangle of a circle is the convex hull perimeter of the circle. After calculating the convex hull perimeter of all color blocks, all color blocks that meet the preset convex hull perimeter are selected, and the preset convex hull perimeter ranges from 3640 to 3740.

[0072] like Figure 9 As shown, Figure 9 This is a flowchart illustrating step S800 of the sealing ring defect detection method provided in this application embodiment. The method includes, but is not limited to, steps S810 to S80.

[0073] Step S810: Calculate the number of convex shell perimeters;

[0074] Step S820: Determine whether the number of convex shell perimeters is greater than or equal to the preset number of convex shell perimeters;

[0075] Step S830: When the number of convex hull perimeters is less than the preset number of convex hull perimeters, the output image detection result is unqualified;

[0076] Step S840: When the number of convex hull perimeters is greater than or equal to the preset number of convex hull perimeters, calculate the number of pixels of each color block in the coordinate system with the center of the circle as the origin and within the radius of the second preset ring.

[0077] Step S850: When the number of pixels is within the preset number of pixels, the output image detection result is qualified;

[0078] Step S860: When the number of pixels is not within the preset pixel count range, the image detection result is output as unqualified.

[0079] Specifically, the center of the circle in step S840 is the center of the inner circle selected in step S600, and the number of pixels of the color block is calculated within a preset range using this center.

[0080] It should be noted that the preset convex shell circumference is 1; the second preset annular radius ranges from 545 to 595.

[0081] For example, when the number of convex shell circumferences is less than 1, the direct output image detection result is unqualified. However, when the number of convex shell circumferences is greater than or equal to 1, it may contain color blocks that conform to the preset convex shell circumference range. Therefore, further filtering is required. By calculating whether the number of pixels of each color block is within the preset number of pixels, it is possible to further determine whether there is a defect in the sealing ring. When the number of pixels of the color block is within the preset number of pixels, the output image detection result is qualified; otherwise, it is unqualified.

[0082] It is understood that the first preset annular radius range, gamma value, segmentation threshold, preset diameter distance range, preset convex hull circumference range, preset convex hull circumference number, second preset annular radius range, and preset pixel number can be set according to detection needs, and are not specifically limited here.

[0083] Based on the above-described method for detecting defects in sealing rings, various embodiments of the controller and computer-readable storage medium of this application are presented below.

[0084] Additionally, one embodiment of this application provides a controller comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor.

[0085] The processor and memory can be connected via a bus or other means.

[0086] It should be noted that the controller in this embodiment may include, for example: Figure 1 The processor and memory in the illustrated embodiment belong to the same patent concept, and therefore have the same implementation principle and beneficial effects, which will not be described in detail here.

[0087] The non-transient software program and instructions required to implement the sealing ring defect detection method of the above embodiments are stored in the memory. When executed by the processor, the sealing ring defect detection method of the above embodiments is executed.

[0088] According to the technical solution of this application embodiment, after the image acquisition module acquires the sealing ring image, the main control module performs feature processing, image segmentation processing, filtering processing, screening processing, and secondary filtering processing on the first sealing ring image to obtain the final fifth sealing ring image. Finally, the fifth sealing ring image is analyzed and processed to obtain the image detection result of the sealing ring. Through feature processing, image segmentation processing, filtering processing, screening processing, and secondary filtering processing, the sealing ring features in the sealing ring image are filtered, screened, and analyzed. There is no need for manual observation of the sealing ring, saving a lot of time, and improving the detection accuracy and efficiency of sealing ring defects in drainage pumps.

[0089] It is worth noting that, since the controller of this application embodiment is capable of executing the sealing ring defect detection method of the above embodiments, the specific implementation method and technical effects of the controller of this application embodiment can refer to the specific implementation method and technical effects of the sealing ring defect detection method of any of the above embodiments.

[0090] Furthermore, one embodiment of this application also provides a computer-readable storage medium storing computer-executable instructions for performing the aforementioned sealing ring defect detection method. Exemplarily, the above-described method is executed... Figures 4 to 9 The methods and steps in the text.

[0091] According to the technical solution of this application embodiment, after the image acquisition module acquires the sealing ring image, the main control module performs feature processing, image segmentation processing, filtering processing, screening processing, and secondary filtering processing on the first sealing ring image to obtain the final fifth sealing ring image. Finally, the fifth sealing ring image is analyzed and processed to obtain the image detection result of the sealing ring. Through feature processing, image segmentation processing, filtering processing, screening processing, and secondary filtering processing, the sealing ring features in the sealing ring image are filtered, screened, and analyzed. There is no need for manual observation of the sealing ring, saving a lot of time, and improving the detection accuracy and efficiency of sealing ring defects in drainage pumps.

[0092] It is worth noting that, since the computer-readable storage medium of this application embodiment can implement the sealing ring defect detection method of the above embodiments, the specific implementation method and technical effect of the computer-readable storage medium of this application embodiment can refer to the specific implementation method and technical effect of the sealing ring defect detection method of any of the above embodiments.

[0093] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically include computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0094] The above provides a detailed description of the preferred embodiments of this application. However, this application is not limited to the above-described embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.

Claims

1. A device for detecting defects in sealing rings, characterized in that, include: The device body (200) is provided with a vertical mounting rod (220); A fixed base (210) is located at the bottom of the device body (200) and on one side of the bottom of the vertical mounting rod (220), for fixing the water pump body equipped with a sealing ring; A photoelectric detection module (230) is installed on the fixed base (210) and is used to detect whether the water pump body is placed on the fixed base (210); An image acquisition module (240) is installed on the vertical mounting rod (220) and is located on the same side as the fixed base (210), and is used to acquire images of the sealing ring of the water pump body; The light source module (260) is mounted on the vertical mounting rod (220), located on the same side as the image acquisition module (240), and between the image acquisition module (240) and the fixed base (210), for providing a stable light source; The main control module (250) is electrically connected to the image acquisition module (240), the photoelectric detection module (230) and the light source module (260), and is used to receive, process and analyze the sealing ring image, and output the image detection result.

2. The detection device according to claim 1, characterized in that, The detection device further includes an alert module (270), which is electrically connected to the control and detection module and is used to output an alert signal based on the image detection result.

3. The detection device according to claim 1, characterized in that, The detection device further includes a display module (280), which is electrically connected to the main control module (250) and is used to display the image detection results.

4. A method for detecting defects in sealing rings, applied to the detection device according to any one of claims 1 to 4, the detection method comprising: After the photoelectric detection module detects the water pump body, the main control module sends an image acquisition command to the image acquisition module; The image acquisition module acquires an image of the water pump body, obtains an image of the first sealing ring, and sends it to the main control module. The main control module performs feature processing on the first sealing ring image to obtain the second sealing ring image; The main control module performs image segmentation processing on the second sealing ring image to obtain the third sealing ring image; The main control module filters the third sealing ring image to obtain the fourth sealing ring image; The main control module filters the image of the fourth sealing ring according to the first preset radius range, filters out the inner circumference, and establishes a coordinate system with the center of the inner circumference as the origin. The main control module performs secondary filtering on the fourth sealing ring image to obtain the fifth sealing ring image; The main control module analyzes and processes the image of the fifth sealing ring to obtain the image detection result and outputs the image detection result and the image of the fifth sealing ring.

5. The method for detecting defects in sealing rings according to claim 5, characterized in that, The main control module performs feature processing on the first image information, including: The first image information is subjected to white balance processing to obtain the second sealing ring image.

6. The method for detecting defects in sealing rings according to claim 5, characterized in that, The main control module performs image segmentation processing on the second sealing ring image, including: The second image information is binarized and segmented into color blocks to obtain a third sealing ring image containing the color blocks.

7. The method for detecting defects in sealing rings according to claim 7, characterized in that, The main control module performs filtering processing on the third sealing ring image, including: Calculate the maximum diameter distance in each color block in the third sealing ring image, and filter out all color blocks that meet the preset diameter distance range to obtain the fourth sealing ring image.

8. The method for detecting defects in sealing rings according to claim 8, characterized in that, The main control module performs secondary filtering on the fourth sealing ring image, including: Calculate the circumference of the convex shell of each color block in the fourth sealing ring image, and filter out all color blocks that meet the preset convex shell circumference range to obtain the fifth sealing ring image.

9. The method for detecting defects in sealing rings according to claim 9, characterized in that, The main control module 250 analyzes and processes the image of the fifth sealing ring to obtain an image detection result and outputs the image detection result and the image of the fifth sealing ring, including: Calculate the number of convex shell perimeters and determine whether the number of convex shell perimeters is greater than or equal to the preset number of convex shell perimeters. When the number of convex hull perimeters is less than the preset number of convex hull perimeters, the image detection result is output as unqualified; When the perimeter of the convex hull is greater than or equal to a preset number, the number of pixels in each color block is calculated within the radius of a second preset annulus, with the center of the circle as the origin, in the coordinate system. When the number of pixels is within the preset pixel count range, the image detection result is output as qualified; If the number of pixels is not within the preset pixel count range, the image detection result is output as unqualified.