CN113686867A - Dispensing quality detection method and device, medium and camera focusing machine - Google Patents
Dispensing quality detection method and device, medium and camera focusing machine Download PDFInfo
- Publication number
- CN113686867A CN113686867A CN202110799147.1A CN202110799147A CN113686867A CN 113686867 A CN113686867 A CN 113686867A CN 202110799147 A CN202110799147 A CN 202110799147A CN 113686867 A CN113686867 A CN 113686867A
- Authority
- CN
- China
- Prior art keywords
- dispensing
- image
- glue
- target
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 33
- 239000003292 glue Substances 0.000 claims abstract description 104
- 238000000034 method Methods 0.000 claims abstract description 55
- 238000009826 distribution Methods 0.000 claims abstract description 36
- 238000012545 processing Methods 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 9
- 238000003860 storage Methods 0.000 claims description 8
- 238000004422 calculation algorithm Methods 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 description 22
- OAICVXFJPJFONN-UHFFFAOYSA-N Phosphorus Chemical compound [P] OAICVXFJPJFONN-UHFFFAOYSA-N 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000011218 segmentation Effects 0.000 description 4
- 238000003848 UV Light-Curing Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 238000004026 adhesive bonding Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000010339 dilation Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000000843 powder Substances 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000004020 luminiscence type Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
Landscapes
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Coating Apparatus (AREA)
Abstract
The invention discloses a method and a device for detecting dispensing quality, a medium and a camera focusing machine, wherein the method comprises the following steps: placing a target module in a target environment matched with identifiable glue to identify a glue dispensing area in the target module through the target environment; obtaining a target image, wherein the target image comprises a dispensing area image; extracting the image of the dispensing area; and judging the distribution condition of the dispensing area to determine the dispensing quality. The invention discloses a dispensing quality detection method, a dispensing quality detection device, a medium and a camera focusing machine, which are used for solving the technical problem that in the prior art, the dispensing quality detection efficiency and accuracy of a camera module are low.
Description
Technical Field
The invention relates to the field of camera module dispensing, in particular to a dispensing quality detection method, a dispensing quality detection device, a dispensing quality detection medium and a camera focusing machine.
Background
Along with the development of science and technology, need carry out some glue to the module that assembles in more and more camera module manufacturing process to increase the reliability and the stability of module, consequently also put forward higher requirement to the detection of gluing the quality.
At present, the detection of the dispensing quality of the camera module in the industry mainly depends on manual detection, and the technical problems of untimely detection, high probability of missed detection and misjudgment and the like exist.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide a dispensing quality detection method, apparatus, medium, and camera focusing machine that overcome or at least partially solve the above problems.
In a first aspect, a method for detecting dispensing quality is provided, where glue used in a dispensing area is identifiable glue, the method comprising:
placing a target module in a target environment matched with the identifiable glue, and identifying a glue dispensing area in the target module through the target environment;
obtaining a target image, wherein the target image comprises a dispensing area image;
extracting the image of the dispensing area;
and judging the distribution condition of the dispensing areas.
Optionally, the identifiable glue is fluorescent glue, the target environment is an ultraviolet light source environment, and the fluorescent glue displays a corresponding characteristic color in the ultraviolet light source environment to mark the dispensing area.
Optionally, the extracting the image of the dispensing area includes: performing binarization processing on the target image to obtain a first processed image; performing expansion processing and contour processing on the first processed image, and extracting a contour with the largest area as a second processed image; and performing logic AND operation on the first processing image and the second processing image to extract the dispensing area image.
Optionally, the determining the distribution of the dispensing regions includes: and judging the size and the position distribution condition of the dispensing area according to the mass center of the dispensing area image so as to determine the dispensing quality.
Optionally, there are N discontinuous sub dispensing region images in the dispensing region image, where N is a natural number greater than or equal to 1, and the size and the position distribution of the dispensing region are determined according to the centroid of the dispensing region image, including: respectively determining the center of mass of each sub-dispensing region image, and calculating the center positions of N center of masses; respectively calculating the distances from the N centroids to the central position; calculating the ratio of the area of each sub-dispensing region image to the square of the corresponding distance in sequence; and judging whether the ratio reaches a threshold value or not so as to determine whether the size of the dispensing area reaches the standard or not.
Optionally, there are N discontinuous sub dispensing region images in the dispensing region image, where N is a natural number greater than or equal to 1, and the size and the position distribution of the dispensing region are determined according to the centroid of the dispensing region image, including: respectively determining the mass center of each sub-dispensing region image, and calculating the distance between N mass centers; and judging whether the ratio of the standard deviation of the distance to the average value of the distance is greater than a preset value or not so as to determine whether the position distribution of the dispensing area reaches the standard or not.
Optionally, after the determining the distribution of the dispensing areas, the method further includes: and if the dispensing area distribution condition is determined to be unqualified for M times, stopping dispensing and giving out a warning to prompt an operator to overhaul.
In a second aspect, a camera focusing machine is provided, which includes a dispensing quality detection module, where the dispensing quality detection module includes a target environment unit, a color camera and a mechanical arm, where the target environment unit and the color camera are integrated on the mechanical arm;
the environment unit is used for providing a target environment so as to identify a glue dispensing area in the camera module, wherein glue used in the glue dispensing area of the camera module is identifiable glue matched with the target environment;
the color camera is used for obtaining a target image, wherein the target image comprises a dispensing area image;
the mechanical arm is used for taking and moving the camera module, and an image algorithm is integrated on the mechanical arm and used for extracting the dispensing area images and judging the dispensing area distribution condition.
In a third aspect, a device for detecting quality of dispensing glue is provided, where the glue used in a dispensing area is identifiable glue, the device comprising:
the identification module is used for placing a target module in a target environment matched with the identifiable glue to identify a glue dispensing area in the target module through the target environment;
the system comprises a shooting module, a processing module and a display module, wherein the shooting module is used for obtaining a target image, and the target image comprises a dispensing area image;
the extraction module is used for extracting the dispensing area image;
and the processing module is used for judging the distribution condition of the dispensing areas.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method of any of the first aspect.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
the recognizable glue is adopted during glue dispensing, so that when the glue dispensing amount is detected, the target module is placed in a target environment matched with the recognizable glue, the glue dispensing area of the target module has a corresponding characteristic display color, the glue dispensing area in the target module can be marked, and a target image with an image of the glue dispensing area can be obtained; furthermore, after the target image is processed, clear and complete dispensing area images can be extracted, the distribution condition of the dispensing areas can be accurately judged, and the dispensing quality detection efficiency and accuracy are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of a dispensing quality detection method in an embodiment of the present application;
fig. 2 to 7 are schematic diagrams illustrating a process of extracting and analyzing an image of a dispensing area according to an embodiment of the present disclosure;
FIG. 8 is a schematic view of a focusing mechanism of a camera in an embodiment of the present application;
fig. 9 is a schematic view of a dispensing quality detection apparatus in an embodiment of the present application;
fig. 10 is a schematic diagram of a storage medium in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a method for detecting the dispensing quality, and solves the technical problems of low dispensing quality detection efficiency and accuracy in the prior art.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
according to the method, identifiable glue is adopted during glue dispensing, and when the glue dispensing amount is detected, a target module is placed in a target environment matched with the identifiable glue so as to identify a glue dispensing area in the target module through the target environment; shooting the target module to obtain a target image, wherein the target image comprises a dispensing area image; extracting the image of the dispensing area; and judging the distribution condition of the dispensing area to determine the dispensing quality.
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In a first aspect, this embodiment provides a method for testing an analytic force of a camera module, as shown in fig. 1, including:
step S101, placing a target module in a target environment matched with the identifiable glue to identify a glue dispensing area in the target module through the target environment;
step S102, obtaining a target image, wherein the target image comprises an image of a dispensing area;
step S103, extracting the dispensing area image;
and step S104, judging the distribution condition of the dispensing areas to determine the dispensing quality.
It should be noted that the method for detecting dispensing quality may be applied to a computer, a detector, and other separate computing devices, and may also be applied to a computing module integrated in a dispensing device or a device including a dispensing module, and is not limited herein and is not listed.
The following describes in detail implementation steps of the method provided in this embodiment with reference to fig. 1:
firstly, step S101 is executed to place the target module in a target environment matched with the identifiable glue, so as to identify a glue dispensing area in the target module through the target environment.
The target environment may be a target light source environment (e.g., an ultraviolet lamp, etc.), a target light-transmitting environment (e.g., a light-transmitting sheet of a specified color, etc.), or a target luminance environment (e.g., a dark-state environment), etc., without limitation.
In a specific implementation process, the target module may be a camera module of various mobile phones, a camera module of a computer, a flat panel camera module, a camera lens module, and the like, which is not limited herein. In order to more accurately and efficiently evaluate the dispensing quality of the module, the actual dispensing area is firstly identified as accurately as possible, so that the identifiable glue is adopted in the dispensing process so as to accurately and conveniently identify the dispensing area in the target module. Specifically, the identifiable glue can be fluorescent glue, the fluorescent glue is made of transparent glue doped with fluorescent agent, one characteristic of the fluorescent glue is that the corresponding characteristic color can be displayed in an ultraviolet light source environment, and by utilizing the characteristic color, the glue dispensing area can be accurately identified. In a specific embodiment, the phosphor may be a red phosphor (model: FX1017X16FR1) which exhibits red color under irradiation of ultraviolet light, but does not change color under irradiation of a general cold light source. In order to obtain the best display effect and ensure that the red fluorescent glue has enough intensity color rendering property under the long-time irradiation condition, an ultraviolet light source with the wave band of 365 nm-375 nm can be selected as the target environment, and preferably, the ultraviolet light source with the wave length of 365nm can be selected. In addition, the target environment can also be an ultraviolet light/white light two-in-one light source, on one hand, the ultraviolet light can identify the fluorescent glue, and on the other hand, the white light can provide a bright field of view, which is beneficial to obtaining a clear image in the later shooting process. In the specific implementation process, the recognizable glue can also be obtained by doping transparent glue with phosphor powder, and the action principle of the recognizable glue is similar to that of fluorescent glue, so that the recognizable glue is not described in detail herein.
In an alternative embodiment, the recognizable glue may be a transparent glue mixed with toner, and the color of the mixed toner may be selected to be easily recorded by the camera, such as red, yellow, etc. bright colors, in order to recognize the actual dispensing area as accurately as possible. In this embodiment, the target light source may be selected from a uv light source or a luminescence light source, as long as it illuminates the field of view to facilitate capture and recording by the camera.
Then, step S102 is executed to obtain a target image, where the target image includes an image of the dispensing area.
In a specific implementation process, the target module can be shot by using a color camera to obtain a target image. And the target image comprises a dispensing area image. In a specific embodiment, the color camera may be integrated on the dispensing device, for example, on a mechanical arm of the dispensing device, or may be disposed on the production line as a separate detection device, which is not limited herein.
Then, step S103 is executed to extract the dispensing area image.
In a specific implementation process, after the target image is obtained, further image processing needs to be performed on the target image to extract an image of the dispensing area. Specifically, the target image may be subjected to threshold segmentation processing to preliminarily extract the dispensing area image, and the dispensing area image may be used as the first processed image. The threshold segmentation is to segment the image according to the gray scale of the image pixel, which is to divide the gray scale of the image into different levels and then determine the meaningful area or the boundary of the object to be segmented by setting the threshold. In a specific implementation process, the dispensing region image may be extracted by any one of threshold segmentation methods in the prior art, such as an experimental method, a minimum mean square error method, a maximum inter-class variance method, and the like, which is not limited in this application. The first processed image includes a dispensing region image and an interference region image, and in order to determine the dispensing quality more accurately and improve the detection accuracy, the interference region needs to be further eliminated, specifically, the first processed image is expanded to complement the discontinuous region therein so as to make the images continuous. Then, contour processing may be performed, that is, a top parent contour (i.e., an outermost contour) of the image after the dilation processing is obtained, so as to help extract a largest interference region in the first image, and use the interference region as the second processed image. In a specific implementation process, the first processing image and the second processing image are subjected to logical AND operation, so that an interference area in the target image can be eliminated to the greatest extent, and a clear dispensing area image is extracted.
In order to clearly show the method in this step, the specific implementation steps of extracting the dispensing area image in this embodiment are explained in detail below with reference to fig. 2 to 6. In this embodiment, the target module is a wide-angle camera module applied to a mobile phone, the wide-angle camera module is dispensed with red fluorescent glue, the wide-angle camera module is photographed in an ultraviolet light source environment, after an image of the wide-angle camera module is obtained, a threshold segmentation process is performed first, and a first processed image as shown in fig. 2 is obtained. In fig. 2, three white oblate oval areas are dispensing areas, and rectangular white areas are interference areas. To exclude the interference region, the dilation process is then performed on fig. 2, resulting in the image shown in fig. 3. In fig. 3, the originally discontinuous area in the rectangular-shaped white area is already substantially continuous, so that the contour processing can be performed. Specifically, the top parent contour (i.e., the outermost contour) in fig. 3 is obtained to obtain the image shown in fig. 4, and then the contour with the largest area in fig. 4 is obtained to obtain the second processed image shown in fig. 5, which is the largest interference area in the present embodiment. Finally, the logical and operation is performed on fig. 2 and 5, and the dispensing area image shown in fig. 6 can be extracted.
Finally, step S104 is executed to determine the distribution of the dispensing areas. Specifically, the size and the position distribution of the dispensing area are determined according to the centroid of the image of the dispensing area, so as to determine the dispensing quality. In a specific implementation process, the dispensing region image has N discontinuous sub-dispensing region images, where N is a natural number greater than or equal to 1. In a specific implementation process, the thickness and the density of the dispensing area are assumed to be uniformly distributed, so that the center of the area of the dispensing area can be used as a centroid, the calculation process of the centroid can be simplified, the calculation efficiency is improved, and the detection efficiency of the dispensing quality is improved. In a specific implementation process, each sub-dispensing area image is provided with a mass center, and the size and the position distribution condition of the dispensing area in the target module can be judged according to the mass center, so that the dispensing quality can be efficiently and accurately determined.
In a specific embodiment, the center of mass of each sub-dispensing region image may be determined, the center position of the N center of mass may be calculated, the distance from the N center of mass to the center position may be calculated, the ratio of the area of each sub-dispensing region image to the square of the corresponding distance may be calculated in sequence, and whether the ratio reaches a threshold value may be determined to determine whether the size of the dispensing region reaches the standard. For the position distribution of the dispensing area, the distances between the N centroids may be calculated first, and then it is determined whether the ratio of the standard deviation of each distance to the average value of each distance is greater than a preset value, so as to determine whether the position distribution of the dispensing area reaches the standard. In a specific implementation process, the size and the position distribution of the dispensing area in the target module can be determined simultaneously or step by step, which is not limited in the present application. In addition, this application still sets up when M confirms that the quality of gluing is unqualified in succession, stop point glues and sends the warning to indicate operating personnel to overhaul, wherein, M is the integer more than or equal to 1. In specific implementation process, M can set up to 3 for example, detects out the unqualified back of point glue quality in 3 times in succession, in time stops the point glue, can avoid causing the point glue of batch bad, sets up reputation alarm lamp and lights and/or whistle simultaneously to the suggestion operating personnel overhauls.
In order to clearly show the method in this step, the specific implementation steps for determining the dispensing quality in this embodiment are explained in detail below with reference to fig. 6 to 7. First, three sub-dispensing regions in fig. 6 are obtained, respective centroids are calculated and are respectively marked as P1, P2 and P3, as shown in fig. 7, distances L1, L2 and L3 between the three centroids are respectively calculated, then ratios of standard deviations and mean values of L1, L2 and L3 are calculated, and whether the position distribution of the dispensing regions is reasonable or not is judged according to the ratios of the standard deviations and the mean values of the distances. Specifically, if the ratio exceeds the set threshold, it indicates that the dispensing position is shifted, and the lens of the camera module may be stained with glue, for example, for the dispensing area of the wide-angle camera module shown in fig. 6, it should ideally form a circle, but if the calculated ratio of the standard deviation to the mean value exceeds the threshold, the distribution state may become a triangle or even a straight line, and the dispensing quality should be determined as being not good. For the size of the dispensing region, the center position of each centroid in fig. 7 may be determined first, which is denoted as P0, distances R1, R2, and R3 from P1, P2, and P3 to P0 are sequentially calculated, then ratios Ratio1, Ratio2, and Ratio3 of the effective region area to the radius square of each sub-dispensing region are respectively calculated, and it is determined whether all the three ratios reach a threshold value, so as to determine that the area of the dispensing region reaches the standard.
In a second aspect, an embodiment of the present application provides a camera focusing machine, as shown in fig. 8, including a dispensing quality detection module 8100, where the dispensing quality detection module 8100 includes a target environment unit 8110, a color camera 8120, and a mechanical arm 8130, where the target environment unit 8110 and the color camera 8120 are integrated on the mechanical arm 8130;
the target environment unit 8110 is configured to provide a target environment to identify a dispensing area in the camera module, where glue used in the dispensing area of the camera module is identifiable glue matched with the target light source;
the color camera 8120 is configured to capture the camera module to obtain a target image, where the target image includes an image of the dispensing area;
the mechanical arm 8130 is used for taking and moving the camera module, and an image algorithm is integrated on the mechanical arm and used for extracting images of the dispensing area and judging the distribution condition of the dispensing area so as to determine the dispensing quality.
In a specific implementation process, the identifiable glue can be fluorescent glue, the fluorescent glue is made of transparent glue doped with fluorescent agent, one characteristic of the fluorescent glue is that a corresponding characteristic color can be displayed in an ultraviolet light source environment, and by utilizing the characteristic color, a dispensing area can be accurately identified. In a specific embodiment, the phosphor may be a red phosphor (model: FX1017X16FR1) which exhibits red color under irradiation of ultraviolet light, but does not change color under irradiation of a general cold light source. In order to obtain the best display effect and ensure that the red fluorescent glue has enough intensity color rendering property under the long-time irradiation condition, the target environment unit 8110 can select an ultraviolet light source with the wave band of 365 nm-375 nm, preferably, the ultraviolet light source with the wave length of 365 nm. In addition, the target environment unit 8110 may also be a two-in-one ultraviolet/white light source, on one hand, the ultraviolet light may identify the fluorescent glue, and on the other hand, the white light may provide a bright field of view, which is helpful for obtaining a clear image in the subsequent shooting process. In the specific implementation process, the recognizable glue can also be obtained by doping transparent glue with phosphor powder, and the action principle of the recognizable glue is similar to that of fluorescent glue, so that the recognizable glue is not described in detail herein. In a specific implementation process, the camera focusing machine provided in this embodiment detects the dispensing quality of the camera module according to the method provided in the first aspect, and for the sake of brevity of the description, detailed description is omitted here.
In an alternative embodiment, the camera focus engine may be a wide angle camera focus engine. The mobile phone camera shooting quality and the requirement on the mobile phone camera are higher and higher in the market, wherein the wide-angle camera becomes an indispensable member of the mobile phone camera due to the unique shooting effect, and the focusing test is required to be carried out on the wide-angle camera to ensure the shooting quality of the wide-angle camera. However, the existing wide-angle camera focusing machine only realizes focusing, dispensing and UV curing, but does not have a dispensing quality detection function, and when poor dispensing occurs, the poor dispensing cannot be found in time, so that the batch of products is poor. Therefore, the dispensing quality detection module is arranged in the current wide-angle camera focusing machine, and after focusing, dispensing and UV curing are carried out, the dispensing quality detection is automatically carried out according to the method provided by the first aspect.
In a third aspect, an embodiment of the present application provides a device for detecting dispensing quality, where glue used in a dispensing area is identifiable glue, as shown in fig. 9, the device includes:
an identifying module 901, configured to place a target module in a target environment matched with the identifiable glue, so as to identify a glue dispensing area in the target module through the target environment;
a shooting module 902, configured to obtain a target image, where the target image includes an image of a dispensing area;
an extracting module 903, configured to extract the image of the dispensing area;
the processing module 904 is configured to determine distribution of the dispensing areas to determine dispensing quality.
In a specific implementation process, the dispensing quality detection apparatus may be a computer, a detector, or other separate computing devices, or may be a computing module integrated on the dispensing device, or a computing module integrated on a focusing device including the dispensing module, and is not limited herein, and is not limited to this.
Since the apparatus described in the embodiment of the present invention is an apparatus used for implementing the method in the embodiment of the present invention, a person skilled in the art can understand the specific structure and the deformation of the apparatus based on the method described in the embodiment of the present invention, and thus the detailed description is omitted here. All devices adopted by the method of the embodiment of the invention belong to the protection scope of the invention.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium 1000, as shown in fig. 10, on which a computer program 1010 is stored, where the computer program 1010 when executed by a processor implements the following steps:
placing a target module in a target environment matched with the identifiable glue, and identifying a glue dispensing area in the target module through the target environment;
obtaining a target image, wherein the target image comprises a dispensing area image;
extracting the image of the dispensing area;
and judging the distribution condition of the dispensing areas.
In particular, the computer program 1010, when executed by a processor, may implement any of the methods of the embodiments of the present invention.
Since the storage medium described in the embodiment of the present invention is a storage medium where a computer program corresponding to a method for implementing the embodiment of the present invention is located, based on the method described in the embodiment of the present invention, a person skilled in the art can know the computer program stored in the storage medium, and thus details are not described here. Any storage medium on which a computer program of the method of the embodiment of the present invention is stored falls within the scope of the present invention.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
the recognizable glue is adopted during glue dispensing, so that when the glue dispensing amount is detected, the target module is placed in a target environment matched with the recognizable glue, the glue dispensing area of the target module has a corresponding characteristic display color, the glue dispensing area in the target module can be marked, and a target image with an image of the glue dispensing area can be obtained; furthermore, after the target image is processed, clear and complete dispensing area images can be extracted, the distribution condition of the dispensing areas can be accurately judged, and the dispensing quality detection efficiency and accuracy are improved.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A glue dispensing quality detection method is characterized in that glue used in a glue dispensing area is identifiable glue, and the method comprises the following steps:
placing a target module in a target environment matched with the identifiable glue, and identifying a glue dispensing area in the target module through the target environment;
obtaining a target image, wherein the target image comprises a dispensing area image;
extracting the image of the dispensing area;
and judging the distribution condition of the dispensing areas.
2. The method of claim 1, wherein the identifiable glue is a fluorescent glue, the target environment is an ultraviolet light source environment, and the fluorescent glue displays a corresponding characteristic color in the ultraviolet light source environment to indicate the dispensing area.
3. The method of claim 1, wherein the extracting the dispensing area image comprises:
performing binarization processing on the target image to obtain a first processed image;
performing expansion processing and contour processing on the first processed image, and extracting a contour with the largest area as a second processed image;
and performing logic AND operation on the first processing image and the second processing image to extract the dispensing area image.
4. The method of claim 1, wherein the determining the distribution of the dispensing areas comprises:
and judging the size and the position distribution condition of the dispensing area according to the mass center of the dispensing area image so as to determine the dispensing quality.
5. The method as claimed in claim 4, wherein the image of dispensing region has N discontinuous sub-images of dispensing region, where N is a natural number greater than or equal to 1, and the determining the size and position distribution of the dispensing region according to the centroid of the image of dispensing region includes:
respectively determining the center of mass of each sub-dispensing region image, and calculating the center positions of N center of masses;
respectively calculating the distances from the N centroids to the central position;
calculating the ratio of the area of each sub-dispensing region image to the square of the corresponding distance in sequence;
and judging whether the ratio reaches a threshold value or not so as to determine whether the size of the dispensing area reaches the standard or not.
6. The method as claimed in claim 4, wherein the image of dispensing region has N discontinuous sub-images of dispensing region, where N is a natural number greater than or equal to 1, and the determining the size and position distribution of the dispensing region according to the centroid of the image of dispensing region includes:
respectively determining the mass center of each sub-dispensing region image, and calculating the distance between N mass centers;
and judging whether the ratio of the standard deviation of the distance to the average value of the distance is greater than a preset value or not so as to determine whether the position distribution of the dispensing area reaches the standard or not.
7. The method according to claim 1, wherein after said determining distribution of dispensing areas, further comprising:
and if the dispensing area distribution condition is determined to be unqualified for M times, stopping dispensing and giving out a warning to prompt an operator to overhaul.
8. A camera focusing machine is characterized by comprising a dispensing quality detection module, wherein the dispensing quality detection module comprises a target environment unit, a color camera and a mechanical arm, wherein the target environment unit and the color camera are integrated on the mechanical arm;
the environment unit is used for providing a target environment so as to identify a glue dispensing area in the camera module, wherein glue used in the glue dispensing area of the camera module is identifiable glue matched with the target environment;
the color camera is used for obtaining a target image, wherein the target image comprises a dispensing area image;
the mechanical arm is used for taking and moving the camera module, and an image algorithm is integrated on the mechanical arm and used for extracting the dispensing area images and judging the dispensing area distribution condition.
9. A kind of some glue quality checkout gear, characterized by, some glue the regional glue of glue is identifiable glue, the said device includes:
the identification module is used for placing a target module in a target environment matched with the identifiable glue to identify a glue dispensing area in the target module through the target environment;
the system comprises a shooting module, a processing module and a display module, wherein the shooting module is used for obtaining a target image, and the target image comprises a dispensing area image;
the extraction module is used for extracting the dispensing area image;
and the processing module is used for judging the distribution condition of the dispensing areas.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110799147.1A CN113686867B (en) | 2021-07-15 | 2021-07-15 | Method and device for detecting dispensing quality, medium and camera focusing machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110799147.1A CN113686867B (en) | 2021-07-15 | 2021-07-15 | Method and device for detecting dispensing quality, medium and camera focusing machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113686867A true CN113686867A (en) | 2021-11-23 |
CN113686867B CN113686867B (en) | 2024-10-11 |
Family
ID=78577127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110799147.1A Active CN113686867B (en) | 2021-07-15 | 2021-07-15 | Method and device for detecting dispensing quality, medium and camera focusing machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113686867B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114624954A (en) * | 2022-03-14 | 2022-06-14 | 江西盛泰精密光学有限公司 | Automatic distinguishing method for dispensing states |
Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007026308A (en) * | 2005-07-20 | 2007-02-01 | Canon Inc | Image processing method and image processor |
US20080226156A1 (en) * | 2007-02-19 | 2008-09-18 | Olympus Corporation | Defect detection apparatus and defect detection method |
JP2010048602A (en) * | 2008-08-20 | 2010-03-04 | Shirai Electronics Industrial Co Ltd | Printed board inspection device and printed board inspection method |
US20110083790A1 (en) * | 2009-10-13 | 2011-04-14 | Nitto Denko Corporation | Method and system for continuously manufacturing liquid-crystal display element |
DE102011018263A1 (en) * | 2011-04-14 | 2012-10-18 | INPRO Innovationsgesellschaft für fortgeschrittene Produktionssysteme in der Fahrzeugindustrie mbH | Method for pulse-thermographic quality and defect classification of e.g. welding point, in body of motor vehicle, involves determining optimal representations so that unclassified probe is automatically locally classified |
KR101503170B1 (en) * | 2013-11-13 | 2015-03-16 | 세메스 주식회사 | Method of inspecting dotting size of adhesive |
CN105866136A (en) * | 2015-01-21 | 2016-08-17 | 苏州兰叶光电科技有限公司 | Camera module optical filter gluing detection apparatus and method |
KR20170025394A (en) * | 2015-08-28 | 2017-03-08 | 디테크 테크놀로지 주식회사 | Method for detecting glue-dispensing condition and detecting mechanism for glue-dispensing condition |
CN107835372A (en) * | 2017-11-30 | 2018-03-23 | 广东欧珀移动通信有限公司 | Imaging method, device, mobile terminal and storage medium based on dual camera |
CN108956625A (en) * | 2018-07-20 | 2018-12-07 | Oppo广东移动通信有限公司 | Glue road detection method and glue road detection device |
CN109118478A (en) * | 2018-07-23 | 2019-01-01 | 昆山丘钛微电子科技有限公司 | A kind of dispensing detection method, device, equipment and medium |
CN109127194A (en) * | 2018-08-22 | 2019-01-04 | 广州瑞松北斗汽车装备有限公司 | Automobile gluing vision follows detection method |
WO2019014810A1 (en) * | 2017-07-17 | 2019-01-24 | 深圳市大疆创新科技有限公司 | Image processing method and device, and intelligent terminal |
CN110248075A (en) * | 2019-07-16 | 2019-09-17 | 北京博视智动技术有限公司 | Image acquiring device, method and system and dispensing quality determining method and system |
CN110646431A (en) * | 2019-10-30 | 2020-01-03 | 易思维(杭州)科技有限公司 | Automatic teaching method of gluing sensor |
CN111263034A (en) * | 2019-05-27 | 2020-06-09 | 苏州松健光学科技有限公司 | Vehicle-mounted camera module focusing device and method |
CN111476782A (en) * | 2020-04-10 | 2020-07-31 | 南通大学 | Automobile rear camera extension line terminal image detection system |
US20210012520A1 (en) * | 2018-08-21 | 2021-01-14 | SZ DJI Technology Co., Ltd. | Distance measuring method and device |
CN112288732A (en) * | 2020-11-05 | 2021-01-29 | 昆山丘钛光电科技有限公司 | Dispensing detection method, device, equipment and system |
WO2021070444A1 (en) * | 2019-10-09 | 2021-04-15 | 株式会社京都製作所 | Determination device, sealing system, estimation model, generation device, determination method, sealing method, and generation method |
CN112734721A (en) * | 2021-01-08 | 2021-04-30 | 昆山丘钛微电子科技股份有限公司 | Optical axis deflection angle detection method, device, equipment and medium |
CN112975907A (en) * | 2021-02-08 | 2021-06-18 | 易思维(杭州)科技有限公司 | Visual detection method for arc-shaped welding seam and adhesive tape |
-
2021
- 2021-07-15 CN CN202110799147.1A patent/CN113686867B/en active Active
Patent Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007026308A (en) * | 2005-07-20 | 2007-02-01 | Canon Inc | Image processing method and image processor |
US20080226156A1 (en) * | 2007-02-19 | 2008-09-18 | Olympus Corporation | Defect detection apparatus and defect detection method |
JP2010048602A (en) * | 2008-08-20 | 2010-03-04 | Shirai Electronics Industrial Co Ltd | Printed board inspection device and printed board inspection method |
US20110083790A1 (en) * | 2009-10-13 | 2011-04-14 | Nitto Denko Corporation | Method and system for continuously manufacturing liquid-crystal display element |
DE102011018263A1 (en) * | 2011-04-14 | 2012-10-18 | INPRO Innovationsgesellschaft für fortgeschrittene Produktionssysteme in der Fahrzeugindustrie mbH | Method for pulse-thermographic quality and defect classification of e.g. welding point, in body of motor vehicle, involves determining optimal representations so that unclassified probe is automatically locally classified |
KR101503170B1 (en) * | 2013-11-13 | 2015-03-16 | 세메스 주식회사 | Method of inspecting dotting size of adhesive |
CN105866136A (en) * | 2015-01-21 | 2016-08-17 | 苏州兰叶光电科技有限公司 | Camera module optical filter gluing detection apparatus and method |
KR20170025394A (en) * | 2015-08-28 | 2017-03-08 | 디테크 테크놀로지 주식회사 | Method for detecting glue-dispensing condition and detecting mechanism for glue-dispensing condition |
WO2019014810A1 (en) * | 2017-07-17 | 2019-01-24 | 深圳市大疆创新科技有限公司 | Image processing method and device, and intelligent terminal |
CN107835372A (en) * | 2017-11-30 | 2018-03-23 | 广东欧珀移动通信有限公司 | Imaging method, device, mobile terminal and storage medium based on dual camera |
CN108956625A (en) * | 2018-07-20 | 2018-12-07 | Oppo广东移动通信有限公司 | Glue road detection method and glue road detection device |
CN109118478A (en) * | 2018-07-23 | 2019-01-01 | 昆山丘钛微电子科技有限公司 | A kind of dispensing detection method, device, equipment and medium |
US20210012520A1 (en) * | 2018-08-21 | 2021-01-14 | SZ DJI Technology Co., Ltd. | Distance measuring method and device |
CN109127194A (en) * | 2018-08-22 | 2019-01-04 | 广州瑞松北斗汽车装备有限公司 | Automobile gluing vision follows detection method |
CN111263034A (en) * | 2019-05-27 | 2020-06-09 | 苏州松健光学科技有限公司 | Vehicle-mounted camera module focusing device and method |
CN110248075A (en) * | 2019-07-16 | 2019-09-17 | 北京博视智动技术有限公司 | Image acquiring device, method and system and dispensing quality determining method and system |
WO2021070444A1 (en) * | 2019-10-09 | 2021-04-15 | 株式会社京都製作所 | Determination device, sealing system, estimation model, generation device, determination method, sealing method, and generation method |
CN110646431A (en) * | 2019-10-30 | 2020-01-03 | 易思维(杭州)科技有限公司 | Automatic teaching method of gluing sensor |
CN111476782A (en) * | 2020-04-10 | 2020-07-31 | 南通大学 | Automobile rear camera extension line terminal image detection system |
CN112288732A (en) * | 2020-11-05 | 2021-01-29 | 昆山丘钛光电科技有限公司 | Dispensing detection method, device, equipment and system |
CN112734721A (en) * | 2021-01-08 | 2021-04-30 | 昆山丘钛微电子科技股份有限公司 | Optical axis deflection angle detection method, device, equipment and medium |
CN112975907A (en) * | 2021-02-08 | 2021-06-18 | 易思维(杭州)科技有限公司 | Visual detection method for arc-shaped welding seam and adhesive tape |
Non-Patent Citations (1)
Title |
---|
刘碧俊: "基于轮廓矩的热敏电阻封装质量检测研究", 测控技术, 18 November 2017 (2017-11-18), pages 50 - 54 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114624954A (en) * | 2022-03-14 | 2022-06-14 | 江西盛泰精密光学有限公司 | Automatic distinguishing method for dispensing states |
Also Published As
Publication number | Publication date |
---|---|
CN113686867B (en) | 2024-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103217436B (en) | Backlight module group defect detection method and equipment | |
CN110049320B (en) | Camera shielding detection method and device, electronic equipment and storage medium | |
CN111311542A (en) | Product quality detection method and device | |
CN105335963A (en) | Edge defect detection method and apparatus | |
CN106157286B (en) | Image processing method and screen light leakage detection method | |
CN101819024B (en) | Machine vision-based two-dimensional displacement detection method | |
US12112505B2 (en) | System and method for determining whether a camera component is damaged | |
WO2020019352A1 (en) | Method, device and system for inspecting camera module, and machine readable storage medium | |
CN102637258A (en) | Method for creating online surface quality detection system defect library | |
CN112819844B (en) | Image edge detection method and device | |
CN112669272B (en) | AOI rapid detection method and rapid detection system | |
CN115861307B (en) | Fascia gun power supply driving plate welding fault detection method based on artificial intelligence | |
CN114813783A (en) | Chip surface flaw detection method | |
CN113192013A (en) | Method and system for detecting defects of light-reflecting surface and electronic equipment | |
CN113686867A (en) | Dispensing quality detection method and device, medium and camera focusing machine | |
CN107240109B (en) | Automatic detection method for instrument scale mark position | |
CN112017065B (en) | Method, device and computer readable storage medium for vehicle damage assessment and claim | |
CN117611568A (en) | Etched line visual detection method, device and storage medium | |
CN112987356A (en) | Method and device for false detection and filtering of foreign matters at bottom of liquid crystal panel | |
CN117274211A (en) | Screen defect detection method and device, terminal equipment and storage medium | |
CN116681677A (en) | Lithium battery defect detection method, device and system | |
CN113554583A (en) | Detection method and detection system for display panel | |
CN107004622B (en) | Defective product mark recognition device for matrix arrangement chip | |
KR100847740B1 (en) | Trace inspection system and control method thereof | |
CN114384089A (en) | System and method for detecting intelligent display screen and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |