An automated product quality inspection system based on industrial vision

By automatically detecting the flatness and scratches of glass panels through industrial vision technology, combined with the evaluation model, the problem of low detection efficiency and waste in the existing technology is solved, and fast, accurate detection and cost reduction of glass panels are achieved.

CN118549467BActive Publication Date: 2024-10-22SHENZHEN QIANHAI GEZHI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411020254.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-22
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

In the existing technology, the detection of glass panels mainly relies on manual labor, which is inefficient and cannot accurately determine the degree of damage, resulting in waste and increased production costs.

Method used

An automated product quality inspection system based on industrial vision is used to obtain the surface flatness and scratch data of the glass panel through parallel incident light and vertical photography, and is combined with the evaluation model to determine product quality and achieve automated and rapid inspection.

Benefits of technology

It improves detection efficiency, accurately determines whether it can be repaired, and reduces product raw material waste and production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118549467B_ABST
    Figure CN118549467B_ABST
Patent Text Reader

Abstract

The present invention discloses an automated product quality detection system based on industrial vision, which belongs to the field of product detection technology, and includes: a first acquisition unit, which is used for parallel incident light to be incident on the surface of a glass panel at a first angle, to form a first reflected light band, and to obtain a first visual image formed by the movement of the first reflected light band; a flatness unit, which is used to determine the surface flatness data of the glass panel based on the first visual image obtained; a second acquisition unit, which is used to vertically shoot the glass panel to form a second visual image, and mark the defective area on the second visual image; a defect data determination unit, which is used to obtain a third visual image formed by shooting the glass panel at a second angle in the defective area, and determine the scratch data of the defective area based on a scratch evaluation model; an evaluation unit, which is used to determine product quality data based on a panel evaluation model. The present application improves detection efficiency and reduces product raw material waste costs through automated visual detection and evaluation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of product detection, and more specifically, to an automated product quality detection system based on industrial vision. Background Art

[0002] With the continuous development of consumer electronic products, the use of touch screens has gradually replaced traditional buttons, especially in smart tablets and smart phones. In the production process of glass panels, the overall flatness of the glass panel is often not high due to processing technology, contact with hard objects, etc., and it is easy to get scratches, which affects the product quality.

[0003] If there are only minor problems, they can be repaired through grinding and other processes to meet the use requirements. The current inspection method is generally through naked eye observation, which has detection errors, resulting in the discarding of glass panels that have not reached the scrap level, causing waste.

[0004] Therefore, the prior art has defects and is in urgent need of improvement. Summary of the invention

[0005] In view of the above problems, an object of the present invention is to provide an automated product quality detection system based on industrial vision to solve the related technical problems existing in the prior art.

[0006] In a first aspect, the present invention provides an automated product quality detection system based on industrial vision, comprising:

[0007] A first acquisition unit, configured to provide parallel incident light incident on a surface of the glass panel at a first angle to form a first reflected light band, and to acquire a first visual image formed by movement of the first reflected light band;

[0008] a flatness unit, configured to determine surface flatness data of the glass panel based on the first visual image obtained;

[0009] A second acquisition unit, configured to vertically photograph the glass panel to form a second visual image, and mark a defective area on the second visual image;

[0010] a defect data determining unit, configured to obtain a third visual image formed by photographing the glass panel at a second angle at the defect area, and determine scratch data of the defect area based on a scratch evaluation model;

[0011] A marking unit, used to establish a coordinate system with any two adjacent sides of the glass panel as the X-axis and the Y-axis, and mark the scratch data and surface flatness data of the defective area;

[0012] An evaluation unit is used to determine product quality data based on a panel evaluation model.

[0013] Preferably, the parallel incident light is incident on the surface of the glass panel at a first angle to form a first reflected light band, and obtaining a first visual image formed by the movement of the first reflected light band comprises:

[0014] Prepare parallel incident light with the same width as the glass panel, and make the parallel incident light incident on the glass panel;

[0015] Adjusting the angle between the parallel incident light and the glass panel to be a first angle, so that the glass panel forms a first reflected light band after reflection;

[0016] The parallel incident light moves along the length direction of the glass panel, and a plurality of the first reflected light bands formed in the process of the parallel incident light moving are obtained;

[0017] A plurality of the first reflected light bands form a first visual image.

[0018] Preferably, determining the surface flatness data of the glass panel based on the obtained first visual image comprises:

[0019] Acquire a curvature change value of each of the first reflected light bands in the first visual image;

[0020] Determining surface flatness data of the glass panel based on a curvature variation value of each of the first reflected light bands;

[0021] Abnormal jump points in the first visual image are obtained and marked as front scratch areas.

[0022] Preferably, the surface flatness data of the glass panel is determined based on the curvature change value of each of the first reflected light bands, including:

[0023] intercepting a plurality of curved segments on the first reflected light band, and calculating the radian value of each curved segment;

[0024] Selecting a curved segment whose curvature value is greater than a set curvature threshold as a characteristic curved segment, and taking an average value of the curvature values ​​of a plurality of characteristic curved segments as a curvature change value of the current first reflected light band;

[0025] The average value of the curvature variation values ​​of all the first reflected light bands is obtained as the surface flatness data of the glass panel.

[0026] Preferably, vertically photographing the glass panel to form a second visual image, and marking the defective area on the second visual image, comprises:

[0027] photographing the glass panel vertically to form a second visual image;

[0028] Mark all defective areas on the glass panel based on scratch recognition;

[0029] The scratch area outside the marked front scratch area is marked as the back scratch area.

[0030] Preferably, obtaining a third visual image formed by photographing the glass panel at a second angle at the defective area, and determining scratch data of the defective area based on a scratch evaluation model comprises:

[0031] Acquire length data, width data and depth data of scratches in the front scratch area;

[0032] Acquire length data, width data and depth data of scratches in the scratch area on the reverse side;

[0033] The front side scratch data and the back side scratch data are determined based on the scratch evaluation model.

[0034] Preferably, obtaining scratch depth data of the front scratch area and the back scratch area includes:

[0035] Determine the center point of the scratch width;

[0036] Based on the third visual image, mark the display point of the bottom of the scratch on the glass panel, and determine the distance between the center point and the display point as the display distance;

[0037] Based on a third visual image formed by photographing the scratched area of ​​the glass panel, determining an angle between the photographing direction and a vertical direction of the glass panel as a second angle;

[0038] Determining a refraction angle corresponding to the second angle based on a refractive index of the glass panel;

[0039] Based on the refraction angle and the display distance, the depth data of the scratch is determined.

[0040] Preferably, determining the front scratch data and the back scratch data based on the scratch evaluation model includes:

[0041] Obtaining the length data of the scratch, and dividing the scratch into n segments on average based on the length data;

[0042] Get the width and depth data of each of the n scratches;

[0043] The front scratch data and the back scratch data are determined based on the scratch evaluation model, wherein the scratch evaluation model is as follows:

[0044] ;

[0045] in, is the scratch data. When m is 1, the scratch data is the front scratch data. When m is 2, the scratch data is the back scratch data. is the length of the scratch; n is the length of the scratch average number of segments; is the width of the i-th scratch; is the depth data of the i-th scratch.

[0046] Preferably, a coordinate system is established with any two adjacent sides of the glass panel as the X-axis and the Y-axis, and scratch data and surface flatness data of the defective area are marked, including:

[0047] Establishing a coordinate system with any two adjacent sides of the glass panel as the X-axis and the Y-axis;

[0048] Mark the scratch data on the front and back of the scratch area, including the scratch start and end point coordinate data, scratch width data, and scratch depth data;

[0049] Mark the surface flatness data of the glass panel.

[0050] Preferably, determining product quality data based on the panel evaluation model includes:

[0051] Obtaining surface flatness data of the glass panel;

[0052] Obtaining scratch data on the front and back of the glass panel;

[0053] The surface flatness data, front scratch data and back scratch data are input into a panel evaluation model to obtain evaluation data.

[0054] A second aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a server, the steps in the system as described in any one of the above items are implemented.

[0055] Beneficial effects:

[0056] The present invention applies to an automated product quality detection system based on industrial vision, comprising: a first acquisition unit, for parallel incident light incident on the surface of a glass panel at a first angle to form a first reflected light band, and to obtain a first visual image formed by the movement of the first reflected light band; a flatness unit, for determining the surface flatness data of the glass panel based on the first visual image obtained; a second acquisition unit, for vertically photographing the glass panel to form a second visual image, and marking the defective area on the second visual image; a defect data determination unit, for obtaining a third visual image formed by photographing the glass panel at a second angle in the defective area, and determining the scratch data of the defective area based on a scratch evaluation model; a marking unit, for establishing a coordinate system with any two adjacent sides of the glass panel as the X-axis and the Y-axis, marking the scratch data and surface flatness data of the defective area; an evaluation unit, for determining product quality data based on a panel evaluation model. The present application realizes automated and rapid detection of glass panels through industrial vision, and evaluates the glass panels, improves detection efficiency, and determines whether they can be repaired without being discarded, thereby reducing the cost of product raw material waste. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0058] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment of size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.

[0059] Figure 1 A block diagram of an automatic product quality detection system based on industrial vision provided by the present invention is shown;

[0060] Figure 2 A flowchart showing the steps of acquiring a first visual image in a first acquisition unit provided by the present invention is shown;

[0061] Figure 3 A flow chart showing the steps of obtaining surface flatness data in the flatness unit provided by the present invention is shown;

[0062] Figure 4A flowchart showing the steps of marking a defect area on a second visual image in a second acquisition unit provided by the present invention is shown;

[0063] Figure 5 A flowchart showing the steps of determining scratch data in the defect data determining unit provided by the present invention is shown;

[0064] Figure 6 A flowchart showing the steps of marking scratch data and surface flatness data in the marking unit provided by the present invention is shown;

[0065] Figure 7 A flow chart showing the steps of determining product quality data in the evaluation unit provided by the present invention is shown. DETAILED DESCRIPTION

[0066] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0067] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0068] In order to solve the problem that glass panel inspection in the prior art generally adopts low efficiency of manual inspection and cannot judge the degree of damage of the glass panel, the present application respectively inspects the scratches on the front and back of the glass panel and the surface flatness through visual inspection, and makes a comprehensive evaluation at the same time, and gives feedback on whether it can be repaired, thereby reducing the scrap rate and reducing production costs.

[0069] In a first aspect, the present invention provides an automated product quality detection system based on industrial vision, such as Figure 1 As shown, including:

[0070] A first acquisition unit 01 is used for parallel incident light incident on the surface of the glass panel at a first angle to form a first reflected light band, and to acquire a first visual image formed by the movement of the first reflected light band;

[0071] A flatness unit 02, used to determine surface flatness data of the glass panel based on the obtained first visual image;

[0072] The second acquisition unit 03 is used to vertically photograph the glass panel to form a second visual image, and mark the defective area on the second visual image;

[0073] A defect data determination unit 04 is used to obtain a third visual image formed by photographing the glass panel at a second angle in the defect area, and determine scratch data of the defect area based on a scratch evaluation model;

[0074] The marking unit 05 is used to establish a coordinate system with any two adjacent sides of the glass panel as the X-axis and the Y-axis, and mark the scratch data and surface flatness data of the defective area;

[0075] The evaluation unit 06 is used to determine product quality data based on the panel evaluation model.

[0076] In the embodiment of the present application, the first acquisition unit 01 is used to acquire the first visual image. Specifically, when in use, the length, width and thickness data of the glass panel to be processed are determined, so as to facilitate the use of corresponding equipment and parameters to determine the first visual image. For example, the width data of the glass panel is determined, and the width of the corresponding parallel incident light can be further selected according to the width data of the glass panel. In this embodiment, the parallel incident light can be white light emitted by an LED, etc., which emits reflected light after hitting the glass panel. Since the parallel incident light in this embodiment is a strip, it will also form a first reflected light band in the form of a strip after being reflected by the glass panel. When the flatness of the glass panel is high, the first reflected light band is the same strip as the parallel incident light. When the flatness of the glass panel is poor, the first reflected light band is bent as a whole or partially to form a curved reflection strip with a certain curvature.

[0077] In order to obtain the overall flatness data of the glass panel, this embodiment adopts the method of relatively moving the glass panel and the parallel incident light, especially moving the parallel incident light from one end to the other end in the length direction of the glass panel. During this process, the first reflected light band is continuously collected to form a first visual image.

[0078] Specifically, the parallel incident light is incident on the surface of the glass panel at a first angle to form a first reflected light band, and a first visual image formed by the movement of the first reflected light band is obtained, such as Figure 2 As shown, the steps include:

[0079] Step 101, prepare parallel incident light of the same width as the glass panel, and direct the parallel incident light into the glass panel; in this step, in order to better reflect the overall flatness of the glass panel, the width of the prepared parallel incident light strip should be the same as the width of the glass panel, so that the two ends of the parallel incident light are respectively aligned with the two ends of the width direction of the glass panel.

[0080] Step 102, adjusting the angle between the parallel incident light and the glass panel to a first angle, and the glass panel forms a first reflected light band after reflection; in this step, the first angle (angle range is 0-90°) is selected for incident, and the first reflected light band is formed after reflection by the glass panel. Due to different selected angles, the distances of multiple first emitted light bands will be different, so that the length of the first visual image is greater than the actual length of the glass panel. Therefore, in this step, the length of the first visual image is adjusted to be the same as the length of the glass panel in proportion, and then the flatness data of the glass panel is evaluated.

[0081] In step 103, the parallel incident light moves along the length direction of the glass panel to obtain a plurality of first reflected light bands formed during the movement of the parallel incident light. In this step, a plurality of first reflected light bands are formed during the movement of the parallel incident light. The first reflected light bands have no obvious boundaries, but their shapes can be determined artificially according to the positions of the first reflected light bands, so as to facilitate the subsequent calculation of the flatness data.

[0082] Step 104, multiple first reflected light bands form a first visual image. In this step, in order to reduce or avoid the error of the first angle selection on the flatness data of the glass panel, specifically, the length of the first visual image is adjusted to be the same as the length of the glass panel in proportion, and then the flatness data of the glass panel is evaluated.

[0083] In the embodiment of the present application, the flatness unit 02 is used to determine the surface flatness data of the glass panel based on the first visual image obtained. The first visual image has been obtained by the first acquisition unit 01, and the flatness state of the glass panel can be intuitively seen through the first visual image. However, in order to better determine the flatness data for evaluating whether the glass panel can be further used after repair, the specific steps are as follows: Figure 3 As shown, including:

[0084] Step 201, obtaining the curvature change value of each first reflective light band in the first visual image; in this step, each first reflective light band has its own curvature change value, when the curvature change of the first reflective light band is small, its curvature change value is low, and when the curvature change of the first reflective light band is large, its curvature change value is high.

[0085] Step 202, based on the curvature change value of each first reflected light band, determine the surface flatness data of the glass panel; through the above steps, the curvature change value data of each first reflected light band can be obtained, and the curvature change values ​​of each first reflected light band are summarized to evaluate the surface flatness data of the entire glass panel.

[0086] In this step, determine the surface flatness data of the glass panel, the steps are as follows:

[0087] Several curved segments on the first reflective light band are intercepted, and the radian value of each curved segment is calculated; in this step, the specific shape of each first reflective light band can be clearly seen through the first visual image, and the first reflective light band can be divided into curved segments of equal length by the average division method, or the long straight segment of the first reflective light band can be removed and the remaining segment can be directly divided into curved segments of equal length by the average division method. The radian value of each curved segment is further calculated. In this embodiment, based on image recognition technology, the radian value of the relevant curved segment can be directly calculated, or it can be calculated by relevant existing image recognition technology, which will not be repeated here.

[0088] The curved segment with a curvature value greater than the set curvature threshold is selected as the characteristic curved segment, and the average curvature value of multiple characteristic curved segments is used as the curvature change value of the current first reflection light band; the curvature value of each curved segment has been calculated through the above steps. In this embodiment, a curvature threshold is set, and the curved segments less than this curvature threshold have little effect on the overall surface flatness data of the glass panel, and the calculation of the relevant data is discarded; and the curved segments greater than the set curvature threshold are used as characteristic curved segments, that is, the curved segments with greater influence on the first reflection light band. Therefore, the average curvature value of multiple characteristic curved segments is used as the curvature change value of the current first reflection light band, which can reflect the curvature of the first reflection light band to a certain extent.

[0089] The average value of the curvature change values ​​of all first reflection light bands is obtained as the surface flatness data of the glass panel. Based on the above steps, the curvature change value of each first reflection light band has been calculated, and the average value is further obtained as the surface flatness data, as follows:

[0090] ;

[0091] in, is the surface flatness data; n is the number of the first reflected light bands; is the arc change value of the i-th first reflected light band.

[0092] Step 203, obtain the abnormal jump point in the first visual image and mark it as the front scratch area. In this step, since the parallel incident light is incident from the front of the glass panel at a first angle, when the flatness of the glass panel changes evenly, the curvature of the first reflected light band changes gradually. When an abnormal jump point appears, such as a breakpoint, a sharp change point, etc. on the first reflected light band, and a neighboring abnormal jump point also appears on the adjacent first emission strip, it indicates that there is a scratch here. Since only scratches on the front side will affect the first reflected light band, the scratches here are the front scratch area, and scratches on the back side will not affect the first reflected light band.

[0093] In this embodiment, the second acquisition unit 03 forms a second visual image by vertically photographing the glass panel and marks the defective area on the second visual image. In this step, since the second visual image is a vertical photograph of the front of the glass panel, the scratches on the front and back of the glass panel can be displayed and marked on the second visual image.

[0094] Specifically, Figure 4 As shown, the steps include:

[0095] Step 301, vertically photographing the glass panel to form a second visual image;

[0096] Step 302: All defective areas on the glass panel are marked based on scratch identification; that is, all places on the glass panel that appear to be defective are marked.

[0097] Step 303, marking the scratched area other than the front scratched area as the back scratched area. Through this step, all defects have been marked on the second visual image, and all defects include the front scratched area and the back scratched area. At the same time, through this step, the front scratched area and the back scratched area can be separated, which is convenient for the subsequent steps to evaluate the front scratched area and the back scratched area separately.

[0098] In this embodiment, the defect data determination unit 04 is used to obtain a third visual image formed by photographing the glass panel at a second angle in the defect area, and determine the scratch data of the defect area based on the scratch evaluation model. In this step, the third visual image photographed at the second angle can display the bottom vertex of the scratch, so as to facilitate the calculation of the scratch depth.

[0099] Specifically, Figure 5 As shown, the steps include:

[0100] Step 501, obtaining the length data, width data and depth data of the scratches in the front scratch area; in this step, the length data and width data of the scratches in the front scratch area can be obtained specifically through image recognition technology, which will not be repeated here.

[0101] Step 502, obtaining the length data, width data and depth data of the scratches in the back scratch area; in this step, the length data and width data of the scratches in the back scratch area can be obtained specifically through image recognition technology, which will not be repeated here.

[0102] In the above steps, the depth data of the front scratch and the depth data of the back scratch need to be calculated through the following steps:

[0103] Determine the center point of the scratch width direction; in this step, the shape of the scratch has been determined through image recognition technology, and the two sides of the scratch are connected to determine the position of the center point.

[0104] Based on the third visual image, the display point of the bottom of the scratch on the glass panel is marked, and the distance between the center point and the display point is determined as the display distance; since in this embodiment, the shooting is performed at the second angle, the display position of the vertex of the bottom of the scratch is different from the position of the vertical shooting, and there is a distance between the display point and the center point.

[0105] Based on the third visual image formed by photographing the scratched area of ​​the glass panel, the angle between the photographing direction and the vertical direction of the glass panel is determined to be the second angle, which is recorded as i.

[0106] Determining a refraction angle r corresponding to the second angle based on a refractive index n of the glass panel;

[0107] Based on the refraction angle and the display distance b, the depth data h of the scratch is determined, and the thickness of the glass panel is d.

[0108] The front scratch depth data, the specific calculation formula is as follows:

[0109] ;

[0110] .

[0111] The reverse scratch depth data, the specific calculation formula is as follows:

[0112] ;

[0113] .

[0114] Step 503: determine the front scratch data and the back scratch data based on the scratch evaluation model. In this step, specifically:

[0115] Obtaining the length data of the scratch, and dividing the scratch into n segments on average based on the length data;

[0116] Get the width and depth data of each of the n scratches;

[0117] The front scratch data and the back scratch data are determined based on the scratch evaluation model, wherein the scratch evaluation model is as follows:

[0118] ;

[0119] in, is the scratch data. When m is 1, the scratch data is the front scratch data. When m is 2, the scratch data is the back scratch data. is the length of the scratch; n is the length of the scratch average number of segments; is the width of the i-th scratch; is the depth data of the i-th scratch.

[0120] Among them, a coordinate system is established with any two adjacent sides of the glass panel as the X-axis and the Y-axis, and the scratch data and surface flatness data of the defective area are marked, such as Figure 6 As shown, the steps include:

[0121] Step 501, establishing a coordinate system with any two adjacent sides of the glass panel as the X-axis and the Y-axis;

[0122] Step 502, marking the front scratch data and the back scratch data of the scratch area, including the scratch start and end point coordinate data, the scratch width data, and the scratch depth data;

[0123] Step 503: marking the surface flatness data of the glass panel.

[0124] Specifically, the product quality data is determined based on the panel evaluation model, such as Figure 7 As shown, the steps include:

[0125] Step 601, obtaining the surface flatness data of the glass panel; through the above steps, it has been calculated.

[0126] Step 602, obtaining the scratch data on the front side and the scratch data on the back side of the glass panel; these data have been calculated through the above steps.

[0127] Step 603: Input the surface flatness data, the front scratch data and the back scratch data into the panel evaluation model to obtain evaluation data. In this step, firstly, the average value of the plurality of front scratch data is calculated as , and then calculate the average value of multiple reverse scratch data as , and finally obtain the surface flatness data , the evaluation data is calculated through the panel evaluation model as follows:

[0128] ;

[0129] in, To evaluate data; is the adjustment coefficient of the surface flatness data; is the adjustment coefficient of the front scratch data; is the adjustment coefficient of the reverse scratch data.

[0130] After the evaluation data is calculated by the above model, it is compared with the preset evaluation threshold. When the evaluation data exceeds the preset evaluation threshold, it is determined that the glass panel is severely damaged from the overall evaluation and can no longer be used through repair. Otherwise, it can be used through repair.

[0131] The present invention applies to an automated product quality detection system based on industrial vision, comprising: a first acquisition unit, for parallel incident light incident on the surface of a glass panel at a first angle to form a first reflected light band, and to obtain a first visual image formed by the movement of the first reflected light band; a flatness unit, for determining the surface flatness data of the glass panel based on the first visual image obtained; a second acquisition unit, for vertically photographing the glass panel to form a second visual image, and marking the defective area on the second visual image; a defect data determination unit, for obtaining a third visual image formed by photographing the glass panel at a second angle in the defective area, and determining the scratch data of the defective area based on a scratch evaluation model; a marking unit, for establishing a coordinate system with any two adjacent sides of the glass panel as the X-axis and the Y-axis, marking the scratch data and surface flatness data of the defective area; an evaluation unit, for determining product quality data based on a panel evaluation model. The present application realizes automated and rapid detection of glass panels through industrial vision, and evaluates the glass panels, improves detection efficiency, and determines whether they can be repaired without being discarded, thereby reducing the cost of product raw material waste.

[0132] A second aspect of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a server, the steps in any of the above systems are implemented.

[0133] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0134] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0135] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0136] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0137] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

Claims

1. An automated product quality inspection system based on industrial vision, characterized in that: include: A first acquisition unit, configured to provide parallel incident light incident on a surface of the glass panel at a first angle to form a first reflected light band, and to acquire a first visual image formed by movement of the first reflected light band; A flatness unit, used to determine surface flatness data of the glass panel based on the first visual image obtained; comprising: Acquire a curvature change value of each of the first reflected light bands in the first visual image; Determining surface flatness data of the glass panel based on a curvature variation value of each of the first reflected light bands; Acquire the abnormal jump point in the first visual image and mark it as a front scratch area; The second acquisition unit is used to vertically photograph the glass panel to form a second visual image and mark the defective area on the second visual image; comprising: photographing the glass panel vertically to form a second visual image; Mark all defective areas on the glass panel based on scratch recognition; The scratched area outside the marked front scratched area is marked as the back scratched area; A defect data determination unit is used to obtain a third visual image formed by photographing the glass panel at a second angle at the defect area, and determine scratch data of the defect area based on a scratch evaluation model; comprising: Acquire length data, width data and depth data of scratches in the front scratch area; Acquire length data, width data and depth data of scratches in the scratch area on the reverse side; Determine the front scratch data and the back scratch data based on the scratch evaluation model; including: Obtaining the length data of the scratch, and dividing the scratch into n segments on average based on the length data; Get the width and depth data of each of the n scratches; The front scratch data and the back scratch data are determined based on the scratch evaluation model, wherein the scratch evaluation model is as follows: Among them, E m is the scratch data. When m is 1, the scratch data is the front scratch data. When m is 2, the scratch data is the back scratch data. l is the length of the scratch. n is the number of segments that the scratch length l is evenly divided into. a i is the width of the i-th scratch; h i is the depth data of the i-th scratch; The scratch depth data of the front scratch area and the back scratch area are obtained, including: Determine the center point of the scratch width; Based on the third visual image, mark the display point of the bottom of the scratch on the glass panel, and determine the distance between the center point and the display point as the display distance; Based on the third visual image formed by photographing the scratched area of ​​the glass panel, determine that the angle between the photographing direction and the vertical direction of the glass panel is the second angle, recorded as i; Determining a refraction angle r corresponding to the second angle based on a refractive index n of the glass panel; Based on the refraction angle and the display distance b, the depth data h of the scratch is determined, and the thickness of the glass panel is d; The front scratch depth data, the specific calculation formula is as follows: The reverse scratch depth data, the specific calculation formula is as follows: A marking unit, used to establish a coordinate system with any two adjacent sides of the glass panel as the X-axis and the Y-axis, and mark the scratch data and surface flatness data of the defective area; including: Establishing a coordinate system with any two adjacent sides of the glass panel as the X-axis and the Y-axis; Mark the scratch data on the front and back of the scratch area, including the scratch start and end point coordinate data, scratch width data, and scratch depth data; Mark the surface flatness data of the glass panel; An evaluation unit is used to determine product quality data based on a panel evaluation model.

2. The product quality automatic detection system based on industrial vision according to claim 1 is characterized in that: in, Parallel incident light is incident on a surface of a glass panel at a first angle to form a first reflected light band, and obtaining a first visual image formed by movement of the first reflected light band includes: preparing parallel incident light of the same width as the glass panel, and causing the parallel incident light to enter the glass panel; Adjusting the angle between the parallel incident light and the glass panel to be a first angle, so that the glass panel forms a first reflected light band after reflection; The parallel incident light moves along the length direction of the glass panel, and a plurality of the first reflected light bands formed in the process of the parallel incident light moving are obtained; A plurality of the first reflected light bands form a first visual image.

3. The product quality automatic detection system based on industrial vision according to claim 1 is characterized in that: in, Determining surface flatness data of the glass panel based on the curvature variation value of each of the first reflected light bands includes: intercepting a plurality of curved segments on the first reflected light band, and calculating the radian value of each curved segment; Selecting a curved segment whose curvature value is greater than a set curvature threshold as a characteristic curved segment, and taking an average value of the curvature values ​​of a plurality of characteristic curved segments as a curvature change value of the current first reflected light band; The average value of the curvature variation values ​​of all the first reflected light bands is obtained as the surface flatness data of the glass panel.

4. The product quality automatic detection system based on industrial vision according to claim 1 is characterized in that: in, Determine product quality data based on the panel evaluation model, including: Obtaining surface flatness data of the glass panel; Obtaining scratch data on the front and back of the glass panel; The surface flatness data, front scratch data and back scratch data are input into a panel evaluation model to obtain evaluation data.