CN113686867B - Method and device for detecting dispensing quality, medium and camera focusing machine - Google Patents

Method and device for detecting dispensing quality, medium and camera focusing machine Download PDF

Info

Publication number
CN113686867B
CN113686867B CN202110799147.1A CN202110799147A CN113686867B CN 113686867 B CN113686867 B CN 113686867B CN 202110799147 A CN202110799147 A CN 202110799147A CN 113686867 B CN113686867 B CN 113686867B
Authority
CN
China
Prior art keywords
dispensing area
dispensing
image
target
glue
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.)
Active
Application number
CN202110799147.1A
Other languages
Chinese (zh)
Other versions
CN113686867A (en
Inventor
陈康华
陈芳亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunshan Q Technology Co Ltd
Original Assignee
Kunshan Q Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Kunshan Q Technology Co Ltd filed Critical Kunshan Q Technology Co Ltd
Priority to CN202110799147.1A priority Critical patent/CN113686867B/en
Publication of CN113686867A publication Critical patent/CN113686867A/en
Application granted granted Critical
Publication of CN113686867B publication Critical patent/CN113686867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating 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, a device, a medium and a camera focusing machine for detecting the dispensing quality, wherein the method comprises the following steps: placing a target module in a target environment matched with identifiable glue so as 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 dispensing region image; and judging the distribution condition of the dispensing areas so as to determine the dispensing quality. The invention discloses a method, a device, a medium and a camera focusing machine for detecting the dispensing quality of a camera module, which are used for solving the technical problems of low dispensing quality detection efficiency and accuracy of the camera module in the prior art.

Description

Method and device for detecting dispensing quality, medium and camera focusing machine
Technical Field
The invention relates to the field of dispensing of camera modules, in particular to a method and a device for detecting dispensing quality, a medium and a camera focusing machine.
Background
Along with development of technology, more and more modules are required to be dispensed in the manufacturing process of camera modules, so that reliability and stability of the modules are improved, and therefore, higher requirements are also put forward for detecting dispensing 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, higher probability of missed detection and misjudgment and the like exist.
Disclosure of Invention
The present invention has been made in view of the above-mentioned problems, and provides a method, apparatus, medium, and camera focusing machine for detecting a dispensing quality, which overcome or at least partially solve the above-mentioned problems.
In a first aspect, a method for detecting dispensing quality is provided, wherein glue used in a dispensing area is identifiable glue, and the method includes:
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 dispensing region image;
and judging the distribution condition of the dispensing area.
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 so as to mark the dispensing area.
Optionally, the extracting the dispensing area image 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 to be used as a second processed image; and performing logical AND operation on the first processing image and the second processing image to extract the dispensing area image.
Optionally, the determining the dispensing area distribution condition includes: and judging the size and position distribution of the dispensing area according to the mass center of the dispensing area image so as to determine the dispensing quality.
Optionally, the dispensing area image has N discontinuous sub-dispensing area images, N is a natural number greater than or equal to 1, and the determining, according to the centroid of the dispensing area image, the size and the position distribution of the dispensing area includes: respectively determining the mass centers of the images of each sub-dispensing area, and calculating the central positions of N mass centers; respectively calculating distances from N centroids to the central position; sequentially calculating the ratio of the area of each sub-dispensing area image to the square of the corresponding distance; and judging whether the ratio reaches a threshold value or not so as to determine whether the size of the dispensing area meets the standard or not.
Optionally, the dispensing area image has N discontinuous sub-dispensing area images, N is a natural number greater than or equal to 1, and the determining, according to the centroid of the dispensing area image, the size and the position distribution of the dispensing area includes: respectively determining the mass centers of the images of each sub-dispensing area, and calculating the distances between N mass centers; judging whether the ratio of the standard deviation of the distance to the average value of the distance is larger than a preset value or not so as to determine whether the position distribution of the dispensing area meets the standard or not.
Optionally, after the determining the dispensing area distribution condition, the method further includes: if the distribution condition of the dispensing area is unqualified after the continuous M times of determination, stopping dispensing and giving out a warning to prompt an operator to overhaul.
In a second aspect, a camera focusing machine is provided, including a dispensing quality detection module, where the dispensing quality detection module includes a target environmental unit, a color camera, and a mechanical arm, and the target environmental 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 the 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 image and judging dispensing area distribution conditions.
In a third aspect, a dispensing quality inspection device is provided, wherein the glue used in the dispensing area is identifiable glue, the device comprising:
The identification module is used for placing the target module in a target environment matched with the identifiable glue so as to identify a dispensing area in the target module through the target environment;
The shooting module is used for obtaining a target image, wherein the target image comprises a dispensing area image;
the extraction module is used for extracting the dispensing region image;
and the processing module is used for judging the distribution condition of the dispensing area.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any of the first aspects above.
One or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
When the adhesive dispensing quality is detected, the target module is placed in a target environment matched with the identifiable adhesive, the adhesive dispensing area of the target module has corresponding characteristic display color, and the adhesive dispensing area in the target module can be marked, so that a target image with an image of the adhesive dispensing area can be obtained; furthermore, after the target image is processed, a clear and complete dispensing area image can be extracted, so that the distribution condition of the dispensing area can be accurately judged, and the efficiency and accuracy of dispensing quality detection are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for detecting the quality of a dispensing material according to an embodiment of the present application;
Fig. 2 to 7 are schematic diagrams of a process of extracting and analyzing an image of a dispensing area in an embodiment of the present application;
FIG. 8 is a schematic diagram of a camera focusing machine according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a dispensing quality inspection device according to an embodiment of the present application;
Fig. 10 is a schematic diagram of a storage medium according to an embodiment of the present application.
Detailed Description
The embodiment of the application solves the technical problems of low efficiency and accuracy of detecting the dispensing quality in the prior art by providing the dispensing quality detecting method.
The technical scheme of the embodiment of the application aims to solve the technical problems, and the overall thought is as follows:
The application adopts identifiable glue when dispensing, and when the dispensing quality is detected, a target module is arranged in a target environment matched with the identifiable glue so as to identify a 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 dispensing region image; and judging the distribution condition of the dispensing areas so as 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 resolution 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 so as 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 a dispensing area image;
Step S103, extracting the dispensing region image;
step S104, judging the distribution condition of the dispensing areas so as to determine the dispensing quality.
It should be noted that the method for detecting the dispensing quality can be applied to a computer, a detector and other independent computing devices, and can also be applied to a computing module integrated in a dispensing device or a device including a dispensing module, which is not limited herein, and is not listed here.
The following describes in detail the implementation steps of the method provided in this embodiment with reference to fig. 1:
Firstly, step S101 is executed to place a target module in a target environment matching with the identifiable glue, so as to identify a 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 brightness environment (e.g., a dark state environment), etc., without limitation.
In a specific implementation process, the target module may be a mobile phone camera module, a computer camera module, a tablet camera module, a camera lens module, and the like, which are not limited herein. In order to evaluate the dispensing quality of the module more accurately and efficiently, the actual dispensing area is identified as accurately as possible, so that the identifiable glue is adopted in the dispensing process to accurately and conveniently identify the dispensing area in the target module. Specifically, the identifiable glue may be a fluorescent glue, the fluorescent glue is made of transparent glue doped with a fluorescent agent, and one characteristic of the fluorescent glue is that the fluorescent glue displays a corresponding characteristic color in an ultraviolet light source environment, so that a dispensing area can be accurately identified. In a specific implementation, the fluorescent agent may be a red fluorescent agent (model: FX1017X16FR 1) that shows a red color under ultraviolet light irradiation, but does not change in color under ordinary cold light irradiation. In order to obtain the best display effect, the red fluorescent glue is ensured to have enough color rendering under the condition of long-time irradiation, the target environment can select an ultraviolet light source with the wave band of 365 nm-375 nm, and preferably, the ultraviolet light source with the wave length of 365 nm. In addition, the target environment can be an ultraviolet light/white light two-in-one light source, on one hand, the ultraviolet light can identify fluorescent glue, and on the other hand, the white light can provide a bright field of view, so that a clear image can be obtained in the subsequent shooting process. In a specific implementation process, the identifiable glue can also be obtained by doping transparent glue with phosphor powder, and the function principle of the identifiable glue is similar to that of fluorescent glue and is not described in detail herein.
In an alternative embodiment, the identifiable glue may also be a transparent glue water doped toner, and in order to identify the actual dispensing area as accurately as possible, the color of the doped toner may be chosen to be a bright color that is easy to record by the camera, such as red, yellow, etc. Under the implementation condition, the target light source can be an ultraviolet light source or a cold light source, so long as the field of view can be illuminated, and the capture and recording by the camera are facilitated.
Then, step S102 is performed to obtain a target image, where the target image includes a dispensing area image.
In a specific implementation process, a color camera can be used to shoot the target module to obtain a target image. The target image includes a dispensing region 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 provided on a production line as a separate detection device, which is not limited herein.
After that, step S103 is performed to extract the dispensing area image.
In a specific implementation process, after the target image is obtained, further image processing is required to be performed on the target image so as to extract the dispensing region image. Specifically, the target image may be subjected to a threshold segmentation process to initially extract the dispensing region image, and serve as the first processed image. Threshold segmentation, which is to divide an image according to the gray scale of the pixels of the image, is to divide the gray scale of the image into different levels, and then determine the meaningful area or boundary of the object to be segmented by setting a threshold. In a specific implementation process, any threshold segmentation mode in the prior art such as an experimental method, a minimum mean square error method, a maximum inter-class variance method and the like can be adopted to extract the dispensing region image, and the application is not limited to the above. In order to more accurately judge the dispensing quality and improve the detection precision, the first processed image includes a dispensing area image and an interference area image, and the interference area needs to be further removed, specifically, the first processed image is subjected to expansion processing to complement the intermittent area therein, so that the images are continuous. Thereafter, contour processing may be performed, i.e., a top-level parent contour (i.e., an outermost contour) of the image after the expansion processing is acquired, to help extract a largest interference region in the first image, and to treat the interference region as a 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 removed to the greatest extent, and a clear dispensing area image can be extracted.
In order to more clearly demonstrate the method in this step, the specific implementation steps for extracting the dispensing region image in this embodiment will be explained in detail 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 uses red fluorescent glue to perform dispensing, the wide-angle camera module is photographed in an ultraviolet light source environment, after an image of the wide-angle camera module is obtained, threshold segmentation processing is performed first, and a first processed image as shown in fig. 2 is obtained. In fig. 2, three white flat elliptic regions are dispensing regions, and a rectangular white region is an interference region. To exclude the interference area, the expansion process is then performed on fig. 2, resulting in an image as shown in fig. 3. In fig. 3, the originally discontinuous region in the rectangular white region has been substantially continuous, so that contour processing is possible. Specifically, the top-level parent contour (i.e., the outermost contour) of fig. 3 is obtained to obtain an image as shown in fig. 4, and then the contour with the largest area in fig. 4 is obtained to obtain a second processed image as shown in fig. 5, where the second processed image is the area of greatest interference in this embodiment. Finally, the logical AND operation is carried out on the images in fig. 2 and 5, so that the dispensing area image shown in fig. 6 can be extracted.
Finally, step S104 is executed to determine the distribution of the dispensing area. Specifically, the size and position distribution of the dispensing area can be judged according to the centroid of the dispensing area image so as to determine the dispensing quality. In a specific implementation process, the dispensing area image has N discontinuous sub-dispensing area images, and 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 further improved. In a specific implementation process, each sub-dispensing area image has a centroid, and the size and the position distribution of the dispensing area of the target module can be judged according to the centroid, so that the dispensing quality can be determined efficiently and accurately.
In a specific embodiment, the centroid of each sub-dispensing area image can be determined respectively, the central positions of the N centroids are calculated, then the distances from the N centroids to the central positions are calculated respectively, the ratio of the area of each sub-dispensing area image to the square of the corresponding distance is calculated sequentially, and whether the ratio reaches a threshold value is judged to determine whether the size of the dispensing area meets the standard. For the position distribution of the dispensing area, the distances between N centroids can be calculated, and then whether the ratio of the standard deviation of each distance to the average value of each distance is larger than a preset value is judged to determine whether the position distribution of the dispensing area meets the standard or not. In a specific implementation process, the size and the position distribution condition of the dispensing area of the target module can be judged simultaneously or step by step, which is not limited by the application. In addition, the application also sets up to stop dispensing and give out warning when determining that the dispensing quality is unqualified for M times continuously so as to prompt operators to overhaul, wherein M is an integer greater than or equal to 1. In specific implementation process, M can set up to 3 times for example, detects in 3 continuous times and glues the quality unqualified back at the point, in time stops the point and glues, can avoid causing the point of batch to glue badly, sets up audible and visual alarm lamp and lights and/or whistle simultaneously to indicate operating personnel to overhaul.
In order to more clearly demonstrate the method in this step, the specific implementation of the determination of the spot size quality in this embodiment is explained in detail below with reference to fig. 6 to 7. Firstly, three sub-dispensing areas in fig. 6 are obtained, the respective centroids are calculated and 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 the ratio of the standard deviation of the three L1, L2 and L3 to the average value is calculated, and whether the position distribution of the dispensing areas is reasonable is judged according to the ratio of the standard deviation to the average value 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 glued, for example, for the dispensing area of the wide-angle camera module shown in fig. 6, a circle should be formed in an ideal state, but if the ratio of the calculated standard deviation to the average value exceeds the threshold, the distribution state may become triangular or even be in a straight line distribution, and such dispensing quality should be judged as unacceptable. For the size of the dispensing area, the center position of each centroid in fig. 7 can be determined first, and is marked as P0, distances R1, R2, R3 from P1, P2, P3 to P0 are calculated sequentially, then ratios Ratio1, ratio2, ratio3 of the effective area of each sub-dispensing area to the square of the radius are calculated respectively, and whether all the three ratios reach the threshold is determined, so that the area of the dispensing area 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 environmental unit 8110, a color camera 8120, and a mechanical arm 8130, and the target environmental 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, so as 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, so as to extract the image of the dispensing area and judge 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 a fluorescent agent, one characteristic of the fluorescent glue is that the fluorescent glue can display corresponding characteristic colors in an ultraviolet light source environment, and by using the point, a dispensing area can be accurately identified. In a specific implementation, the fluorescent agent may be a red fluorescent agent (model: FX1017X16FR 1) that shows a red color under ultraviolet light irradiation, but does not change in color under ordinary cold light irradiation. In order to obtain the best display effect, the red fluorescent glue is ensured to have enough intensity of color rendering property under the condition of long-time irradiation, the target environment unit 8110 can select an ultraviolet light source with the wave band of 365 nm-375 nm, and preferably, can select an ultraviolet light source with the wave length of 365 nm. In addition, the target environmental unit 8110 may also be an ultraviolet light/white light two-in-one light source, on one hand, the ultraviolet light may identify 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 a specific implementation process, the identifiable glue can also be obtained by doping transparent glue with phosphor powder, and the function principle of the identifiable glue is similar to that of fluorescent glue and 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, which is not described in detail herein for brevity of description.
In an alternative embodiment, the camera focusing machine may be a wide angle camera focusing machine. In the current market, the shooting quality and requirements of mobile phone cameras are higher and higher, wherein the wide-angle cameras become an indispensable member of the mobile phone cameras due to the unique shooting effect, and in order to ensure the shooting quality of the wide-angle cameras, focusing tests are required to be carried out on the wide-angle cameras. However, the current wide-angle camera focusing machine only realizes focusing, dispensing and UV curing, but has no dispensing quality detection function, and when the dispensing failure occurs, the focusing machine cannot be found in time, so that the batch failure of products is caused. Therefore, the present application sets the dispensing quality detection module in the current wide-angle camera focusing machine, and after focusing, dispensing and UV curing, the dispensing quality detection is automatically performed according to the method provided in the first aspect.
In a third aspect, an embodiment of the present application provides a dispensing quality detecting device, where glue used in a dispensing area is identifiable glue, as shown in fig. 9, including:
The identifying module 901 is configured to place a target module in a target environment matched with the identifiable glue, so as to identify a 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 a dispensing area image;
an extracting module 903, configured to extract the dispensing area image;
And the processing module 904 is used for judging the distribution condition of the dispensing area so as to determine the dispensing quality.
In a specific implementation process, the dispensing quality detecting device may be a computer, a detector, or other independent 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, which is not limited herein, and is not listed herein.
Since the device described in the embodiments of the present invention is a device used for implementing the method of the embodiments of the present invention, based on the method described in the embodiments of the present invention, a person skilled in the art can understand the specific structure and the deformation of the device, and therefore, the description thereof is omitted herein. All devices used in the method of the embodiment of the invention are within the scope of the invention.
In a fourth aspect, embodiments of the present application also provide a computer readable storage medium 1000, as shown in fig. 10, having stored thereon a computer program 1010, which computer program 1010 when executed by a processor performs the steps of:
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 dispensing region image;
and judging the distribution condition of the dispensing area.
In a specific implementation, 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 embodiments of the present invention is a storage medium in which a computer program corresponding to a method of implementing the embodiments of the present invention is located, based on the method described in the embodiments of the present invention, a person skilled in the art can understand the computer program stored in the storage medium, and therefore, the description thereof is omitted herein. All storage media in which the computer program of the method of the embodiment of the present invention is stored are within the scope of the present invention.
The technical scheme provided by the embodiment of the application at least has the following technical effects or advantages:
When the adhesive dispensing quality is detected, the target module is placed in a target environment matched with the identifiable adhesive, the adhesive dispensing area of the target module has corresponding characteristic display color, and the adhesive dispensing area in the target module can be marked, so that a target image with an image of the adhesive dispensing area can be obtained; furthermore, after the target image is processed, a clear and complete dispensing area image can be extracted, so that the distribution condition of the dispensing area can be accurately judged, and the efficiency and accuracy of dispensing quality detection 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. It is therefore intended that the following claims be interpreted as including the 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 modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. The method for detecting the dispensing quality is characterized in that the glue used in the 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 dispensing region image;
Judging the distribution condition of the dispensing area;
the judging of the dispensing area distribution condition comprises the following steps:
judging the size and position distribution of the dispensing area according to the mass center of the dispensing area image so as to determine the dispensing quality;
N discontinuous sub-dispensing area images are arranged in the dispensing area image, N is a natural number which is more than or equal to 1, and the size and position distribution condition of the dispensing area are judged according to the mass center of the dispensing area image, and the method comprises the following steps:
Respectively determining the mass centers of the images of each sub-dispensing area, and calculating the central positions of N mass centers;
Respectively calculating distances from N centroids to the central position;
Sequentially calculating the ratio of the area of each sub-dispensing area image to the square of the corresponding distance;
and judging whether the ratio reaches a threshold value or not so as to determine whether the size of the dispensing area meets the standard or not.
2. The method of claim 1, wherein the identifiable glue is a fluorescent glue and the target environment is an ultraviolet light source environment, the fluorescent glue displaying a corresponding characteristic color in the ultraviolet light source environment to indicate the spot gluing 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 to be used as a second processed image;
And performing logical 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 dispensing area image has N discontinuous sub-dispensing area images, N is a natural number greater than or equal to 1, and the determining the size and the position distribution of the dispensing area according to the centroid of the dispensing area image includes:
Respectively determining the mass centers of the images of each sub-dispensing area, and calculating the distances between N mass centers;
Judging whether the ratio of the standard deviation of the distance to the average value of the distance is larger than a preset value or not so as to determine whether the position distribution of the dispensing area meets the standard or not.
5. The method of claim 1, further comprising, after said determining said dispensing area distribution, the steps of:
If the distribution condition of the dispensing area is unqualified after the continuous M times of determination, stopping dispensing and giving out a warning to prompt an operator to overhaul.
6. The 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, and the target environment unit and the color camera are integrated on the mechanical arm;
The environment unit is used for providing a target environment to identify a glue dispensing area in the camera module, wherein the 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 image and judging dispensing area distribution conditions;
the step of judging the distribution condition of the dispensing area comprises the following steps:
judging the size and position distribution of the dispensing area according to the mass center of the dispensing area image so as to determine the dispensing quality;
N discontinuous sub-dispensing area images are arranged in the dispensing area image, N is a natural number which is more than or equal to 1, and the size and position distribution condition of the dispensing area are judged according to the mass center of the dispensing area image, and the method comprises the following steps:
Respectively determining the mass centers of the images of each sub-dispensing area, and calculating the central positions of N mass centers;
Respectively calculating distances from N centroids to the central position;
Sequentially calculating the ratio of the area of each sub-dispensing area image to the square of the corresponding distance;
and judging whether the ratio reaches a threshold value or not so as to determine whether the size of the dispensing area meets the standard or not.
7. A dispensing quality inspection device characterized in that the glue used in the dispensing area is identifiable glue, the device comprising:
The identification module is used for placing the target module in a target environment matched with the identifiable glue so as to identify a dispensing area in the target module through the target environment;
The shooting module is used for obtaining a target image, wherein the target image comprises a dispensing area image;
the extraction module is used for extracting the dispensing region image;
The processing module is used for judging the distribution condition of the dispensing area;
The processing module is also used for 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;
N discontinuous sub-dispensing area images are arranged in the dispensing area image, N is a natural number which is more than or equal to 1, and the size and position distribution condition of the dispensing area are judged according to the mass center of the dispensing area image, and the method comprises the following steps:
Respectively determining the mass centers of the images of each sub-dispensing area, and calculating the central positions of N mass centers;
Respectively calculating distances from N centroids to the central position;
Sequentially calculating the ratio of the area of each sub-dispensing area image to the square of the corresponding distance;
and judging whether the ratio reaches a threshold value or not so as to determine whether the size of the dispensing area meets the standard or not.
8. A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of any of claims 1-5.
CN202110799147.1A 2021-07-15 2021-07-15 Method and device for detecting dispensing quality, medium and camera focusing machine Active CN113686867B (en)

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 CN113686867A (en) 2021-11-23
CN113686867B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114624954B (en) * 2022-03-14 2024-07-26 江西盛泰精密光学有限公司 Automatic distinguishing method for dot colloid state
CN115797271B (en) * 2022-11-17 2025-10-03 歌尔科技有限公司 A dispensing detection method, device, equipment and medium
CN119779977B (en) * 2024-12-26 2025-11-28 东莞高伟光学电子有限公司 Air outlet hole detection method and monitoring system thereof in optical filter mounting process

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105866136A (en) * 2015-01-21 2016-08-17 苏州兰叶光电科技有限公司 Camera module optical filter gluing detection apparatus and method
CN110248075A (en) * 2019-07-16 2019-09-17 北京博视智动技术有限公司 Image acquiring device, method and system and dispensing quality determining method and system

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007026308A (en) * 2005-07-20 2007-02-01 Canon Inc Image processing method and image processing apparatus
JP2008203034A (en) * 2007-02-19 2008-09-04 Olympus Corp Defect detection device and method
JP2010048602A (en) * 2008-08-20 2010-03-04 Shirai Electronics Industrial Co Ltd Printed board inspection device and printed board inspection method
JP4503689B1 (en) * 2009-10-13 2010-07-14 日東電工株式会社 Method and apparatus for continuous production of liquid crystal display elements
DE102011018263B4 (en) * 2011-04-14 2014-02-13 INPRO Innovationsgesellschaft für fortgeschrittene Produktionssysteme in der Fahrzeugindustrie mbH Process for the pulse thermographic quality and error classification of a joint connection such as a structural bonding in the automotive bodywork sector
KR101503170B1 (en) * 2013-11-13 2015-03-16 세메스 주식회사 Method of inspecting dotting size of adhesive
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
CN108956625B (en) * 2018-07-20 2021-05-04 Oppo广东移动通信有限公司 Glue path detection method and glue path detection device
CN109118478A (en) * 2018-07-23 2019-01-01 昆山丘钛微电子科技有限公司 A kind of dispensing detection method, device, equipment and medium
CN112567201B (en) * 2018-08-21 2024-04-16 深圳市大疆创新科技有限公司 Distance measuring method and device
CN109127194B (en) * 2018-08-22 2021-03-26 广州瑞松北斗汽车装备有限公司 Automobile gluing visual following detection method
CN111263034B (en) * 2019-05-27 2021-06-15 苏州松健光学科技有限公司 Focusing method for vehicle-mounted camera module
JP7448331B2 (en) * 2019-10-09 2024-03-12 株式会社京都製作所 Determination device, sealing system, estimation model, generation device, determination method, sealing method, and generation method
CN110646431B (en) * 2019-10-30 2022-07-05 易思维(杭州)科技有限公司 Automatic teaching method of gluing sensor
CN111476782B (en) * 2020-04-10 2023-04-07 南通大学 Automobile rear camera extension line terminal image detection system
CN112288732A (en) * 2020-11-05 2021-01-29 昆山丘钛光电科技有限公司 A detection method, device, equipment and system for dispensing glue
CN112734721B (en) * 2021-01-08 2024-01-16 昆山丘钛微电子科技股份有限公司 Optical axis deflection angle detection method, device, equipment and medium
CN112975907B (en) * 2021-02-08 2022-04-01 易思维(杭州)科技有限公司 Visual detection method for arc-shaped welding seam and adhesive tape

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105866136A (en) * 2015-01-21 2016-08-17 苏州兰叶光电科技有限公司 Camera module optical filter gluing detection apparatus and method
CN110248075A (en) * 2019-07-16 2019-09-17 北京博视智动技术有限公司 Image acquiring device, method and system and dispensing quality determining method and system

Also Published As

Publication number Publication date
CN113686867A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN113686867B (en) Method and device for detecting dispensing quality, medium and camera focusing machine
CN110049320B (en) Camera shielding detection method and device, electronic equipment and storage medium
CN119198754B (en) A visual inspection system for appearance defects of pressure sensors
CN107796825B (en) Device detection method
WO2020019352A1 (en) Method, device and system for inspecting camera module, and machine readable storage medium
KR101702841B1 (en) Method for monitoring defect in polaroid films
CN108732507A (en) A kind of lithium battery defect detecting device based on battery temperature field and visible images
CN106226316A (en) A kind of single camera wide visual field vision thread detecting device and detection method thereof
CN115861307B (en) Fascia gun power supply driving plate welding fault detection method based on artificial intelligence
CN114820439A (en) PCB bare board defect detection system and method based on AOI
CN108665444B (en) Fluorescent PCB three-proofing paint coating quality detection system and method
CN109507815A (en) The method of defective locations is quickly positioned in a kind of detection of LCD screen backlight
CN108120353A (en) A kind of flash hole detection device and its method based on smart camera
US20240310618A1 (en) Imaging method and apparatus for self-luminous object on biological sample film
TW201500731A (en) Method for discriminating defect of optical films
CN118019971A (en) Bottom inspection device for glass bottle
CN113566704A (en) Bearing assembly ball size detection method based on machine vision
KR20200032898A (en) Apparatus of inspecting denting trace of anisotropic film using line scan camera
CN109945842B (en) Leak detection and labeling error analysis method for end-face labels of bundled round steel
WO2022123859A1 (en) Optical film edge detection method
CN104134618B (en) The size detecting device and size detecting method of a kind of key graphic
CN115457034B (en) Method and device for detecting surface defects of mirror-like workpiece
TWI816549B (en) Automated defect detection methods
CN103234526B (en) Wheel-rail contact relationship visual detection device and detection method thereof
CN118162380A (en) Thermal shrinkage film defect detection method, device and system and electronic equipment

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
GR01 Patent grant