CN114648533A - Method, device and equipment for detecting concave-convex surface gluing effect and storage medium - Google Patents

Method, device and equipment for detecting concave-convex surface gluing effect and storage medium Download PDF

Info

Publication number
CN114648533A
CN114648533A CN202210560260.9A CN202210560260A CN114648533A CN 114648533 A CN114648533 A CN 114648533A CN 202210560260 A CN202210560260 A CN 202210560260A CN 114648533 A CN114648533 A CN 114648533A
Authority
CN
China
Prior art keywords
gluing
detection
image
contour
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.)
Granted
Application number
CN202210560260.9A
Other languages
Chinese (zh)
Other versions
CN114648533B (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.)
Shenzhen Yuanshuo Automation Technology Co ltd
Original Assignee
Shenzhen Yuanshuo Automation 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 Shenzhen Yuanshuo Automation Technology Co ltd filed Critical Shenzhen Yuanshuo Automation Technology Co ltd
Priority to CN202210560260.9A priority Critical patent/CN114648533B/en
Publication of CN114648533A publication Critical patent/CN114648533A/en
Application granted granted Critical
Publication of CN114648533B publication Critical patent/CN114648533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/0006Industrial image inspection using a design-rule based approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for detecting the gluing effect of a concave-convex surface, wherein the method comprises the following steps: acquiring a gluing image of a gluing object with a gluing surface being a concave-convex surface after gluing, and determining a contour to be detected in the gluing image based on the gluing image; inputting the outline to be detected into a preset gluing detection model, and judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image; the method comprises the steps of automatically judging and processing a gluing image based on a judging condition corresponding to each gluing detection type in the gluing detection model, wherein the gluing detection model at least comprises one gluing detection type and each judging condition of the gluing detection type, namely, the precise judging and processing are automatically carried out on the gluing image based on the judging condition corresponding to each gluing detection type in the gluing detection model, and therefore a precise gluing detection result of the gluing image is obtained.

Description

Method, device and equipment for detecting concave-convex surface gluing effect and storage medium
Technical Field
The application relates to the technical field of gluing detection, in particular to a method, a device, equipment and a storage medium for detecting a gluing effect of a concave-convex surface.
Background
With the wider application field of the adhesive, more and more automatic optical detection technologies are applied to the gluing detection.
At present, automatic optical detection equipment is divided into 3D detection equipment and 2D detection equipment, wherein the 3D detection equipment can only detect a gluing part and cannot detect the relation between a gluing object and a gluing object, while the traditional 2D detection equipment can detect the relation between the gluing object and the gluing object, but the detection method usually carries out comparison detection through a standard picture and a picture to be detected, and as the gluing process is more and more refined, the defect of gluing is difficult to detect through the picture comparison method, so that the detection accuracy of the automatic optical detection equipment on the gluing effect of the concave-convex surface is low.
Disclosure of Invention
The application mainly aims to provide a method, a device, equipment and a storage medium for detecting the concave-convex surface gluing effect, and aims to solve the technical problem that the detection accuracy of the concave-convex surface gluing effect in the prior art is low.
Acquiring a gluing image of a gluing object with a gluing surface being a concave-convex surface after gluing, and determining a contour to be detected in the gluing image based on the gluing image;
inputting the outline to be detected into a preset gluing detection model, and judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image;
the gluing detection model at least comprises a gluing detection type and a judgment condition of each gluing detection type.
Optionally, the step of obtaining a gumming image of a gumming object with a gumming surface being a concave-convex surface after gumming, and determining a contour to be detected in the gumming image based on the gumming image includes:
acquiring a gluing image of a gluing object with a concave-convex gluing surface after gluing, and performing gray value analysis on the gluing image to obtain a gray value of each pixel in the gluing image, wherein the gluing image is composed of pixels;
performing contour division on the gluing image based on the gray value of each pixel to determine a contour to be detected in the gluing image;
wherein the contour to be detected at least comprises a gluing contour.
Optionally, before the step of inputting the outline to be detected into a preset gluing detection model, the method includes:
determining the gluing detection type to be detected of the gluing image and a judgment condition corresponding to the gluing detection type;
the method comprises the following steps of judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image, and comprises the following steps:
determining a contour to be detected required in the gluing detection type detection based on the gluing detection type;
and comparing and judging the corresponding contour to be detected with the judging condition corresponding to the gluing detection type to obtain a gluing detection result of the gluing image.
Optionally, the contour to be detected further comprises a blank contour;
the step of determining the contour to be detected required in the detection of the gluing detection type based on the gluing detection type comprises the following steps:
the gluing type at least comprises one of gluing detection, glue margin detection and glue overflow detection;
if the gluing detection type is gluing attachment detection, acquiring the empty glue outline;
and if the type of the gluing detection side is the edge distance detection of glue, or the glue overflow detection, acquiring the gluing outline.
Optionally, the step of comparing and judging the corresponding contour to be detected with the judgment condition corresponding to the gluing detection type to obtain a gluing detection result of the glued image includes:
wherein the judging conditions at least comprise a blank glue threshold value range, a gluing template outline and an outline to be glued
If the glue empty area calculated based on the glue empty outline is not within the glue empty threshold range, determining that the gluing detection result of the glue is unqualified;
if the gluing contour is not in the gluing template contour, determining that the edge distance detection result of the glue is unqualified;
and if the gluing outline exceeds the outline to be glued, determining that the gluing image has glue overflow.
Optionally, before the step of determining that the edge distance detection result of the glue is not qualified if the gluing contour is not within the gluing template contour, the method includes:
determining a reference line of the glue edge distance detection, and correspondingly positioning the gluing outline and the gluing template outline based on the reference line;
and comparing the gluing contour with the gluing template contour, and judging whether the gluing contour is in the gluing template contour.
Optionally, before the step of determining that the glue fitting detection result is not qualified if the glue empty area calculated based on the glue empty outline is not within the glue empty threshold range, the method includes:
calculating the area of the hollow glue outline to obtain the hollow glue area of the hollow glue outline;
comparing the void fraction area to the void fraction threshold range to determine whether the void fraction area is within the void fraction threshold range.
The application still provides a detection device of corrugated surface rubber coating effect, detection device of corrugated surface rubber coating effect includes:
the determining module is used for acquiring a gluing image after gluing of a gluing object with a concave-convex gluing surface, and determining a contour to be detected in the gluing image based on the gluing image;
the detection module is used for inputting the outline to be detected into a preset gluing detection model, judging and processing the outline to be detected based on the gluing detection model, and obtaining a gluing detection result of the gluing image;
the gluing detection model at least comprises a gluing detection type and a judgment condition of each gluing detection type.
Optionally, the determining module further comprises:
the analysis module is used for acquiring a gluing image after gluing of a gluing object with a concave-convex gluing surface, and performing gray value analysis on the gluing image to obtain a gray value of each pixel in the gluing image, wherein the gluing image is composed of pixels;
the first determining submodule is used for carrying out contour division on the gluing image based on the gray value of each pixel and determining a contour to be detected in the gluing image;
wherein the contour to be detected at least comprises a gluing contour.
Optionally, the device for detecting the gluing effect of the concave-convex surface further comprises:
the second determining submodule is used for determining the gluing detection type to be detected of the gluing image and the judgment condition corresponding to the gluing detection type;
the method comprises the following steps of judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image, and comprises the following steps:
the acquisition module is used for determining the contour to be detected required during the detection of the gluing detection type based on the gluing detection type;
and the comparison module is used for comparing and judging the corresponding outline to be detected and the judgment condition corresponding to the gluing detection type to obtain a gluing detection result of the gluing image.
Optionally, the contour to be detected further comprises a blank contour;
the acquisition module includes:
the gluing type at least comprises one of gluing detection, glue margin detection and glue overflow detection;
the first detection unit is used for acquiring the empty glue outline if the gluing detection type is glue bonding detection;
and the second detection unit is used for acquiring the gluing outline if the gluing detection side type is glue margin detection or glue overflow detection.
Optionally, the comparison module comprises:
wherein the judging conditions at least comprise a blank glue threshold value range, a gluing template outline and an outline to be glued
The first judgment module is used for determining that the gluing detection result is unqualified if the glue empty area calculated based on the glue empty outline is not within the glue empty threshold range;
the second judgment module is used for determining that the edge distance detection result of the glue is unqualified if the gluing outline is not in the gluing template outline;
and the third judgment module is used for determining that the gluing image has glue overflow if the gluing outline exceeds the outline to be glued.
Optionally, the second determining module further includes:
the positioning module is used for determining a reference line of the edge distance detection of the glue and correspondingly positioning the gluing outline and the gluing template outline based on the reference line;
and the first comparison unit is used for comparing the gluing contour with the gluing template contour and judging whether the gluing contour is in the gluing template contour.
Optionally, the first determining module includes:
the calculation unit is used for calculating the area of the hollow glue outline to obtain the hollow glue area of the hollow glue outline;
and the second comparison unit is used for comparing the empty glue area with the empty glue threshold range so as to determine whether the empty glue area is in the empty glue threshold range.
The application also provides a check out test set of corrugated surface rubber coating effect, check out test set of corrugated surface rubber coating effect is entity node equipment, the check out test set of corrugated surface rubber coating effect includes: the device comprises a memory, a processor and a program of the method for detecting the concave-convex gluing effect, wherein the program of the method for detecting the concave-convex gluing effect is stored on the memory and can be operated on the processor, and when the program of the method for detecting the concave-convex gluing effect is executed by the processor, the steps of the method for detecting the concave-convex gluing effect can be realized.
The application also provides a storage medium, wherein the storage medium is stored with a program of the detection method for realizing the concave-convex surface gluing effect, and the program of the detection method for the concave-convex surface gluing effect is executed by a processor to realize the steps of the detection method for the concave-convex surface gluing effect.
The application also provides a computer program product comprising a computer program, and the computer program realizes the steps of the method for detecting the concave-convex surface gluing effect when being executed by a processor.
The application provides a method, a device, equipment and a storage medium for detecting the gluing effect of a concave-convex surface, which are compared with a standard picture and a to-be-detected mapping picture in the prior art, so that the detection accuracy of the gluing effect of the concave-convex surface by automatic optical detection equipment is low; inputting the outline to be detected into a preset gluing detection model, and judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image; the gluing detection model at least comprises a gluing detection type and a judgment condition of each gluing detection type. In the application, as long as the determination conditions of the gluing detection type and each gluing type are determined based on the preset gluing detection model, the contour to be detected in the gluing image of the gluing object with the concave-convex gluing surface is obtained, and the contour to be detected and the determination conditions of the corresponding gluing type are determined, the gluing detection result of the gluing image can be accurately obtained.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a first embodiment of a method for detecting the gluing effect of a concave-convex surface in the application;
FIG. 2 is a schematic flow chart of determining a contour to be detected in the method for detecting the gluing effect of the concave-convex surface;
fig. 3 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present application.
The implementation of the objectives, functional features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The embodiment of the application provides a method for detecting a concave-convex surface gluing effect, and in a first embodiment of the method for detecting the concave-convex surface gluing effect, referring to fig. 1, the method for detecting the concave-convex surface gluing effect comprises the following steps:
step S10, obtaining a gluing image after gluing of a gluing object with a gluing surface being a concave-convex surface, and determining a contour to be detected in the gluing image based on the gluing image;
step S20, inputting the outline to be detected into a preset gluing detection model, and judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image;
the gluing detection model at least comprises a gluing detection type and a judgment condition of each gluing detection type.
In this embodiment, the specific application scenarios may be:
the sealant of the electronic elements on the circuit board is detected, as the electronic elements on the circuit board are intermittent, namely the sealant is also intermittent, when the sealant of the electronic elements on the circuit board is detected, if 3D automatic optical detection equipment is used for detection, the intermittent sealant can be detected as a sealant breaking defect, so that qualified products are mistakenly detected as unqualified products, if 2D automatic optical detection equipment is used for detection, the laminating condition of the sealant and the circuit board cannot be accurately detected, so that the unqualified products are leaked and placed, and the detection through the 3D automatic optical detection equipment or the 2D automatic optical detection equipment can cause low detection accuracy.
Or, when the rubber coating is carried out on the side edge of the display screen, because the side edge of the display screen has the step-shaped protrusion, if the 3D automatic optical equipment is used for detection, the step-shaped protrusion of the side edge of the display screen and the gluing condition can not be detected, unqualified products can be missed, if the 2D automatic optical detection equipment is used for passing through picture contrast detection, the rubber coating defect of the display screen can not be accurately detected, and the detection is carried out through the 3D automatic optical detection equipment or the 2D automatic optical detection equipment, so that the detection accuracy is low.
The method comprises the steps of carrying out data analysis, comparison and detection on a gluing image of a gluing object with a concave-convex gluing surface after gluing, determining a gluing detection model in advance, carrying out data analysis on the gluing image of the gluing object with the concave-convex gluing surface after gluing, obtaining a contour to be detected in the gluing image, judging and processing the contour to be detected based on the gluing detection model, and obtaining a gluing detection result of the gluing image.
At present, the gluing detection method after gluing the gluing object with the gluing surface being the concave-convex surface is easy to carry out error detection during detection, namely, because the existing gluing process is more and more fine, only image comparison is carried out during detection, the difference between the gluing image of the gluing object and a standard image is difficult to judge, or the discontinuous place of gluing is judged to be glue breaking during detection.
The method comprises the following specific steps:
step S10, obtaining a gluing image after gluing of a gluing object with a gluing surface being a concave-convex surface, and determining a contour to be detected in the gluing image based on the gluing image;
in this embodiment, it should be noted that the method for detecting the concave-convex surface gluing effect can be applied to a device for detecting the concave-convex surface gluing effect, the device for detecting the concave-convex surface gluing effect belongs to a device for detecting the concave-convex surface gluing effect, and the device for detecting the concave-convex surface gluing effect belongs to a system for detecting the concave-convex surface gluing effect.
For a detection system for the concave-convex surface gluing effect, a preset gluing detection model is arranged in the detection system, and the gluing detection model at least comprises a gluing detection type.
Wherein, each gluing detection type has a corresponding judgment condition.
The gluing detection types at least include but are not limited to gluing attachment detection, gluing margin detection and glue overflow detection.
Specifically, the gluing detection may be to detect whether there is a void between the glue application object and the glue application object, and whether an area of the void contour meets a preset void threshold range.
Wherein the empty glue is not adhered to the gluing object after gluing.
And the blank glue contour is the contour of the area which is not jointed with the gluing object after the gluing object is glued.
Specifically, the edge distance detection of the glue can be to detect whether the gluing contour is within the contour range of the gluing template.
Specifically, the glue overflow detection may be to detect whether the gluing contour is within a contour to be glued of the gluing object.
The judging condition corresponds to the gluing detection type and at least comprises but is not limited to a glue empty threshold range, a gluing template outline and an outline to be glued.
Specifically, the outline to be glued is obtained by performing data analysis on the image before gluing the gluing object.
In this embodiment, a gluing image of a gluing object with a concave-convex gluing surface after gluing is acquired, and the gluing image is subjected to data analysis to obtain a contour to be detected in the gluing image, wherein the gluing image is composed of pixels.
The glue coating object with the concave-convex glue coating surface can be but is not limited to a circuit board, a display screen, a glass plate, a wood plate and the like.
Specifically, the step of obtaining a gluing image of a gluing object with a concave-convex gluing surface after gluing and determining the contour to be detected in the gluing image based on the gluing image comprises the following steps:
step S11, obtaining a gluing image after gluing of a gluing object with a concave-convex gluing surface, and performing gray value analysis on the gluing image to obtain a gray value of each pixel in the gluing image, wherein the gluing image is composed of pixels;
step S12, performing contour division on the gluing image based on the gray value of each pixel, and determining a contour to be detected in the gluing image;
wherein the contour to be detected at least comprises a gluing contour.
Wherein, the contour to be detected also comprises a blank contour.
It should be noted that the gray value is the largest and is the blank outline, wherein the color is whiter and the brightness is brighter as the gray value is larger, that is, the blank outline is brighter in the glue-coated image.
Specifically, the gluing contour is a gluing contour of the glued object after gluing.
The gray value is a gray level value of different degrees of each pixel on a shot black-and-white picture or a black-and-white image reproduced by a display screen due to different colors and brightness of each point of a scene.
In this embodiment, a gumming image of a gumming object with a concave-convex gummed surface after gumming is obtained, a gray value of each pixel in the gumming image is analyzed to obtain a gray level numerical value of each pixel, that is, a gray value of each pixel in the gumming image is obtained, and a gumming contour and a blank contour of the gumming image are divided based on the gray value of each pixel to obtain a side contour to be detected of the gumming image, that is, a gumming contour and a blank contour of the gumming image.
It should be noted that the blank outline can be obtained only when the gluing image has the condition that the gluing object is not attached to the gluing object.
Step S20, inputting the outline to be detected into a preset gluing detection model, and judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image;
the gluing detection model at least comprises a gluing detection type and a judgment condition of each gluing detection type.
Wherein, the gluing detection types can be added or reduced based on the detection requirements.
Wherein, the judgment condition needs to be added or deleted corresponding to the gluing detection type.
In this embodiment, the gluing detection model at least includes a kind of gluing detection type, and includes a determination condition corresponding to the kind of gluing detection, and it should be noted that the determination condition may be set according to different gluing detection requirements.
In this embodiment, the outline to be detected is input into a preset gluing detection model, and the outline to be detected is judged and processed based on the gluing detection type and the corresponding judgment condition in the gluing detection model, so as to obtain a gluing detection result of the gluing object.
Specifically, before the step of inputting the outline to be detected into a preset gluing detection model, the method includes:
step A1, determining the gluing detection type to be detected of the gluing image and the judgment condition corresponding to the gluing detection type;
it should be noted that, determining the type of the glue detection to be detected in the glue image may determine multiple types of glue detection, or may determine one type of glue detection.
The method comprises the following steps of judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image, and comprises the following steps:
step S21, determining the contour to be detected needed in the gluing detection type detection based on the gluing detection type;
and step S22, comparing and judging the corresponding contour to be detected with the judging condition corresponding to the gluing detection type to obtain the gluing detection result of the gluing image.
In this embodiment, a gluing detection type to be detected of the gluing image and a judgment condition corresponding to the gluing detection type are determined, a contour to be detected, which is required when the gluing detection type is detected, is acquired based on the determined gluing detection type, that is, whether the gluing contour or the blank contour is to be acquired is determined based on the determined gluing detection type, the gluing contour or the blank contour is compared with the corresponding judgment condition, and whether the gluing contour or the blank contour meets the corresponding judgment condition is judged.
Specifically, the step of determining the contour to be detected, which is required in the glue application detection type detection, based on the glue application detection type includes:
step B1, if the gluing detection type is gluing fit detection, acquiring the empty glue outline;
and step B2, if the gluing side type is the edge distance detection of glue or the glue overflow detection, acquiring the gluing outline.
In this embodiment, if it is determined that the type of the gluing detection is glue attachment detection, it is necessary to determine the size of the empty glue area between the gluing area of the gluing object and the gluing area of the gluing object, that is, it is necessary to obtain an empty glue profile in the gluing image, and if it is determined that the type of the gluing detection is glue margin detection or glue overflow detection, it is necessary to perform judgment based on the gluing profile, that is, it is necessary to obtain the gluing profile.
In this embodiment, an image acquisition device is used to acquire a gluing image of a gluing object with a concave-convex gluing surface after gluing, the gluing image is subjected to gray value analysis to obtain a gray value of each pixel in the gluing image, a contour to be detected in the gluing image is analyzed according to the gray value of each pixel, and the contour to be detected is compared and judged with a judgment condition of a gluing detection model to obtain a gluing detection result of the gluing image.
The application provides a method, a device, equipment and a storage medium for detecting the gluing effect of a concave-convex surface, which are compared with a standard picture and a to-be-detected mapping picture in the prior art, so that the detection accuracy of the gluing effect of the concave-convex surface by automatic optical detection equipment is low; inputting the outline to be detected into a preset gluing detection model, and judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image; the gluing detection model at least comprises a gluing detection type and a judgment condition of each gluing detection type. In the application, as long as the determination conditions of the gluing detection types and each gluing type are determined based on the preset gluing detection model, the outline to be detected in the gluing image of the gluing object with the gluing surface being the concave-convex surface is obtained, and the outline to be detected and the determination conditions of the corresponding gluing type are determined, the gluing detection result of the gluing image can be accurately obtained.
Further, based on the foregoing embodiment in the present application, another embodiment of the present application is provided, in which the step of comparing and determining the corresponding to-be-detected contour with the determination condition corresponding to the gluing detection type to obtain the gluing detection result of the gluing image includes:
step C10, if the glue empty area calculated based on the glue empty outline is not within the glue empty threshold range, determining that the gluing detection result of the glue is unqualified;
and the empty glue area is the area where the glue is not adhered to the glue coating object.
Specifically, before the step of determining that the glue fitting detection result is unqualified if the glue empty area calculated based on the glue empty outline is not within the glue empty threshold range, the method includes:
step C11, calculating the area of the hollow glue outline to obtain the hollow glue area of the hollow glue outline;
and step C12, comparing the empty glue area with the empty glue threshold range to determine whether the empty glue area is within the empty glue threshold range.
In this embodiment, based on the blank adhesive contour, a blank adhesive area of the blank adhesive contour is calculated, the blank adhesive area is compared with a blank adhesive threshold range, whether the blank adhesive area is within the blank adhesive threshold range is judged, if the blank adhesive area is not within the blank adhesive threshold range, the adhesive bonding detection result is determined to be unqualified, that is, the area of a bright area in the adhesive coating image is calculated, whether the area of the bright area in the adhesive coating image is within the blank adhesive threshold range is judged, and if the area of the bright area is not within the blank adhesive threshold range, the adhesive bonding detection result is determined to be unqualified.
Step C20, if the gluing contour is not in the gluing template contour, determining that the edge distance detection result of the glue is unqualified;
wherein, the outline of the gluing template is artificially determined and marked on the gluing object.
Specifically, before the step of determining that the edge distance detection result of the glue is unqualified if the gluing contour is not within the gluing template contour, the method includes:
step C21, determining a reference line for detecting the edge distance of the glue, and correspondingly positioning the gluing outline and the gluing template outline based on the reference line;
and step C22, comparing the gluing contour with the gluing template contour, and judging whether the gluing contour is in the gluing template contour.
It should be noted that the outline of the gluing template at least includes the minimum outline of the gluing template and the maximum outline of the gluing template.
The reference line for detecting the edge distance of the glue is the start line for comparing the gluing outline with the outline of the gluing template, namely, when the gluing outline is compared with the gluing outline template, the edge of the gluing outline corresponding to the reference line needs to be aligned with the start line.
It should be noted that the reference line may be a line which is determined manually and is marked on the gluing object, or may be a virtual marking line.
In this embodiment, a reference line for detecting the edge distance of the glue is first determined, an edge of the glue application profile corresponding to the reference line is aligned with the reference line, the glue application profile and the glue application template profile are relatively positioned, the glue application profile and the glue application template profile are compared, and whether the glue application profile is within the range of the glue application template profile is determined, wherein the glue application template profile includes a maximum glue application template profile and a minimum glue application template profile, and if the glue application profile is not between the maximum glue application profile and the minimum glue application template profile, that is, the glue application profile is not within the range of the glue application template profile, the result of detecting the edge distance of the glue is determined to be unqualified.
And step C30, if the gluing contour exceeds the contour to be glued, determining that the gluing image has glue overflow.
In this embodiment, the gluing contour and the contour to be glued are overlapped, the gluing contour is compared with the contour to be glued of the gluing object, whether the gluing image overflows or not is judged according to the coverage condition of the gluing contour and the contour to be glued, and if the gluing contour exceeds the contour to be glued, the fact that the gluing image overflows is determined.
In this embodiment, based on different detection types, a corresponding profile to be detected is obtained, the profile to be detected is correspondingly processed, the processed profile to be detected is compared with a corresponding judgment condition, and a gluing detection result is accurately obtained. In the embodiment, the gluing image can be finely detected, so that the accuracy of gluing detection is improved.
Further, based on the foregoing embodiment in the present application, another embodiment of the present application is provided, in which the step of acquiring the glue image after the glue object with the concave-convex glue application surface is glued includes:
photographing a gluing part of a gluing object by matching a high-speed camera with a high-magnification telecentric lens in a gluing process of the gluing object with a concave-convex gluing surface to obtain a gluing image segment;
and splicing the gluing image segments to obtain a gluing image.
The method for acquiring the gluing image can also be acquisition through terminal uploading, acquisition through an image sensor and the like, and acquisition through other area array image acquisition equipment.
Among them, the image acquired by the area array image acquiring apparatus is easier to perform measurement of the area, the size, and the like.
The high-speed camera is an area-array camera.
It should be noted that, in the process of gluing the gluing object, the gluing image segment of the gluing part of the gluing object can be immediately obtained, or the gluing image can be obtained after the gluing of the gluing object is completed.
In this embodiment, in the process of gluing the gluing object, a gluing image segment of the gluing part of the gluing object is immediately obtained, and then the gluing image segment is spliced to quickly obtain a gluing image. In this embodiment, in the process of gluing the gluing object, a gluing image segment of the gluing part of the gluing object is rapidly acquired by the area-array camera, so as to accelerate the speed of gluing detection.
Referring to fig. 3, fig. 3 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 3, the apparatus for detecting the concavo-convex surface gluing effect may include: a processor 1001, such as a CPU, memory 1005, and a communication bus 1002. The communication bus 1002 is used for realizing connection communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Optionally, the device for detecting the concave-convex surface gluing effect may further include a rectangular user interface, a network interface, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. The rectangular user interface may comprise a Display screen (Display), an input sub-module such as a Keyboard (Keyboard), and the optional rectangular user interface may also comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
It will be appreciated by those skilled in the art that the configuration of the apparatus for detecting the meniscus sizing effect shown in figure 3 does not constitute a limitation of the apparatus for detecting the meniscus sizing effect and may comprise more or less components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 3, a memory 1005 as a storage medium may include an operating system, a network communication module, and a program for detecting a bumped surface gluing effect. The operation system is a program for managing and controlling hardware and software resources of the detection equipment for the concave-convex surface gluing effect, and supports the operation of the detection program for the concave-convex surface gluing effect and other software and/or programs. The network communication module is used for realizing communication among the components in the memory 1005 and communication with other hardware and software in the concave-convex surface gluing effect detection system.
In the apparatus for detecting an effect of gluing an uneven surface shown in fig. 3, the processor 1001 is configured to execute a detection program of the effect of gluing an uneven surface stored in the memory 1005, so as to implement any one of the steps of the method for detecting an effect of gluing an uneven surface.
The concrete implementation mode of the detection equipment for the concave-convex surface gluing effect is basically the same as that of each embodiment of the detection method for the concave-convex surface gluing effect, and the detailed description is omitted here.
The application still provides a detection device of corrugated surface rubber coating effect, detection device of corrugated surface rubber coating effect includes:
the determining module is used for acquiring a gluing image after gluing of a gluing object with a concave-convex gluing surface, and determining a contour to be detected in the gluing image based on the gluing image;
the detection module is used for inputting the outline to be detected into a preset gluing detection model, judging and processing the outline to be detected based on the gluing detection model, and obtaining a gluing detection result of the gluing image;
the gluing detection model at least comprises a gluing detection type and a judgment condition of each gluing detection type.
Optionally, the determining module further comprises:
the analysis module is used for acquiring a gluing image after gluing of a gluing object with a concave-convex gluing surface, and performing gray value analysis on the gluing image to obtain a gray value of each pixel in the gluing image, wherein the gluing image is composed of pixels;
the first determining submodule is used for carrying out contour division on the gluing image based on the gray value of each pixel and determining a contour to be detected in the gluing image;
wherein the contour to be detected at least comprises a gluing contour.
Optionally, the device for detecting the concave-convex surface gluing effect further comprises:
the second determining submodule is used for determining the gluing detection type to be detected of the gluing image and the judgment condition corresponding to the gluing detection type;
the method comprises the following steps of judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image, and comprises the following steps:
the acquisition module is used for determining the contour to be detected required during the detection of the gluing detection type based on the gluing detection type;
and the comparison module is used for comparing and judging the corresponding outline to be detected and the judgment condition corresponding to the gluing detection type to obtain a gluing detection result of the gluing image.
Optionally, the obtaining module includes:
the gluing type at least comprises one of gluing detection, glue margin detection and glue overflow detection;
the first detection unit is used for acquiring the empty glue outline if the gluing detection type is glue bonding detection;
and the second detection unit is used for acquiring the gluing outline if the gluing detection side type is glue margin detection or glue overflow detection.
Optionally, the comparison module comprises:
wherein the judging conditions at least comprise a blank glue threshold range, a gluing template outline and an outline to be glued
The first judgment module is used for determining that the gluing detection result is unqualified if the glue empty area calculated based on the glue empty outline is not within the glue empty threshold range;
the second judgment module is used for determining that the edge distance detection result of the glue is unqualified if the gluing outline is not in the gluing template outline;
and the third judgment module is used for determining that the gluing image has glue overflow if the gluing outline exceeds the outline to be glued.
Optionally, the second determining module further includes:
the positioning module is used for determining a reference line of the edge distance detection of the glue and correspondingly positioning the gluing outline and the gluing template outline based on the reference line;
and the first comparison unit is used for comparing the gluing contour with the gluing template contour and judging whether the gluing contour is in the gluing template contour.
Optionally, the first determining module includes:
the calculation unit is used for calculating the area of the hollow glue outline to obtain the hollow glue area of the hollow glue outline;
and the second comparison unit is used for comparing the empty glue area with the empty glue threshold range so as to determine whether the empty glue area is in the empty glue threshold range.
The concrete implementation of the detection device for the concave-convex surface gluing effect is basically the same as that of each embodiment of the detection method for the concave-convex surface gluing effect, and the detailed description is omitted here.
The embodiment of the application provides a storage medium, and the storage medium stores one or more programs, and the one or more programs can be further executed by one or more processors to implement the steps of the method for detecting the concave-convex surface gluing effect.
The specific implementation of the storage medium of the present application is substantially the same as that of each embodiment of the above method for detecting the concave-convex surface gluing effect, and is not described herein again.
The application also provides a computer program product comprising a computer program, and the computer program realizes the steps of the method for detecting the concave-convex surface gluing effect when being executed by a processor.
The specific implementation of the computer program product of the present application is substantially the same as the embodiments of the method for detecting the concave-convex surface gluing effect, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for detecting the gluing effect of a concave-convex surface is characterized by comprising the following steps:
acquiring a gluing image of a gluing object with a gluing surface being a concave-convex surface after gluing, and determining a contour to be detected in the gluing image based on the gluing image;
inputting the outline to be detected into a preset gluing detection model, and judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image;
the gluing detection model at least comprises a gluing detection type and a judgment condition of each gluing detection type.
2. The method for detecting the concave-convex surface gluing effect according to claim 1, wherein the step of obtaining the gluing image of the gluing object with the gluing surface being the concave-convex surface after gluing, and determining the contour to be detected in the gluing image based on the gluing image comprises the steps of:
acquiring a gluing image of a gluing object with a concave-convex gluing surface after gluing, and performing gray value analysis on the gluing image to obtain a gray value of each pixel in the gluing image, wherein the gluing image is composed of pixels;
performing contour division on the gluing image based on the gray value of each pixel to determine a contour to be detected in the gluing image;
wherein the contour to be detected at least comprises a gluing contour.
3. The method for detecting the gluing effect of the concave-convex surface according to claim 1, wherein before the step of inputting the outline to be detected into a preset gluing detection model, the method comprises the following steps:
determining the gluing detection type to be detected of the gluing image and a judgment condition corresponding to the gluing detection type;
the method comprises the following steps of judging and processing the outline to be detected based on the gluing detection model to obtain a gluing detection result of the gluing image, and comprises the following steps:
determining a contour to be detected required during the detection of the gluing detection type based on the gluing detection type;
and comparing and judging the corresponding contour to be detected with the judging condition corresponding to the gluing detection type to obtain a gluing detection result of the gluing image.
4. The method for detecting the gluing effect of the concave-convex surface according to claim 3, wherein the contour to be detected further comprises a blank contour;
the step of determining the contour to be detected required in the detection of the gluing detection type based on the gluing detection type comprises the following steps:
the gluing type at least comprises one of gluing detection, glue edge distance detection and glue overflow detection;
if the gluing detection type is gluing detection, acquiring the empty glue outline;
and if the type of the gluing detection side is the edge distance detection of glue, or the glue overflow detection, acquiring the gluing outline.
5. The method for detecting the gluing effect of the concave-convex surface according to claim 4, wherein the step of comparing and judging the corresponding contour to be detected with the judging condition corresponding to the gluing detection type to obtain the gluing detection result of the gluing image comprises the following steps:
the judging conditions at least comprise a blank glue threshold range, a gluing template outline and a contour to be glued;
if the glue empty area calculated based on the glue empty outline is not within the glue empty threshold range, determining that the gluing detection result of the glue is unqualified;
if the gluing contour is not in the gluing template contour, determining that the edge distance detection result of the glue is unqualified;
and if the gluing outline exceeds the outline to be glued, determining that the gluing image has glue overflow.
6. The method for detecting the gluing effect of the concave-convex surface according to claim 5, wherein before the step of determining that the edge distance detection result of the glue is unqualified if the gluing contour is not in the gluing template contour, the method comprises the following steps:
determining a reference line of the glue edge distance detection, and correspondingly positioning the gluing outline and the gluing template outline based on the reference line;
and comparing the gluing contour with the gluing template contour, and judging whether the gluing contour is in the gluing template contour.
7. The method for detecting the gluing effect of the concave-convex surface according to claim 5, wherein before the step of determining that the gluing detection result of the glue is unqualified if the glue empty area calculated based on the glue empty outline is not within the glue empty threshold range, the method comprises:
calculating the area of the hollow glue outline to obtain the hollow glue area of the hollow glue outline;
comparing the void fraction area to the void fraction threshold range to determine whether the void fraction area is within the void fraction threshold range.
8. The utility model provides a detection apparatus for unsmooth face rubber coating effect, its characterized in that, detection apparatus for unsmooth face rubber coating effect includes:
the determining module is used for acquiring a gluing image after gluing of a gluing object with a concave-convex gluing surface, and determining a contour to be detected in the gluing image based on the gluing image;
the detection module is used for inputting the outline to be detected into a preset gluing detection model, judging and processing the outline to be detected based on the gluing detection model, and obtaining a gluing detection result of the gluing image;
the gluing detection model at least comprises a gluing detection type and a judgment condition of each gluing detection type.
9. The utility model provides a check out test set of unsmooth face rubber coating effect which characterized in that, check out test set of unsmooth face rubber coating effect includes: a memory, a processor and a program stored on the memory for implementing the detection method of the concave-convex surface gluing effect,
the memory is used for storing a program of the detection method for realizing the concave-convex surface gluing effect;
the processor is used for executing the program of the detection method for the concavo-convex surface gluing effect so as to realize the steps of the detection method for the concavo-convex surface gluing effect according to any one of claims 1 to 7.
10. A storage medium having stored thereon a program of a method of detecting a meniscus sizing effect, the program of the method being executed by a processor to perform the steps of the method of detecting a meniscus sizing effect as claimed in any one of claims 1 to 7.
CN202210560260.9A 2022-05-23 2022-05-23 Method, device and equipment for detecting concave-convex surface gluing effect and storage medium Active CN114648533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210560260.9A CN114648533B (en) 2022-05-23 2022-05-23 Method, device and equipment for detecting concave-convex surface gluing effect and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210560260.9A CN114648533B (en) 2022-05-23 2022-05-23 Method, device and equipment for detecting concave-convex surface gluing effect and storage medium

Publications (2)

Publication Number Publication Date
CN114648533A true CN114648533A (en) 2022-06-21
CN114648533B CN114648533B (en) 2022-10-04

Family

ID=81997727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210560260.9A Active CN114648533B (en) 2022-05-23 2022-05-23 Method, device and equipment for detecting concave-convex surface gluing effect and storage medium

Country Status (1)

Country Link
CN (1) CN114648533B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248075A (en) * 2019-07-16 2019-09-17 北京博视智动技术有限公司 Image acquiring device, method and system and dispensing quality determining method and system
CN112037161A (en) * 2019-05-17 2020-12-04 上海贝特威自动化科技有限公司 Gluing analysis method based on area automatic threshold analysis
CN113252625A (en) * 2021-04-27 2021-08-13 歌尔光学科技有限公司 Glue path detection method for glue with fluorescence effect
CN113344901A (en) * 2021-06-25 2021-09-03 北京市商汤科技开发有限公司 Gluing defect detection method and device, storage medium and electronic equipment
CN113507830A (en) * 2021-06-30 2021-10-15 武汉飞恩微电子有限公司 Chip mounter online detection method, device, equipment and storage medium
CN113706456A (en) * 2021-07-14 2021-11-26 武汉逸飞激光股份有限公司 Soft package battery cell glue spraying quality detection method and device, electronic equipment and storage medium
CN114494257A (en) * 2022-04-15 2022-05-13 深圳市元硕自动化科技有限公司 Gluing detection method, device and equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112037161A (en) * 2019-05-17 2020-12-04 上海贝特威自动化科技有限公司 Gluing analysis method based on area automatic threshold analysis
CN110248075A (en) * 2019-07-16 2019-09-17 北京博视智动技术有限公司 Image acquiring device, method and system and dispensing quality determining method and system
CN113252625A (en) * 2021-04-27 2021-08-13 歌尔光学科技有限公司 Glue path detection method for glue with fluorescence effect
CN113344901A (en) * 2021-06-25 2021-09-03 北京市商汤科技开发有限公司 Gluing defect detection method and device, storage medium and electronic equipment
CN113507830A (en) * 2021-06-30 2021-10-15 武汉飞恩微电子有限公司 Chip mounter online detection method, device, equipment and storage medium
CN113706456A (en) * 2021-07-14 2021-11-26 武汉逸飞激光股份有限公司 Soft package battery cell glue spraying quality detection method and device, electronic equipment and storage medium
CN114494257A (en) * 2022-04-15 2022-05-13 深圳市元硕自动化科技有限公司 Gluing detection method, device and equipment and storage medium

Also Published As

Publication number Publication date
CN114648533B (en) 2022-10-04

Similar Documents

Publication Publication Date Title
CN109165162B (en) Test method and related equipment for vehicle-mounted system
US11410277B2 (en) Method and device for blurring image background, storage medium and electronic apparatus
CN114494257B (en) Gluing detection method, device, equipment and storage medium
CN108896545B (en) Gluing detection method and device and computer readable storage medium
WO2024002187A1 (en) Defect detection method, defect detection device, and storage medium
CN113507830A (en) Chip mounter online detection method, device, equipment and storage medium
CN115619787B (en) UV glue defect detection method, system, equipment and medium
CN113304971B (en) 3D dynamic guiding dispensing compensation method, device and equipment and storage medium thereof
US20140320638A1 (en) Electronic device and method for detecting surface flaw of sample
CN113947571A (en) Training method of vehicle damage detection model and vehicle damage identification method
CN113538427B (en) Product defect identification method, device, equipment and readable storage medium
WO2024032006A1 (en) Battery cell detection method and apparatus, and device, readable storage medium and program product
CN109782459B (en) Polaroid attaching detection method and device and display device
CN113781392A (en) Method for detecting adhesive path, electronic device and storage medium
CN113310997A (en) PCB defect confirmation method and device, automatic optical detection equipment and storage medium
CN114648533B (en) Method, device and equipment for detecting concave-convex surface gluing effect and storage medium
CN117589770A (en) PCB patch board detection method, device, equipment and medium
CN117455887A (en) PCB incoming material detection method, device, equipment and medium based on machine vision
CN111083460B (en) Illuminance testing method, device, equipment and medium based on ultra-short focus projection module
CN103137218B (en) Method and device for adjusting pointer
CN113432554B (en) Offset detection method and device for lens photosensitive chip
CN112598652B (en) Gradient transformation-based liquid crystal display edge broken line detection method
CN117078708A (en) Training method, device, equipment, medium and product for image detection and model
CN110953989B (en) Method, device, equipment and medium for measuring product mark position deviation
EP3557526B1 (en) Striated region detection device, striated region detection method, and program

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