Method and system for identifying the bonding state between glass cover plate and touch screen

By using high-definition cameras to obtain image information in the visual detection system, setting the closed curve based on preset boundary optimization rules and determining the center point, the problem of center alignment judgment error when the glass cover plate is fitted with the touch screen is solved, and the accuracy of detection is improved and efficiency.

CN113724215BActive Publication Date: 2025-01-10SHENZHEN RUO FEI TE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110977665.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-24
Publication Date
2025-01-10
Estimated Expiration
2041-08-24

AI Technical Summary

Technical Problem

When the existing vision detection system detects the center alignment of the glass cover plate and the touch screen, the calculation error of the horizontal extension segment due to the side burrs, resulting in judgment errors, affecting the accuracy of fitting alignment.

Method used

Image information is obtained through a high-definition camera, a closed curve is set based on preset boundary optimization rules, a center point of the curve is determined, and the fit state is determined by the target point distance, and edge processing is optimized to improve accuracy.

Benefits of technology

The accuracy and efficiency of centering alignment judgment between the glass cover plate and the touch screen is improved, the consumption of system resources is reduced, and the overall pass rate after fit is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113724215B_ABST
    Figure CN113724215B_ABST
Patent Text Reader

Abstract

The present application relates to a method and system for identifying the bonding state of a glass cover plate and a touch screen, wherein the method includes: after the glass cover plate and the touch screen are bonded, image information is obtained through a high-definition camera; based on the image information and a preset boundary optimization rule, a closed curve 1 is set around the periphery of the glass cover plate image, and a closed curve 2 is set around the periphery of the touch screen image; according to a preset center point determination method, the center point of the closed curve 1 and the center point of the closed curve 2 are obtained; the center point of the closed curve 1 is compared with the center point of the closed curve 2, and if the center point of the closed curve 1 and the center point of the closed curve 2 do not coincide, it is determined that the glass cover plate and the touch screen are not aligned in the center; otherwise, according to the distance between the target point 1 on the closed curve 1 and the target point 2 on the corresponding side of the closed curve 2, it is determined whether the glass cover plate and the touch screen are aligned in the center. The effect of the present application is to improve the accuracy of the determination of the center alignment of the glass cover plate and the touch screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of visual detection, and in particular to a method and system for identifying the bonding state of a glass cover plate and a touch screen. Background Art

[0002] With the development of science and technology, mobile phones and tablet computers are becoming more and more popular. As we all know, electronic products with display screens such as mobile phones and tablet computers often include a body, a backlight panel, a liquid crystal display, a touch screen and a glass cover panel that are bonded to each other.

[0003] In the related art, glass cover plates and touch screens are mostly rounded rectangles or rectangles. During the installation process, after the glass cover plate and the touch screen are initially bonded, a visual inspection system is required to detect the degree of center alignment of the glass cover plate and the touch screen. During the inspection, the inspector first places the bonded glass cover plate and the touch screen in an area surrounded by multiple parallel backlight sources, uses a high-definition camera to obtain image information after the glass cover plate and the touch screen are bonded, and then uses an image processing system to set a number of marked line segments at equal intervals on the side edges of each side of the glass cover plate image, and randomly selects a point on each marked line segment to draw a horizontal extension line segment that intersects with the image edge of the touch screen toward the same side edge of the touch screen image. If the length values ​​of the horizontal extension line segments on non-adjacent sides are equal, it is determined that the glass cover plate and the touch screen are center aligned after bonding.

[0004] With respect to the above-mentioned related technologies, the inventors believe that the following defects exist: since the visual inspection system needs to determine the degree of alignment of the glass cover plate and the touch screen after being bonded together based on the length values ​​of several horizontal extended line segments, and the glass cover plate or the touch screen may have burrs on its sides during the processing process, errors may occur in the measurement of the horizontal extended line segments, resulting in errors in the determination of the center alignment of the glass cover plate and the touch screen after being bonded together. Summary of the invention

[0005] In order to improve the problem of errors in determining the center alignment of a glass cover plate and a touch screen, the present application provides a method and system for identifying the bonding state of a glass cover plate and a touch screen.

[0006] In a first aspect, the present application provides a method for identifying the bonding state between a glass cover plate and a touch screen, using the following technical solution:

[0007] When the glass cover is attached to the touch screen, image information is obtained through a high-definition camera;

[0008] Based on the image information and a preset boundary optimization rule, a closed curve 1 is set around the periphery of the glass cover plate image, and a closed curve 2 is set around the periphery of the touch screen image;

[0009] According to a preset center point determination method, the center point of the closed curve 1 and the center point of the closed curve 2 are obtained;

[0010] Compare the center point of the closed curve one with the center point of the closed curve two. If the center point of the closed curve one does not coincide with the center point of the closed curve two, it is determined that the glass cover plate is not centered on the touch screen. Otherwise, it is determined whether the glass cover plate is centered on the touch screen according to the distance between the target point one on the closed curve one and the target point two on the corresponding side of the closed curve two.

[0011] By adopting the above technical solution, the image edge of the glass cover plate and the image edge of the touch screen are identified based on the image information taken by the high-definition camera. If there are burrs on the image edge of the glass cover plate and the image edge of the touch screen, the image edge of the glass cover plate and the image edge of the touch screen are optimized according to the preset boundary optimization rule to obtain standard closed curve 1 and closed curve 2. If the center points of closed curve 1 and closed curve 2 do not overlap, it is directly determined that the glass cover plate and the touch screen are not centered after being attached; otherwise, it is further determined whether the glass cover plate and the touch screen are centered according to the distance between the target point 1 and the corresponding target point 2, thereby improving the accuracy of the determination of the center alignment of the glass cover plate and the touch screen; and it is helpful to improve the determination efficiency and save system resources.

[0012] Optionally, judging whether the glass cover plate and the touch screen are centered based on the distance between the target point 1 on the closed curve 1 and the target point 2 on the corresponding side of the closed curve 2 includes:

[0013] According to a preset target point selection rule, two points are selected on each side of the closed curve 1 as target points 1, and two points are selected on each side of the closed curve 2 as target points 2, and the distance between the two target points 1 on the same side is equal to the distance between the two target points 2 on the same side;

[0014] Connect one of the target points 2 with one of the target points 1 to obtain an auxiliary line segment 1, and connect another target point 2 with another target point 1 to obtain an auxiliary line segment 2;

[0015] The length value of the auxiliary line segment 1 is compared with the length value of the auxiliary line segment 2. If the length value of the auxiliary line segment 1 is not equal to the length value of the auxiliary line segment 2, it is determined that the glass cover plate is not aligned with the touch screen in the center; otherwise, the length value of the auxiliary line segment 1 and the length value of the auxiliary line segment 2 on both sides of the closed curve 1 that are not adjacent to each other are compared at the same time. If four length values ​​corresponding to the two auxiliary line segments 1 and the two auxiliary line segments 2 on both sides of the closed curve 1 that are not adjacent to each other are equal, it is determined that the glass cover plate is aligned with the touch screen in the center.

[0016] By adopting the above technical solution, considering that the side edge of each side of the glass cover plate is parallel to the side edge of the corresponding side of the touch screen, under the condition that the distance between the two target points 1 is equal to the distance between the two target points 2 on the same side, the length values ​​of the auxiliary line segment 1 and the auxiliary line segment 2 on the same side should be equal. Therefore, when the length values ​​of the auxiliary line segment 1 and the auxiliary line segment 2 on the same side are not equal, even under the condition that the two center points coincide, the glass cover plate and the touch screen are not aligned in the center; when the length values ​​of the auxiliary line segment 1 and the auxiliary line segment 2 on the same side are equal, the length values ​​of the auxiliary line segment 1 and the auxiliary line segment 2 on the two non-adjacent sides of the closed curve 1 are compared. If the four length values ​​are equal, it is determined that the glass cover plate and the touch screen are aligned in the center, which helps to improve the efficiency of the determination of the center alignment of the glass cover plate and the touch screen.

[0017] Optionally, the step of selecting two points on each side of the closed curve 1 as target point 1 and selecting two points on each side of the closed curve 2 as target point 2 according to a preset target point selection rule, and making the distance between the two target points 1 located on the same side equal to the distance between the two target points 2 located on the same side includes:

[0018] Identify the closed curve 1 and the closed curve 2. If there is a curve at the corner of the closed curve 1 or the closed curve 2, hide the curve, and select any point within a preset length range at both ends of each side of the closed curve 1 as the target point 1, and select any point within a preset length range at both ends of each side of the closed curve 2 as the target point 2, and make the distance between the two target points 1 on the same side equal to the distance between the two target points 2 on the same side.

[0019] By adopting the above technical solution, since the shapes of the glass cover plate and the touch screen are mostly rounded rectangles or rectangles, that is, the edges of the glass cover plate and the touch screen behind the hidden curve are mostly line segments, when the side of the glass cover plate is not parallel to the side corresponding to the touch screen, if the touch screen is used as a reference, the deflection of the two ends of the side of the glass cover plate is more obvious, so target point one and target point two are selected at both ends of each side to make the deviation more obvious, which helps to improve the accuracy of the center alignment judgment of the glass cover plate and the touch screen.

[0020] Optionally, after determining that the glass cover plate is aligned with the touch screen in the center if four length values ​​corresponding to two auxiliary line segments 1 and two auxiliary line segments 2 on two non-adjacent sides of the closed curve 1 are all equal, the method further includes:

[0021] It is determined whether the length value of the auxiliary line segment 1 is within a preset standard value range. If the length value of the auxiliary line segment 1 is within the preset standard value range, it is determined that the glass cover plate and the touch screen are overall qualified after being bonded.

[0022] By adopting the above technical solution, considering that after the glass cover plate and the touch screen are centered and aligned, there is a problem that the overall glass cover plate and the touch screen after being bonded do not meet the production standards, so it is necessary to determine whether the length value of the auxiliary line segment one is within the preset standard value range. If the length value of the auxiliary line segment one is within the preset standard value range, it is determined that the overall glass cover plate and the touch screen after being bonded are qualified, which helps to ensure the overall qualified rate of the glass cover plate and the touch screen after being bonded.

[0023] Optionally, the setting of a first closed curve around the periphery of the glass cover plate image and a second closed curve around the periphery of the touch screen image based on the image information and a preset boundary optimization rule includes:

[0024] Based on the image information, draw an actual curve 1 along the edge of the glass cover plate image, and based on the boundary image information, draw an actual curve 2 along the edge of the touch screen image;

[0025] Identifying the actual curve 1 and the actual curve 2;

[0026] It is determined whether there is a protruding curve on each side of the actual curve 1 and the actual curve 2. If so, the protruding curve is hidden, and the line segments on both sides of the protruding curve are connected end to end to form a closed curve 1 and a closed curve 2 respectively; otherwise, the optimization of the sides of the actual curve 1 and the actual curve 2 is canceled.

[0027] By adopting the above technical solution, considering that during the processing, although the burrs on the side edges of the glass cover plate or the touch screen do not affect the qualified judgment itself, they will affect the center alignment judgment after the glass cover plate and the touch screen are bonded together. Therefore, when there is a protruding curve on each side of the actual curve 1 and the actual curve 2, the protruding curve is first hidden, and then the line segments on both sides of the protruding curve are connected end to end to form a closed curve 1 and a closed curve 2 respectively, thereby improving the accuracy of the center alignment judgment after the glass cover plate and the touch screen are bonded together.

[0028] Optionally, the image information includes an image edge of a glass cover plate and an image edge of a touch screen, and before setting a closed curve 1 around a circumference of the glass cover plate image and a closed curve 2 around a circumference of the touch screen image based on the image information and a preset boundary optimization rule, the method further includes:

[0029] Identify the image edge of the glass cover plate and the image edge of the touch screen, determine whether there is a shadow area in the area enclosed by the image edge of the glass cover plate and the area enclosed by the image edge of the touch screen, and if so, send a cleaning prompt to the terminal used to display the image information.

[0030] By adopting the above technical solution, considering that there is dust between the glass cover plate and the touch screen when the glass cover plate is bonded to the touch screen, at this time, there will be a shadow area in the image information. After identifying the shadow area, the visual inspection system sends a cleaning prompt to the terminal used to display the image information, thereby ensuring the overall cleanliness of the glass cover plate and the touch screen after bonding.

[0031] Optionally, obtaining the center point of the closed curve 1 and the center point of the closed curve 2 according to a preset center point determination method includes:

[0032] Identify the closed curve 1 and the closed curve 2, and if no curve exists at the corners of the closed curve 1 and the closed curve 2, connect the diagonals of the closed curve 1 to obtain the center point of the closed curve 1, and connect the diagonals of the closed curve 2 to obtain the center point of the closed curve 2;

[0033] If there are curves at the corners of the closed curve one and the closed curve two, then draw a perpendicular bisector one on any side of the closed curve one, draw a perpendicular bisector two on the side of the closed curve one adjacent to the perpendicular bisector one, intersect the perpendicular bisector two with the perpendicular bisector one to obtain the center point of the closed curve one, draw a perpendicular bisector three on any side of the closed curve two, draw a perpendicular bisector four on the side of the closed curve two adjacent to the perpendicular bisector three, and intersect the perpendicular bisector four with the perpendicular bisector three to obtain the center point of the closed curve two.

[0034] By adopting the above technical solution, when the shape of the touch screen or the glass cover is a rectangle, the diagonals of closed curve one are connected to obtain the center point of closed curve one, and the diagonals of closed curve two are connected to obtain the center point of closed curve two; when the shape of the touch screen or the glass cover is a rounded rectangle, the curves at the corners are first hidden, and then the perpendicular bisectors of two adjacent sides are intersected to obtain the corresponding center point, thereby improving the accuracy and efficiency of determining the center point.

[0035] In a second aspect, the present application provides a system for identifying the bonding state of a glass cover plate and a touch screen, which adopts the following technical solution: the system comprises:

[0036] An image information acquisition module is used to acquire image information through a high-definition camera after the glass cover plate is attached to the touch screen;

[0037] A closed curve setting module, configured to set a first closed curve around the periphery of the glass cover plate image and a second closed curve around the periphery of the touch screen image based on the image information and a preset boundary optimization rule;

[0038] A center point determination module, used to obtain the center point of the closed curve 1 and the center point of the closed curve 2 according to a preset center point determination method;

[0039] The center alignment determination module is used to compare the center point of the closed curve 1 with the center point of the closed curve 2. If the center point of the closed curve 1 does not coincide with the center point of the closed curve 2, it is determined that the glass cover plate and the touch screen are not center aligned; otherwise, according to the distance between the target point 1 on the closed curve 1 and the target point 2 on the corresponding side of the closed curve 2, it is determined whether the glass cover plate and the touch screen are center aligned.

[0040] By adopting the above technical solution, if there are burrs on the image edge of the glass cover plate and the image edge of the touch screen, the image edge of the glass cover plate and the image edge of the touch screen are first optimized according to the preset boundary optimization rule to obtain standard closed curve 1 and closed curve 2. If the center points of closed curve 1 and closed curve 2 do not overlap, it is directly determined that the glass cover plate and the touch screen are not centered after being attached; otherwise, it is further determined whether the glass cover plate and the touch screen are centered according to the distance between the target point 1 and the corresponding target point 2, thereby improving the accuracy of the determination of the center alignment of the glass cover plate and the touch screen; and it is helpful to improve the determination efficiency and save system resources.

[0041] In a third aspect, the present application provides a computer device, which adopts the following technical solution: it includes a memory and a processor, and the memory stores a computer program that can be loaded by the processor and executes any method for identifying the bonding state of a glass cover plate and a touch screen as described above.

[0042] By adopting the above technical solution, according to the preset boundary optimization rules, the image edges of the glass cover plate and the image edges of the touch screen are first optimized to obtain standard closed curves 1 and 2. If the center points of the closed curves 1 and 2 do not overlap, it is directly determined that the glass cover plate and the touch screen are not centered after being attached; otherwise, according to the distance between the target point 1 and the corresponding target point 2, it is further determined whether the glass cover plate and the touch screen are centered, thereby improving the accuracy of the determination of the center alignment of the glass cover plate and the touch screen; and it is helpful to improve the determination efficiency and save system resources.

[0043] In a fourth aspect, the present application provides a storage medium, which adopts the following technical solution: storing a computer program that can be loaded by a processor and execute any of the above-mentioned methods for identifying the bonding state between a glass cover plate and a touch screen.

[0044] By adopting the above technical solution, according to the preset boundary optimization rules, the image edges of the glass cover plate and the image edges of the touch screen are first optimized to obtain standard closed curves 1 and 2. If the center points of the closed curves 1 and 2 do not overlap, it is directly determined that the glass cover plate and the touch screen are not centered after being attached; otherwise, according to the distance between the target point 1 and the corresponding target point 2, it is further determined whether the glass cover plate and the touch screen are centered, thereby improving the accuracy of the determination of the center alignment of the glass cover plate and the touch screen; and it is helpful to improve the determination efficiency and save system resources.

[0045] In summary, the present application includes at least one of the following beneficial technical effects:

[0046] 1. According to the preset boundary optimization rules, the image edges of the glass cover plate and the image edges of the touch screen are first optimized to obtain standard closed curves 1 and 2. If the center points of closed curves 1 and 2 do not overlap, it is directly determined that the glass cover plate and the touch screen are not centered after being attached; otherwise, it is further determined whether the glass cover plate and the touch screen are centered according to the distance between the target point 1 and the corresponding target point 2, thereby improving the accuracy of the determination of the center alignment of the glass cover plate and the touch screen; and it is helpful to improve the determination efficiency and save system resources;

[0047] 2. When the length values ​​of the auxiliary line segment 1 and the auxiliary line segment 2 located on the same side are not equal, the glass cover plate and the touch screen are not aligned in the center even if the two center points coincide with each other; when the length values ​​of the auxiliary line segment 1 and the auxiliary line segment 2 located on the same side are equal, the length value of the auxiliary line segment 1 and the length value of the auxiliary line segment 2 on both sides of the closed curve 1 that are not adjacent are compared. If the four length values ​​are equal, it is determined that the glass cover plate and the touch screen are aligned in the center, which helps to improve the efficiency of the determination of the center alignment of the glass cover plate and the touch screen;

[0048] 3. Since the shapes of the glass cover plate and the touch screen are mostly rounded rectangles or rectangles, that is, the edges of each side of the glass cover plate and the touch screen behind the hidden curve are mostly line segments, when the side of the glass cover plate is not parallel to the corresponding side of the touch screen, if the touch screen is used as a reference, the deflection of the two ends of the side of the glass cover plate is more obvious, so target point 1 and target point 2 are selected at both ends of each side to make the deviation more obvious, which helps to improve the accuracy of the center alignment judgment of the glass cover plate and the touch screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a flow chart of a method for identifying the bonding state between a glass cover plate and a touch screen in an embodiment of the present application.

[0050] Figure 2 It is a flow chart of a method for identifying the bonding state between a glass cover plate and a touch screen in an embodiment of the present application.

[0051] Figure 3 It is a flow chart of a method for identifying the bonding state between a glass cover plate and a touch screen in an embodiment of the present application.

[0052] Figure 4 It is a structural block diagram of a system for identifying the bonding state of a glass cover plate and a touch screen in an embodiment of the present application.

[0053] Explanation of reference numerals: 201, image information acquisition module; 202, dirt removal prompt module; 203, closed curve setting module; 204, center point determination module; 205, center alignment determination module; 206, qualified determination module. DETAILED DESCRIPTION

[0054] The following is combined with Figure 1-4 This application is described in further detail.

[0055] An embodiment of the present application discloses a method for identifying the bonding state of a glass cover plate and a touch screen. The method is mainly based on a visual detection system and a high-definition camera. The visual detection system is used to obtain image information taken by the high-definition camera, and the image information mainly includes image information of the glass cover plate and the touch screen after preliminary bonding.

[0056] like Figure 1 As shown, the method comprises the following steps:

[0057] S100, acquiring image information.

[0058] Specifically, after the glass cover plate and the touch screen are initially bonded together, a high-definition camera is used to photograph the entire glass cover plate and the touch screen after bonding. The visual inspection system obtains image information captured by the high-definition camera, which includes the image edge of the glass cover plate and the image edge of the touch screen.

[0059] S200, setting a closed curve 1 and a closed curve 2.

[0060] Specifically, based on the image information and preset boundary optimization rules, the visual inspection system needs to first set closed curve 1 around the image side of the glass cover plate and set closed curve 2 around the image side of the touch screen. Generally speaking, the shapes of closed curve 1 and closed curve 2 are mostly rounded rectangles or rectangles.

[0061] Specifically, the visual inspection system first draws an actual curve one along the image edge of the glass cover plate that is consistent with the edge of the glass cover plate, and draws an actual curve two along the image edge of the touch screen that is consistent with the edge of the touch screen, and then identifies the actual curve one and the actual curve two to determine whether there are protruding curves on the actual curves one and two. The protruding curves are mainly the edges of the outward protruding parts or the inward recessed notch edges generated during the processing of the glass cover plate and the touch screen. Although the presence of such burrs does not affect the qualified judgment of the glass cover plate or the touch screen itself, it does affect the judgment of the center alignment of the glass cover plate and the touch screen after they are bonded.

[0062] Therefore, when there is a protruding curve on the actual curve one or the actual curve two, the visual inspection system first hides the protruding curve, and then connects the line segments on both sides of the protruding curve end to end to form closed curve one and closed curve two respectively; if there is no protruding curve, the visual inspection system cancels the optimization of the sides of the actual curve one and the actual curve two.

[0063] S300, obtaining the center point of closed curve 1 and the center point of closed curve 2 according to a preset center point determination method.

[0064] Specifically, after drawing closed curve one and closed curve two, the visual inspection system selects a suitable center point determination method according to the shapes of closed curve one and closed curve two to obtain the center point of closed curve one and the center point of closed curve two.

[0065] For example, when closed curve 1 and closed curve 2 are rectangles, that is, there is no curve at the corner of closed curve 1 and closed curve 2, the diagonals of the closed curves are connected to obtain the center point of closed curve 1, and the diagonals of closed curve 2 are connected to obtain the center point of closed curve 2; when closed curve 1 and closed curve 2 are both rounded rectangles, that is, there are curves at the corners of closed curve 1 and closed curve 2, perpendicular bisector 1 is drawn on any side of closed curve 1, perpendicular bisector 2 is drawn on the side of closed curve 1 adjacent to perpendicular bisector 1, and perpendicular bisector 2 is intersected with perpendicular bisector 1 to obtain the center point of closed curve 1, perpendicular bisector 3 is drawn on any side of closed curve 2, perpendicular bisector 4 is drawn on the side of closed curve 2 adjacent to perpendicular bisector 3, and perpendicular bisector 4 is intersected with perpendicular bisector 3 to obtain the center point of closed curve 2.

[0066] S400: Compare the center point of the closed curve 1 with the center point of the closed curve 2 to determine whether the glass cover plate is aligned with the touch screen.

[0067] Specifically, after obtaining the center point of closed curve one and the center point of closed curve two, the visual inspection system first determines whether the center point of closed curve one coincides with the center point of closed curve two. If they do not coincide, it is determined that the glass cover plate and the touch screen are not centered; otherwise, based on the distance between target point one on closed curve one and target point two on the corresponding side of closed curve two, it is determined whether the glass cover plate and the touch screen are centered.

[0068] Specifically, when the center point of the closed curve 1 coincides with the center point of the closed curve 2, according to the preset target point selection rule, two points are selected on each side of the closed curve 1 as the target point 1, and two points are selected on each side of the closed curve 2 as the target point 2, and the distance between the two target points 1 on the same side is equal to the distance between the two target points 2 on the same side, one of the target points 2 is connected with one of the target points 1 to obtain the auxiliary line segment 1, and the other target point 2 is connected with the other target point 1 to obtain the auxiliary line segment 2, and the length value of the auxiliary line segment 1 is compared with the length value of the auxiliary line segment 2. If the length value of the auxiliary line segment 1 is not equal to the length value of the auxiliary line segment 2, it is determined that the glass cover plate is not aligned in the center with the touch screen; otherwise, the length value of the auxiliary line segment 1 and the length value of the auxiliary line segment 2 on both sides of the closed curve 1 that are not adjacent to each other are compared at the same time. If the four length values ​​corresponding to the two auxiliary line segments 1 and the two auxiliary line segments 2 on both sides of the closed curve 1 that are not adjacent to each other are equal, it is determined that the glass cover plate is aligned in the center with the touch screen.

[0069] It is worth noting that when selecting target point one and target point two, the visual detection system first identifies closed curve one and closed curve two. If there is a curve at the corner of closed curve one or closed curve two, the curve is hidden, and any point within the preset length range at both ends of each side of closed curve one is selected as target point one, and any point within the preset length range at both ends of each side of closed curve two is selected as target point two, and the distance between the two target points one on the same side is equal to the distance between the two target points two on the same side. For example, the preset length range is 1cm, and the length of the straight line segments on the two shortest sides of closed curve one is 15cm. For example, taking the two end points of the 15cm long side as the starting point, the range of 1cm extending toward each other is the selection range of target point one. Similarly, the selection range of target point two can be determined.

[0070] In one embodiment, Figure 2 As shown, before setting the closed curve 1 and the closed curve 2, the following steps are also included:

[0071] S101, identifying image information and determining whether there is a shadow area.

[0072] Specifically, considering the possibility that some dust may enter between the glass cover plate and the touch screen when the glass cover plate and the touch screen are attached, the visual inspection system identifies the area enclosed by the image edge of the glass cover plate and the area enclosed by the image edge of the touch screen based on the image information, and determines whether there is a shadow area in the area enclosed by the image edge of the glass cover plate and the area enclosed by the image edge of the touch screen. If there is a shadow area, execute S102; otherwise, execute S200.

[0073] S102, sending a pollution cleaning reminder.

[0074] Specifically, when there is a shadow area, the visual inspection system sends a cleaning prompt to the terminal used to display image information to ensure the overall cleanliness of the glass cover and the touch screen after bonding.

[0075] In one embodiment, Figure 3 As shown, after determining that the glass cover plate is centered with the touch screen, the following further includes:

[0076] S401, judging whether the glass cover plate and the touch screen are qualified after being attached to each other according to the length value of the auxiliary line segment 1.

[0077] Specifically, although the glass cover plate and the touch screen are centered, it does not completely mean that the glass cover plate and the touch screen are qualified after being bonded together. It is necessary to determine whether the length value of the auxiliary line segment one is within the preset standard value range. The standard value range in the embodiment of the present application takes (0, 0.03) mm as an example. If the length value of the auxiliary line segment one is greater than 0.03 mm, it is determined that the glass cover plate and the touch screen are unqualified after being bonded together.

[0078] The implementation principle of the embodiment of the present application is: after the visual inspection system obtains the image information, according to the preset boundary optimization rules, a closed curve 1 is set around the periphery of the glass cover plate image, and a closed curve 2 is set around the periphery of the touch screen image. If the center point of the closed curve 1 does not coincide with the center point of the closed curve 2, it is determined that the glass cover plate and the touch screen are not centered; otherwise, according to the distance between the target point 1 on the closed curve 1 and the target point 2 on the corresponding side of the closed curve 2, it is determined whether the glass cover plate and the touch screen are centered, thereby improving the accuracy of the determination of the center alignment of the glass cover plate and the touch screen.

[0079] Based on the above method, an embodiment of the present application further discloses a system for identifying the bonding state between a glass cover plate and a touch screen.

[0080] like Figure 4 As shown, the system includes the following 6 modules:

[0081] An image information acquisition module 201 is used to acquire image information captured by a high-definition camera, wherein the image information includes an image of an edge of the glass cover plate and an image of an edge of the touch screen;

[0082] The dirt removal prompt module 202 is used to determine whether there is a shadow area in the area framed by the edge of the glass cover plate and the area framed by the edge of the touch screen based on the image information acquisition module 201. If there is a shadow area, the visual inspection system sends a dirt removal prompt to the terminal used to display the image information;

[0083] A closed curve setting module 203, based on the image information acquisition module 201, is used to set a closed curve 1 around the image periphery of the glass cover plate and a closed curve 2 around the image periphery of the touch screen;

[0084] The center point determination module 204 is based on the closed curve setting module 203 and is used to obtain the center point of the closed curve 1 and the center point of the closed curve 2 according to a preset center point determination method;

[0085] The center alignment determination module 205 is used to determine whether the two center points coincide with each other based on the center point determination module 204 and the closed curve setting module 203. If the two center points do not coincide with each other, it is determined that the glass cover plate and the touch screen are not center aligned; otherwise, it is determined whether the glass cover plate and the touch screen are center aligned based on the distance between the target point 1 on the closed curve 1 and the target point 2 on the corresponding side of the closed curve 2;

[0086] The qualified determination module 206 is based on the center alignment determination module 205 and is used to determine whether the glass cover plate and the touch screen are qualified after being attached according to the length value of the auxiliary line segment 1.

[0087] The embodiment of the present application also discloses a computer device.

[0088] Specifically, the device includes a memory and a processor, and the memory stores a computer program that can be loaded by the processor and execute the above-mentioned method for identifying the bonding state between the glass cover plate and the touch screen.

[0089] The embodiment of the present application also discloses a computer-readable storage medium.

[0090] Specifically, the computer-readable storage medium stores a computer program that can be loaded by a processor and execute a method for identifying the bonding state of a glass cover plate and a touch screen as described above. The computer-readable storage medium includes, for example, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0091] The embodiments of this specific implementation method are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Therefore, all equivalent changes made based on the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A method for identifying the bonding state between a glass cover plate and a touch screen, characterized in that: include: When the glass cover is attached to the touch screen, image information is obtained through a high-definition camera; Based on the image information and a preset boundary optimization rule, a closed curve 1 is set around the periphery of the image of the glass cover plate, and a closed curve 2 is set around the periphery of the image of the touch screen; According to a preset center point determination method, the center point of the closed curve 1 and the center point of the closed curve 2 are obtained; Comparing the center point of the closed curve 1 with the center point of the closed curve 2, if the center point of the closed curve 1 does not coincide with the center point of the closed curve 2, determining that the glass cover plate is not aligned with the touch screen in the center; otherwise, determining whether the glass cover plate is aligned with the touch screen in the center according to the distance between the target point 1 on the closed curve 1 and the target point 2 on the corresponding side of the closed curve 2; Wherein, judging whether the glass cover plate and the touch screen are centered and aligned according to the distance between the target point 1 on the closed curve 1 and the target point 2 on the corresponding side of the closed curve 2 comprises: selecting two points on each side of the closed curve 1 as the target point 1, and selecting two points on each side of the closed curve 2 as the target point 2 according to a preset target point selection rule, and making the distance between the two target points 1 located on the same side equal to the distance between the two target points 2 located on the same side; connecting one of the target points 2 and one of the target points 1 to obtain an auxiliary line segment 1, and connecting the other target point 1 to obtain an auxiliary line segment 1; The target point 2 is connected to another target point 1 to an auxiliary line segment 2; the length value of the auxiliary line segment 1 is compared with the length value of the auxiliary line segment 2, if the length value of the auxiliary line segment 1 is not equal to the length value of the auxiliary line segment 2, it is determined that the glass cover plate is not aligned in the center with the touch screen; otherwise, the length value of the auxiliary line segment 1 and the length value of the auxiliary line segment 2 on both sides of the closed curve 1 that are not adjacent to each other are compared at the same time, if the four length values ​​corresponding to the two auxiliary line segments 1 and the two auxiliary line segments 2 on both sides of the closed curve 1 that are not adjacent to each other are all equal, it is determined that the glass cover plate is aligned in the center with the touch screen.

2. The method for identifying the bonding state between a glass cover plate and a touch screen according to claim 1, characterized in that: The step of selecting two points on each side of the closed curve 1 as target point 1 and selecting two points on each side of the closed curve 2 as target point 2 according to a preset target point selection rule, and making the distance between the two target points 1 located on the same side equal to the distance between the two target points 2 located on the same side includes: Identify the closed curve 1 and the closed curve 2. If there is a curve at the corner of the closed curve 1 or the closed curve 2, hide the curve, and select any point within a preset length range at both ends of each side of the closed curve 1 as the target point 1, and select any point within a preset length range at both ends of each side of the closed curve 2 as the target point 2, and make the distance between the two target points 1 on the same side equal to the distance between the two target points 2 on the same side.

3. The method for identifying the bonding state between a glass cover plate and a touch screen according to claim 1, characterized in that: After determining that the glass cover plate is aligned with the touch screen in the center if the four length values ​​corresponding to the two auxiliary line segments 1 and the two auxiliary line segments 2 on the two non-adjacent sides of the closed curve 1 are all equal, the method further includes: It is determined whether the length value of the auxiliary line segment 1 is within a preset standard value range. If the length value of the auxiliary line segment 1 is within the preset standard value range, it is determined that the glass cover plate and the touch screen are overall qualified after being bonded.

4. The method for identifying the bonding state between a glass cover plate and a touch screen according to claim 1, characterized in that: The step of setting a closed curve 1 around the periphery of the glass cover plate image and setting a closed curve 2 around the periphery of the touch screen image based on the image information and a preset boundary optimization rule comprises: Based on the image information, draw an actual curve 1 along the edge of the glass cover plate image, and based on the boundary image information, draw an actual curve 2 along the edge of the touch screen image; Identifying the actual curve 1 and the actual curve 2; It is determined whether there is a protruding curve on each side of the actual curve 1 and the actual curve 2. If so, the protruding curve is hidden, and the line segments on both sides of the protruding curve are connected end to end to form a closed curve 1 and a closed curve 2 respectively; otherwise, the optimization of the sides of the actual curve 1 and the actual curve 2 is canceled.

5. The method for identifying the bonding state between a glass cover plate and a touch screen according to claim 1, characterized in that: The image information includes an image edge of a glass cover plate and an image edge of a touch screen. Before setting a closed curve 1 around the periphery of the glass cover plate image and a closed curve 2 around the periphery of the touch screen image based on the image information and a preset boundary optimization rule, the method further includes: Identify the image edge of the glass cover plate and the image edge of the touch screen, determine whether there is a shadow area in the area enclosed by the image edge of the glass cover plate and the area enclosed by the image edge of the touch screen, and if so, send a cleaning prompt to the terminal used to display the image information.

6. The method for identifying the bonding state between a glass cover plate and a touch screen according to claim 1, characterized in that: The step of obtaining the center point of the closed curve 1 and the center point of the closed curve 2 according to the preset center point determination method comprises: identifying the closed curve 1 and the closed curve 2, and if no curve exists at the corners of the closed curve 1 and the closed curve 2, connecting the diagonal lines of the closed curve 1 to obtain the center point of the closed curve 1, and connecting the diagonal lines of the closed curve 2 to obtain the center point of the closed curve 2; If there are curves at the corners of the closed curve one and the closed curve two, then draw a perpendicular bisector one on any side of the closed curve one, draw a perpendicular bisector two on the side of the closed curve one adjacent to the perpendicular bisector one, intersect the perpendicular bisector two with the perpendicular bisector one to obtain the center point of the closed curve one, draw a perpendicular bisector three on any side of the closed curve two, draw a perpendicular bisector four on the side of the closed curve two adjacent to the perpendicular bisector three, and intersect the perpendicular bisector four with the perpendicular bisector three to obtain the center point of the closed curve two.

7. A system for identifying the bonding state of a glass cover plate and a touch screen, characterized in that: The system comprises: An image information acquisition module (201) is used to acquire image information through a high-definition camera after the glass cover plate is attached to the touch screen; a closed curve setting module (203) is used to set a first closed curve around the periphery of the image of the glass cover plate and a second closed curve around the periphery of the image of the touch screen based on the image information and a preset boundary optimization rule; A center point determination module (204), used to obtain the center point of the closed curve 1 and the center point of the closed curve 2 according to a preset center point determination method; A center alignment determination module (205) is used to compare the center point of the closed curve 1 with the center point of the closed curve 2, and if the center point of the closed curve 1 does not coincide with the center point of the closed curve 2, determine that the glass cover plate and the touch screen are not center aligned; otherwise, determine whether the glass cover plate and the touch screen are center aligned according to the distance between the target point 1 on the closed curve 1 and the target point 2 on the corresponding side of the closed curve 2; Wherein, judging whether the glass cover plate and the touch screen are centered and aligned according to the distance between the target point 1 on the closed curve 1 and the target point 2 on the corresponding side of the closed curve 2 comprises: selecting two points on each side of the closed curve 1 as the target point 1, and selecting two points on each side of the closed curve 2 as the target point 2 according to a preset target point selection rule, and making the distance between the two target points 1 located on the same side equal to the distance between the two target points 2 located on the same side; connecting one of the target points 2 and one of the target points 1 to obtain an auxiliary line segment 1, and connecting the other target point 1 to obtain an auxiliary line segment 1; The target point 2 is connected to another target point 1 to an auxiliary line segment 2; the length value of the auxiliary line segment 1 is compared with the length value of the auxiliary line segment 2, if the length value of the auxiliary line segment 1 is not equal to the length value of the auxiliary line segment 2, it is determined that the glass cover plate is not aligned in the center with the touch screen; otherwise, the length value of the auxiliary line segment 1 and the length value of the auxiliary line segment 2 on both sides of the closed curve 1 that are not adjacent to each other are compared at the same time, if the four length values ​​corresponding to the two auxiliary line segments 1 and the two auxiliary line segments 2 on both sides of the closed curve 1 that are not adjacent to each other are all equal, it is determined that the glass cover plate is aligned in the center with the touch screen.

8. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes a method for identifying a bonding state between a glass cover plate and a touch screen as claimed in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and executes a method for identifying a bonding state between a glass cover plate and a touch screen as claimed in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Electronic device and auxiliary shooting method

    CN104469128A

  • Touch-screen attaching method, touch-screen attaching apparatus and attaching machine

    CN104816535A