Method and device for measuring size of silk-screen back cover glass
Through the combination of a full-field lens camera and calibration plate, the problem of low measurement accuracy and efficiency of traditional silk screen back cover glass is solved, and high-precision and high-efficiency dimensional measurement is achieved, reducing debugging difficulty.
Patent Information
- Application Number
- CN202411363320.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-02-18
AI Technical Summary
The measurement accuracy of traditional silk screen back cover glass size position control method is poor, and requires manual loading and multiple photos to measure, which is inefficient and difficult to debug.
The full field of view lens camera is calibrated through the calibration plate to determine the coordinate information of the calibration plate, including image coordinate information and physical coordinate information. Then, the image coordinate information to be measured on two adjacent rectangular sides of the screen printing cup cover glass to be measured is determined, and the physical coordinate information to be measured is determined based on the coordinate information of the calibration plate and the coordinate information of the image to be measured. Finally, a reference coordinate system for the cover glass to be tested is established, and the items to be measured of the cover glass to be tested are calculated to determine the measured value of the cover glass to be measured.
Improves the accuracy and efficiency of screen-printed back cover glass size measurement, reduces measurement time, reduces commissioning difficulty, and ensures that all measurement features can be identified.
Smart Images

Figure CN119468903A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of screen printing back cover measurement, and in particular to a method and a device for measuring the size of a screen printing back cover glass. Background Art
[0002] After the back cover glass is screen printed, the size and position of the Logo ink product need to be controlled to meet the process requirements.
[0003] Traditional size and position control is done by manually loading the material onto the measuring instrument for random inspection after the screen printing is completed. The measuring instrument controls the high-precision XY module to drive the product to move to multiple set points, and then uses a small field of view single camera for identification and measurement, which has poor measurement accuracy. Summary of the invention
[0004] The invention provides a method and a device for measuring the size of a silk-screen back cover glass, so as to ensure the measurement accuracy of the size of the item to be measured of the silk-screen back cover glass to be measured.
[0005] According to one aspect of the present invention, a method for measuring the size of a screen-printed back cover glass is provided, and the method for measuring the size of a screen-printed back cover glass comprises:
[0006] Calibrate the full-view lens camera through a calibration plate to determine coordinate information of the calibration plate; wherein the coordinate information includes image coordinate information and physical coordinate information;
[0007] Determine the image coordinate information of two adjacent right-angled sides of the screen-printed cup cover glass to be tested, and determine the physical coordinate information to be tested corresponding to the image coordinate information to be tested according to the coordinate information of the calibration plate and the image coordinate information to be tested;
[0008] A reference coordinate system of the screen-printed cup cover glass to be measured is established according to the physical coordinate information to be measured, and the measured items of the screen-printed back cover glass to be measured are calculated according to the reference coordinate system to determine the measured values of the measured items.
[0009] Furthermore, the full-view lens camera is calibrated by a calibration plate to determine the coordinate information of the calibration plate, including:
[0010] Obtain the center coordinates of each image in the calibration plate and the physical coordinates corresponding to each center coordinate;
[0011] The image coordinate information is determined according to the center coordinates of each image, and the physical coordinate information is determined according to the physical coordinates corresponding to each center coordinate.
[0012] Further, obtaining the physical coordinates corresponding to each center coordinate includes:
[0013] The physical coordinates corresponding to each center coordinate are obtained by recognizing the two-dimensional code information in the image.
[0014] Further, the coordinate information of the image to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured is determined, and the physical coordinate information to be measured corresponding to the coordinate information of the image to be measured is determined according to the coordinate information of the calibration plate and the coordinate information of the image to be measured, including:
[0015] Determine a plurality of image coordinates to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured, and determine the image coordinate information of the calibration plate closest to each image coordinate to be measured according to the plurality of image coordinates to be measured;
[0016] Determine a coordinate conversion matrix according to the image coordinate information of the calibration plate closest to the coordinates of each image to be measured and the physical coordinate information corresponding to the image coordinate information;
[0017] The physical coordinate information to be measured corresponding to the coordinate information of the image to be measured is determined according to the coordinate conversion matrix and the coordinate information of the image to be measured.
[0018] Further, a plurality of image coordinates to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured are determined, and image coordinate information of a calibration plate closest to each image coordinate to be measured is determined according to the plurality of image coordinates to be measured, including:
[0019] According to the straight line determination method, two image coordinates to be measured on each of the adjacent right-angled sides are determined, and the image coordinate information of the calibration plate closest to each image coordinate to be measured is determined.
[0020] Further, a reference coordinate system of the screen-printed cup cover glass to be measured is established according to the physical coordinate information to be measured, and the items to be measured of the screen-printed back cover glass to be measured are calculated according to the reference coordinate system to determine the measured values of the items to be measured, including:
[0021] A reference coordinate system of the screen-printed cup cover glass to be measured is established according to the physical coordinate information to be measured, and the first image coordinate in the item to be measured is converted into a first physical coordinate, and the first physical coordinate is substituted into the reference coordinate system to calculate the item to be measured to determine the measurement value of the item to be measured.
[0022] Furthermore, the items to be measured include the distance between two points on the screen-printed cup cover glass to be measured, and the distance from a point on the screen-printed cup cover glass to be measured to a line segment.
[0023] Furthermore, the full-view lens camera is calibrated by a calibration plate to determine the coordinate information of the calibration plate, which includes:
[0024] Adjust the position of the calibration plate so that the direction of the camera coordinate system corresponding to the full-view lens camera corresponds to the direction of the coordinate system of the calibration plate.
[0025] Further, a reference coordinate system of the screen-printed cup cover glass to be measured is established according to the physical coordinate information to be measured, and the items to be measured of the screen-printed back cover glass to be measured are calculated according to the reference coordinate system to determine the measured values of the items to be measured, and then the following is also included:
[0026] Compare the measured value with the preset standard value, and determine whether the measured value meets the control requirements based on the comparison result.
[0027] According to another aspect of the present invention, a device for measuring the size of a screen-printed back cover glass is provided, and the device for measuring the size of a screen-printed back cover glass comprises:
[0028] A coordinate information determination module, used to calibrate the full-view lens camera through a calibration plate to determine the coordinate information of the calibration plate; wherein the coordinate information includes image coordinate information and physical coordinate information;
[0029] The module for determining the physical coordinate information to be measured is used to determine the image coordinate information to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured, and determine the physical coordinate information to be measured corresponding to the image coordinate information to be measured according to the coordinate information of the calibration plate and the image coordinate information to be measured;
[0030] The measurement item calculation module is used to establish a reference coordinate system for the screen-printed cup cover glass to be measured according to the physical coordinate information to be measured, and calculate the measurement items for the screen-printed back cover glass to be measured according to the reference coordinate system to determine the measurement values of the measurement items.
[0031] The silk-screen back cover glass size measurement method designed in the embodiment of the present invention calibrates the full-field lens camera through the calibration plate to determine the coordinate information of the calibration plate, then determines the image coordinate information of two adjacent right-angled sides of the silk-screen cup cover glass to be measured, and determines the physical coordinate information to be measured corresponding to the image coordinate information to be measured according to the coordinate information of the calibration plate and the image coordinate information to be measured, finally establishes a reference coordinate system of the silk-screen cup cover glass to be measured according to the physical coordinate information to be measured, and calculates the measured items of the silk-screen back cover glass to be measured according to the reference coordinate system to determine the measurement values of the measured items, thereby ensuring the size measurement accuracy of the measured items of the silk-screen back cover glass to be measured. At the same time, compared with the use of a small-field single camera that requires multiple photos to be taken for measurement, the present invention uses a full-field lens camera to reduce the measurement time and improve the measurement efficiency, while ensuring that all measurement features can be identified and measured, reducing the difficulty of debugging.
[0032] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 is a flow chart of a method for measuring the size of a silk-screen back cover glass provided in an embodiment of the present invention;
[0035] Figure 2 is a schematic diagram of a calibration plate provided according to an embodiment of the present invention;
[0036] Figure 3 It is a structural schematic diagram of a screen printing back cover glass size measuring device provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0039] The embodiment of the present invention provides a method for measuring the size of a screen-printed back cover glass. Figure 1 is a flow chart of a method for measuring the size of a screen printing back cover glass provided according to an embodiment of the present invention, with reference to Figure 1 , the measurement methods of screen printing back cover glass size include:
[0040] S110. Calibrate the full-view lens camera using a calibration plate to determine coordinate information of the calibration plate; wherein the coordinate information includes image coordinate information and physical coordinate information.
[0041] in, Figure 2 is a schematic diagram of a calibration plate provided according to an embodiment of the present invention, with reference to Figure 2 , the calibration plate can be Figure 2 The circle + QR code chessboard calibration board shown.
[0042] Specifically, when calibrating the full-view lens camera, first place the calibration plate stably at the measurement position, and obtain the center coordinates of each image in the calibration plate and the physical coordinates corresponding to each center coordinate through the full-view lens camera, wherein the physical coordinates are coordinate information set in advance by the user according to actual needs, and the coordinate information is set one-to-one with each image. Then, the center coordinates of each image are summarized into image coordinate information, and the physical coordinates corresponding to each center coordinate are summarized into physical coordinate information.
[0043] S120, determining the image coordinate information to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured, and determining the physical coordinate information to be measured corresponding to the image coordinate information to be measured according to the coordinate information of the calibration plate and the image coordinate information to be measured.
[0044] Specifically, after calibrating the full-view lens camera, the screen-printed cup cover glass to be measured is placed at the measurement position, and multiple image coordinates to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured are determined. For example, the same number of image coordinates to be measured can be obtained on each right-angled side. The image coordinate information of the calibration plate closest to each image coordinate to be measured is determined based on the multiple image coordinates to be measured; then, the coordinate conversion matrix is determined based on the image coordinate information of the calibration plate closest to each image coordinate to be measured, and the physical coordinate information corresponding to the image coordinate information; finally, the physical coordinate information to be measured corresponding to the image coordinate information to be measured is determined based on the coordinate conversion matrix and the image coordinate information to be measured.
[0045] S130, establishing a reference coordinate system of the screen-printed cup cover glass to be measured according to the physical coordinate information to be measured, and calculating the items to be measured of the screen-printed back cover glass to be measured according to the reference coordinate system to determine the measurement values of the items to be measured.
[0046] Specifically, after determining the physical coordinate information to be measured corresponding to the image coordinate information to be measured, a reference coordinate system of the silk-screen cup cover glass to be measured is established according to the physical coordinate information to be measured, and the first image coordinate in the item to be measured is converted into a first physical coordinate, and the first physical coordinate is substituted into the reference coordinate system to calculate the item to be measured to determine the measurement value of the item to be measured.
[0047] The silk-screen back cover glass size measurement method designed in the embodiment of the present invention calibrates the full-field lens camera through the calibration plate to determine the coordinate information of the calibration plate, then determines the image coordinate information of two adjacent right-angled sides of the silk-screen cup cover glass to be measured, and determines the physical coordinate information to be measured corresponding to the image coordinate information to be measured according to the coordinate information of the calibration plate and the image coordinate information to be measured, finally establishes a reference coordinate system of the silk-screen cup cover glass to be measured according to the physical coordinate information to be measured, and calculates the measured items of the silk-screen back cover glass to be measured according to the reference coordinate system to determine the measurement values of the measured items, thereby ensuring the size measurement accuracy of the measured items of the silk-screen back cover glass to be measured. At the same time, compared with the use of a small-field single camera that requires multiple photos to be taken for measurement, the present invention uses a full-field lens camera to reduce the measurement time and improve the measurement efficiency, while ensuring that all measurement features can be identified and measured, reducing the difficulty of debugging.
[0048] Furthermore, the full-view lens camera is calibrated by a calibration plate to determine the coordinate information of the calibration plate, including:
[0049] Obtain the center coordinates of each image in the calibration plate and the physical coordinates corresponding to each center coordinate;
[0050] The image coordinate information is determined according to the center coordinates of each image, and the physical coordinate information is determined according to the physical coordinates corresponding to each center coordinate.
[0051] Specifically, a region of interest, i.e., a ROI region, may be first set in the field of view of the full-view lens camera, and the calibration plate may be covered with the region of interest. The center coordinates of each image in the calibration plate may be identified by the full-view lens camera, and the center coordinates of each image in the calibration plate and the physical coordinates corresponding to each center coordinate may be obtained in sequence from left to right and from top to bottom according to the camera coordinate system. For example, Figure 2 As shown, a two-dimensional code can be set on each image in the calibration plate, and the physical coordinates corresponding to each center coordinate are stored in the corresponding two-dimensional code. The physical coordinates corresponding to each center coordinate can be obtained by identifying the two-dimensional code information in the image. Then, the image coordinate two-dimensional array P containing the center coordinate information is determined according to the center coordinates of each image obtained in sequence. cn [X][Y], i.e., image coordinate information; and determine the physical coordinate two-dimensional array Q containing the physical coordinate information according to the physical coordinates corresponding to each center coordinate obtained in sequence mn [X][Y], that is, physical coordinate information.
[0052] Further, obtaining the physical coordinates corresponding to each center coordinate includes:
[0053] The physical coordinates corresponding to each center coordinate are obtained by recognizing the two-dimensional code information in the image.
[0054] Specifically, while the full-view lens camera acquires the center coordinates of each image in the calibration plate, the physical coordinates corresponding to each center coordinate can be acquired by identifying the two-dimensional code information in the image, thereby improving the efficiency of acquiring the coordinate information.
[0055] Further, the coordinate information of the image to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured is determined, and the physical coordinate information to be measured corresponding to the coordinate information of the image to be measured is determined according to the coordinate information of the calibration plate and the coordinate information of the image to be measured, including:
[0056] Determine a plurality of image coordinates to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured, and determine the image coordinate information of the calibration plate closest to each image coordinate to be measured according to the plurality of image coordinates to be measured;
[0057] Determine a coordinate conversion matrix according to the image coordinate information of the calibration plate closest to the coordinates of each image to be measured and the physical coordinate information corresponding to the image coordinate information;
[0058] The physical coordinate information to be measured corresponding to the coordinate information of the image to be measured is determined according to the coordinate conversion matrix and the coordinate information of the image to be measured.
[0059] After calibrating the full-view lens camera, the screen-printed cup cover glass to be tested is placed at the measuring position, and multiple image coordinates to be tested on two adjacent right-angled sides of the screen-printed cup cover glass to be tested are determined. For example, the image coordinates to be tested can be obtained by PL i (x k ,y k ), where i represents the serial number of the measured line segment, and k represents the serial number of the image coordinate point to be measured. Then, the image coordinate information of the calibration plate closest to each image coordinate to be measured is determined by table lookup, and the row information in the determined image coordinate information is written into the first image coordinate matrix, and the column information is written into the second image coordinate matrix. For example, the x in the determined image coordinate information is written into the first image coordinate matrix TP[j][0], and the y is written into the second image coordinate matrix TP[j][1]. Then, the row information in the physical coordinate information corresponding to the determined image coordinate information is written into the first physical coordinate matrix, and the column information is written into the second physical coordinate matrix. For example, the x in the determined physical coordinate information is written into the first physical coordinate matrix TQ[j][0], and the y is written into the second physical coordinate matrix TQ[j][1]. Then, the coordinate conversion relationship between the camera image coordinates and the physical coordinates of the calibration plate, that is, the coordinate conversion matrix, is calculated according to the image coordinate matrix TP and the physical coordinate matrix TQ. For example, the coordinate conversion matrix T is calculated according to the following formula:
[0060]
[0061] in,
[0062] Finally, the physical coordinate information to be measured corresponding to the coordinate information of the image to be measured is determined according to the coordinate transformation matrix and the coordinate information of the image to be measured, that is, multiple sets of coordinates QL of the object to be measured i (x k ,y k ), illustratively, the physical coordinate information to be measured can be calculated according to the following formula:
[0063]
[0064] Among them, PL i .x is the PL in the coordinate information of the image to be tested i (x k ,y k )'s coordinate x k ,PL i .y is the PL in the coordinate information of the image to be tested i (x k ,y k )'s coordinate y k , QL i .x is the QL in the physical coordinate information to be measured i (x k ,y k )'s coordinate x k , QL i .y is the QL in the physical coordinate information to be measured i (x k ,y k )'s coordinate y k .
[0065] Further, a plurality of image coordinates to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured are determined, and image coordinate information of a calibration plate closest to each image coordinate to be measured is determined according to the plurality of image coordinates to be measured, including:
[0066] According to the straight line determination method, two image coordinates to be measured on each of the adjacent right-angled sides are determined, and the image coordinate information of the calibration plate closest to each image coordinate to be measured is determined.
[0067] Specifically, the coordinates of two images to be measured on each of the adjacent right-angled sides can be determined according to the straight line determination method. For example, the coordinates of two images to be measured on the same right-angled side can be the coordinates of the two end points on the right-angled side, and the coordinates of the image to be measured PL can be obtained by looking up the table. i (x k ,y k ) and the image coordinate two-dimensional array P cn The row and column information of the 4 sets of data closest to the point in [X][Y], that is, the two-dimensional array P of the image coordinatescn The row information X and column information Y in [X][Y] are written into the row number array X according to the distance between the points. c [j], and write column information Y into column number array Y c [j], according to the row number array X c [j] and column number array Y c [j] Determine the image coordinate two-dimensional array P cn The corresponding image coordinate information in [X][Y], that is, multiple sets of image coordinates Pc(x,y).
[0068] Further, a reference coordinate system of the screen-printed cup cover glass to be measured is established according to the physical coordinate information to be measured, and the items to be measured of the screen-printed back cover glass to be measured are calculated according to the reference coordinate system to determine the measured values of the items to be measured, including:
[0069] A reference coordinate system of the screen-printed cup cover glass to be measured is established according to the physical coordinate information to be measured, and the first image coordinate in the item to be measured is converted into a first physical coordinate, and the first physical coordinate is substituted into the reference coordinate system to calculate the item to be measured to determine the measurement value of the item to be measured.
[0070] Specifically, the position information of two adjacent right-angled sides of the screen-printed cup cover glass to be measured in the calibration plate coordinate system is determined according to the physical coordinate information to be measured, and then the intersection of the two adjacent right-angled sides is determined according to the position information of the two adjacent right-angled sides in the calibration plate coordinate system, and the intersection is used as the origin, and the reference coordinate system of the screen-printed cup cover glass to be measured is established in combination with the position information of the two adjacent right-angled sides of the screen-printed cup cover glass to be measured in the calibration plate coordinate system. After the reference coordinate system is established, the first image coordinate of the measurement point in the item to be measured is converted into the first physical coordinate on the reference coordinate system, and finally the item to be measured is calculated according to the first physical coordinate of the measurement point to determine the measurement value of the item to be measured.
[0071] Furthermore, the items to be measured include the distance between two points on the screen-printed cup cover glass to be measured, and the distance from a point on the screen-printed cup cover glass to be measured to a line segment.
[0072] For example, if the item to be measured includes the first distance from the first point to be measured on the screen-printed cup cover glass to the fitting line segment: let the first point to be measured in the item to be measured be Pp(px,py), and the first and last coordinates of the fitting line segment be Lp1(Lx1,Ly1) and Lp2(Lx2,Ly2) respectively. Then the first distance M1 i The calculation is performed according to the following formula, where i represents the serial number of the item measured by the product;
[0073]
[0074] If the item to be measured includes the second distance between two points on the screen-printed cup cover glass to be measured: let the coordinates of the second point to be measured be P1(x1,y1) and the coordinates of the third point to be measured be P2(x2,y2). Then the second distance M2 i Calculate according to the following formula:
[0075]
[0076] Furthermore, the full-view lens camera is calibrated by a calibration plate to determine the coordinate information of the calibration plate, which includes:
[0077] Adjust the position of the calibration plate so that the direction of the camera coordinate system corresponding to the full-view lens camera corresponds to the direction of the coordinate system of the calibration plate.
[0078] Specifically, before calibrating the full-view lens camera using the calibration plate, confirm the directions of the camera coordinate system and the calibration plate coordinate system, place the calibration plate under the full-view lens camera, and adjust the position of the calibration plate so that the direction of the camera coordinate system corresponding to the full-view lens camera corresponds to the direction of the coordinate system of the calibration plate, that is, the x-axis direction of the camera coordinate system corresponding to the full-view lens camera is the same as the x-axis direction of the coordinate system of the calibration plate, and the y-axis direction of the camera coordinate system corresponding to the full-view lens camera is the same as the y-axis direction of the coordinate system of the calibration plate, so as to facilitate the calibration of the full-view lens camera.
[0079] Further, a reference coordinate system of the screen-printed cup cover glass to be measured is established according to the physical coordinate information to be measured, and the items to be measured of the screen-printed back cover glass to be measured are calculated according to the reference coordinate system to determine the measured values of the items to be measured, and then the following is also included:
[0080] Compare the measured value with the preset standard value, and determine whether the measured value meets the control requirements based on the comparison result.
[0081] Specifically, the measured value of the item to be measured determined by calculation can be subtracted from the preset standard value of the set control requirement, and whether the measured value meets the control requirement can be judged based on the subtraction result. For example, if the preset standard value of the control requirement is Si, the measured value of the item to be measured is Mi, the positive tolerance of the control requirement is Ui, and the negative tolerance of the control requirement is Di, where i represents the serial number of the item to be measured of the product. If Di<Mi-Si<Ui, it is determined that the measured value of the item to be measured meets the control requirement; otherwise, the measured value of the item to be measured does not meet the control requirement.
[0082] An embodiment of the present invention provides a device for measuring the size of a screen-printed back cover glass. Figure 3 is a schematic diagram of a structure of a screen printing back cover glass size measuring device provided according to an embodiment of the present invention, with reference to Figure 3 The screen printing back cover glass size measuring device 300 comprises:
[0083] A coordinate information determination module 310 is used to calibrate the full-view lens camera through a calibration plate to determine the coordinate information of the calibration plate; wherein the coordinate information includes image coordinate information and physical coordinate information;
[0084] The module 320 for determining the physical coordinate information to be measured is used to determine the image coordinate information to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured, and determine the physical coordinate information to be measured corresponding to the image coordinate information to be measured according to the coordinate information of the calibration plate and the image coordinate information to be measured;
[0085] The measurement item calculation module 330 is used to establish a reference coordinate system of the screen-printed cup cover glass to be measured according to the physical coordinate information to be measured, and calculate the measurement items of the screen-printed back cover glass to be measured according to the reference coordinate system to determine the measurement values of the measurement items.
[0086] Furthermore, the coordinate information determination module 310 includes:
[0087] A coordinate acquisition unit, used to acquire the center coordinates of each image in the calibration plate and the physical coordinates corresponding to each center coordinate;
[0088] The coordinate information determining unit is used to determine the image coordinate information according to the center coordinates of each image, and to determine the physical coordinate information according to the physical coordinates corresponding to each center coordinate.
[0089] Furthermore, the coordinate acquisition unit is also used for:
[0090] The physical coordinates corresponding to each center coordinate are obtained by recognizing the two-dimensional code information in the image.
[0091] Furthermore, the module 320 for determining the physical coordinate information to be measured includes:
[0092] An image coordinate information determination unit is used to determine a plurality of image coordinates to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured, and determine the image coordinate information of a calibration plate closest to each image coordinate to be measured according to the plurality of image coordinates to be measured;
[0093] A coordinate conversion matrix determination unit, used to determine the coordinate conversion matrix according to the image coordinate information of the calibration plate closest to the coordinates of each image to be measured, and the physical coordinate information corresponding to the image coordinate information;
[0094] The unit for determining the physical coordinate information to be measured is used to determine the physical coordinate information to be measured corresponding to the image coordinate information to be measured according to the coordinate conversion matrix and the image coordinate information to be measured.
[0095] Furthermore, the image coordinate information determining unit is further used for:
[0096] According to the straight line determination method, two image coordinates to be measured on each of the adjacent right-angled sides are determined, and the image coordinate information of the calibration plate closest to each image coordinate to be measured is determined.
[0097] Furthermore, the to-be-measured item calculation module 330 is used to:
[0098] A reference coordinate system of the screen-printed cup cover glass to be measured is established according to the physical coordinate information to be measured, and the first image coordinate in the item to be measured is converted into a first physical coordinate, and the first physical coordinate is substituted into the reference coordinate system to calculate the item to be measured to determine the measurement value of the item to be measured.
[0099] Furthermore, the items to be measured include the distance between two points on the screen-printed cup cover glass to be measured, and the distance from a point on the screen-printed cup cover glass to be measured to a line segment.
[0100] Furthermore, the screen printing back cover glass size measuring device 300 further includes:
[0101] The coordinate system direction corresponding module is used to calibrate the full-view lens camera through the calibration plate to adjust the position of the calibration plate before determining the coordinate information of the calibration plate so that the direction of the camera coordinate system corresponding to the full-view lens camera corresponds to the direction of the coordinate system of the calibration plate.
[0102] Furthermore, the screen printing back cover glass size measuring device 300 further includes:
[0103] The measurement value judgment module is used to establish a reference coordinate system for the silk-screen cup cover glass to be measured according to the physical coordinate information to be measured, and calculate the measured items of the silk-screen back cover glass to be measured according to the reference coordinate system. After determining the measurement value of the measured item, the measurement value is compared with the preset standard value, and whether the measurement value meets the management and control requirements is judged according to the comparison result.
[0104] The screen-printed back cover glass size measuring device provided in the embodiment of the present invention can execute the screen-printed back cover glass size measuring method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0106] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for measuring the size of a screen-printed back cover glass, characterized in that: include: Calibrate the full-view lens camera through a calibration plate to determine the coordinate information of the calibration plate; wherein the coordinate information includes image coordinate information and physical coordinate information; Determine the image coordinate information of two adjacent right-angled sides of the screen-printed cup cover glass to be tested, and determine the physical coordinate information to be tested corresponding to the image coordinate information to be tested according to the coordinate information of the calibration plate and the image coordinate information to be tested; A reference coordinate system of the screen-printed cup cover glass to be measured is established according to the physical coordinate information to be measured, and the items to be measured of the screen-printed back cover glass to be measured are calculated according to the reference coordinate system to determine the measurement values of the items to be measured.
2. The method for measuring the size of the screen-printed back cover glass according to claim 1, characterized in that: Calibrate the full-view lens camera through a calibration plate to determine coordinate information of the calibration plate, including: Obtaining the center coordinates of each image in the calibration plate and the physical coordinates corresponding to each of the center coordinates; The image coordinate information is determined according to the central coordinates of each of the images, and the physical coordinate information is determined according to the physical coordinates corresponding to each of the central coordinates.
3. The method for measuring the size of the screen-printed back cover glass according to claim 2, characterized in that: Obtaining the physical coordinates corresponding to each of the center coordinates, including: The physical coordinates corresponding to each of the center coordinates are obtained by identifying the two-dimensional code information in the image.
4. The method for measuring the size of the screen-printed back cover glass according to claim 1, characterized in that: Determining the image coordinate information of two adjacent right-angled sides of the screen-printed cup cover glass to be tested, and determining the physical coordinate information to be tested corresponding to the image coordinate information to be tested according to the coordinate information of the calibration plate and the image coordinate information to be tested, including: Determine a plurality of image coordinates to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured, and determine the image coordinate information of the calibration plate closest to each of the image coordinates to be measured according to the plurality of image coordinates to be measured; Determine a coordinate conversion matrix according to the image coordinate information of the calibration plate that is closest to the coordinates of each of the images to be measured and the physical coordinate information corresponding to the image coordinate information; The physical coordinate information to be measured corresponding to the coordinate information of the image to be measured is determined according to the coordinate conversion matrix and the coordinate information of the image to be measured.
5. The method for measuring the size of the screen-printed back cover glass according to claim 4, characterized in that: Determining a plurality of image coordinates to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured, and determining the image coordinate information of the calibration plate closest to each of the image coordinates to be measured according to the plurality of image coordinates to be measured, including: According to the straight line determination method, two coordinates of the image to be measured on each of the adjacent right-angled sides are determined, and the image coordinate information of the calibration plate which is closest to each coordinate of the image to be measured is determined.
6. The method for measuring the size of the screen-printed back cover glass according to claim 1, characterized in that: The method includes establishing a reference coordinate system of the screen-printed cup cover glass to be measured according to the physical coordinate information to be measured, and calculating the items to be measured of the screen-printed back cover glass to be measured according to the reference coordinate system to determine the measured values of the items to be measured, including: A reference coordinate system of the screen-printed cup cover glass to be measured is established according to the physical coordinate information to be measured, and the first image coordinate in the item to be measured is converted into a first physical coordinate, and the first physical coordinate is substituted into the reference coordinate system to calculate the item to be measured to determine the measurement value of the item to be measured.
7. The method for measuring the size of the screen-printed back cover glass according to claim 6, characterized in that: The items to be measured include the distance between two points on the screen-printed cup cover glass to be measured, and the distance from a point on the screen-printed cup cover glass to be measured to a line segment.
8. The method for measuring the size of the screen-printed back cover glass according to claim 1, characterized in that: The full-view lens camera is calibrated by a calibration plate to determine the coordinate information of the calibration plate, which includes: The position of the calibration plate is adjusted so that the direction of the camera coordinate system corresponding to the full-view lens camera corresponds to the direction of the coordinate system of the calibration plate.
9. The method for measuring the size of the screen-printed back cover glass according to claim 1, characterized in that: A reference coordinate system of the screen-printed cup cover glass to be measured is established according to the physical coordinate information to be measured, and the items to be measured of the screen-printed back cover glass to be measured are calculated according to the reference coordinate system to determine the measured values of the items to be measured, and then the following is further included: The measured value is compared with the preset standard value, and it is determined whether the measured value meets the control requirements based on the comparison result.
10. A device for measuring the size of a screen-printed back cover glass, characterized in that: include: A coordinate information determination module, used to calibrate the full-view lens camera through a calibration plate to determine the coordinate information of the calibration plate; wherein the coordinate information includes image coordinate information and physical coordinate information; The module for determining the physical coordinate information to be measured is used to determine the image coordinate information to be measured of two adjacent right-angled sides of the screen-printed cup cover glass to be measured, and determine the physical coordinate information to be measured corresponding to the image coordinate information to be measured according to the coordinate information of the calibration plate and the image coordinate information to be measured; The measurement item calculation module is used to establish a reference coordinate system of the screen-printed cup cover glass to be measured according to the physical coordinate information to be measured, and calculate the measurement items of the screen-printed back cover glass to be measured according to the reference coordinate system to determine the measurement value of the measurement item.