Vehicle lamp printing sheet stock positioning and punching method and system, terminal and storage medium

Through the robot and detection frame compensation mechanism, the problem of low punching efficiency of printing sheet positioning points under manual mode is solved, and efficient and accurate punching operation of positioning points is achieved.

CN120396048AActive Publication Date: 2025-08-01CIXI JINGJING AUTO PARTS CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510919696.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-04
Publication Date
2025-08-01
Estimated Expiration
2045-07-04

AI Technical Summary

Technical Problem

In the prior art, the punching efficiency of the positioning points on the headlight printing sheet is low by manual method.

Method used

The printed sheet is moved to the preset working position through a robot, identify the position of the position point and obtain the punching coordinates, use the punching coordinates to punch the position point to perform punching operation, and use a larger detection box to compensate when the detection box is identified for failure to ensure that all positioning points have completed punching.

Benefits of technology

Improve the efficiency of positioning point punching, avoid processing defects caused by missing positioning point, failure to identify or missed pre-order punching, and ensure the accuracy and completeness of punching operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120396048A_ABST
    Figure CN120396048A_ABST
Patent Text Reader

Abstract

The invention relates to a car lamp printing sheet stock positioning and punching method and system, a terminal and a storage medium, and relates to the technical field of printing sheet stock punching, and the method comprises the steps that a printing sheet stock is transferred to a preset working position through a mechanical arm; the printing sheet stock is moved, the ith positioning point in the positioning points of the printing sheet stock is located at a punching station, and i is a positive integer with the initial value being 1; the position of the ith positioning point is recognized, coordinates of the ith positioning point are obtained, and punching coordinates are obtained; punching operation is conducted on the ith positioning point according to the punching coordinates; moving the printing sheet material based on the ith positioning point to enable the (i + 1) th positioning point to be located at the punching station, and updating i to (i + 1); the three steps are repeatedly executed until all the positioning points are punched; and the brush piece material obtained after punching operation is completed is transferred to a preset storage position through the mechanical arm. The punching device has the effect of improving the efficiency of punching the positioning points on the printing sheet stock.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of punching of printed sheets, and in particular to a method, system, terminal and storage medium for positioning punching of printed sheets for vehicle lights. Background Art

[0002] Currently, a touch-sensitive panel is usually used to control the on / off switch of a car's roof light. A touch-sensitive panel is usually provided on the roof light to control the on / off switch of the roof light by touch.

[0003] Reference Figure 1 A printed sheet includes a plurality of touch films 11 and positioning dots 12 printed on one side of the touch films 11. The positioning dots 12 are circular and require punching to serve as positioning points during the subsequent stamping process of the touch films 11. In the prior art, the positioning dots on the printed sheet are typically manually moved sequentially to a punching station. After the positioning dots 12 are aligned with the punching device, the punching is performed.

[0004] Regarding the above-mentioned related technologies, the efficiency of punching the positioning points on the printed sheet manually is low. Summary of the Invention

[0005] In order to improve the efficiency of punching positioning points on printed sheets, the present application provides a method, system, terminal and storage medium for positioning punching of printed sheets for automotive lights.

[0006] In a first aspect, the present application provides a method for positioning and punching a printed sheet of a vehicle lamp, which adopts the following technical solution: A method for positioning and punching a printed sheet of a vehicle lamp, comprising: The printing sheet is moved to the preset working position by the robot; Moving the printing sheet so that the i-th positioning point among the positioning points of the printing sheet is located at the punching station, where i is a positive integer with an initial value of 1; Executing a punching coordinate acquisition step, the punching coordinate acquisition step comprising: identifying the position of the i-th positioning point, and acquiring the coordinates of the i-th positioning point to obtain the punching coordinates; Executing a punching operation step, the punching operation step comprising: performing a punching operation on the i-th positioning point according to the punching coordinates; Executing a moving step, the moving step comprising: moving the printing sheet based on the i-th positioning point so that the i+1-th positioning point is located at the punching station, and updating i to i+1; Repeating the steps of obtaining the punching coordinates, performing the punching operation, and moving the holes until the punching operation is completed for all the positioning points; The manipulator transfers the brush sheet material after the punching operation to a preset storage position.

[0007] By adopting the above technical solution, the printing sheet material is moved to a preset working position by the manipulator, the position of the positioning point is recognized, the punching coordinates are obtained, and the punching operation is performed on the positioning point according to the punching coordinates, and this is repeated, so as to complete the punching operation on all positioning points. Then, the printed sheet material that has completed the punching operation is transferred to a preset storage position. Compared with the method of manually punching the positioning points, the punching efficiency of the positioning points in this application is relatively high.

[0008] Optionally, during the process of recognizing the position of the positioning point, it is judged whether the positioning point is located within the first detection frame; In the case where the positioning point is not located within the first detection frame, the second detection frame is used for detection and it is judged whether the positioning point is located within the second detection frame, wherein the detection range of the second detection frame is larger than the detection range of the first detection frame; If not, the position indicated by the current first detection frame is marked to obtain the target coordinate point, and the coordinates of the target coordinate point are recorded to obtain the target coordinates; The adjacent positioning points on the two adjacent sides of the target coordinate point are obtained, and the midpoint coordinates of the adjacent positioning points are obtained; The target coordinates are updated using the midpoint coordinates, and the target coordinates are used as the punching coordinates.

[0009] By adopting the above technical solution, in the case where the positioning point cannot be recognized by the first detection frame, the second detection frame with a larger detection range is further used to recognize the positioning point. Among them, if the positioning point still cannot be recognized by the second detection frame, it means that there is a missing printing situation in the printing sheet material at the current position, resulting in the positioning point not being printed. Therefore, based on this situation, the position indicated by the current first detection frame is marked to obtain the target coordinate point, the target coordinates are updated using the midpoint coordinates of the adjacent positioning points, and the updated target coordinates are used as the punching coordinates, so that the punching coordinates can still be obtained in the case where the positioning point in the printing sheet material is missing, so as to punch the printing sheet material.

[0010] Optionally, during the process of using the second detection frame to detect the positioning point, it is judged whether the number of the positioning points is greater than one; If so, the third detection frame is used to detect the positioning point, and the positioning point that has completed the punching operation is recognized, wherein the detection range of the third detection frame is larger than the detection range of the second detection frame; The positioning point closest to the positioning point that has completed the punching operation is marked as the positioning point to be punched; Move the printed sheet material so that the positioning point to be punched is located within the first detection frame.

[0011] By adopting the above technical solution, during the detection using the second detection frame, if the number of positioning points is greater than one, it is difficult to determine the positioning points that need to be punched. Therefore, the third detection frame is used for detection to identify the positioning points that have completed the punching operation, and the positioning point closest to the positioning point that has completed the punching operation is marked as the positioning point to be punched. Then, the printed sheet material is moved so that the positioning point to be punched is located within the first detection frame for punching the positioning point to be punched.

[0012] Optionally, when there is only one adjacent positioning point on each of the two adjacent sides of the target coordinate point, count the number of positioning points that have completed the punching operation to obtain the punching quantity; Judge whether the punching quantity is less than the preset punching quantity; If so, move the printed sheet material in the reverse direction according to the punching quantity; Use the second detection frame for detection and judge whether there are positioning points that have not been punched; If so, move the printed sheet material so that the positioning point that has not been punched is located within the first detection frame; Obtain the coordinates of the positioning point that has not been punched to get the punching coordinates.

[0013] By adopting the above technical solution, when it is detected that there is only one positioning point on each of the two adjacent sides of the target coordinate point, the number of positioning points that have completed the punching operation can be counted and compared with the preset punching quantity. When the punching quantity is insufficient, the printed sheet material is moved in the reverse direction, and the second detection frame is used for re-detection to accurately find the missing unpunched positioning points and control them to re-enter the first detection frame for positioning and punching, thus effectively avoiding processing defects caused by missing positioning points, recognition failure or omission of previous punching.

[0014] Optionally, obtain the image corresponding to the positioning point to get the positioning point image; Judge whether the positioning point image is a preset dot image; If not, use the recognition frame to frame the positioning point image; Remove the discrete images in the positioning point image and narrow the range of the recognition frame to frame the main image in the positioning point image; Obtain the midpoint coordinates of the connection line of the positioning points on the two adjacent sides of the positioning point to get the midpoint reference coordinates; Judge whether the distance between the center coordinates of the recognition frame and the midpoint reference coordinates is greater than the preset distance; If so, obtain the midpoint coordinates between the center coordinates of the recognition frame and the midpoint reference coordinates to obtain the punching coordinates; If not, use the center coordinates of the recognition frame as the punching coordinates.

[0015] By adopting the above technical solution, in the case where the positioning point image is not the preset dot image, by removing the discrete images in the positioning image and using the main image of the positioning point image in the recognition frame for framing, when the distance between the center coordinates of the recognition frame and the midpoint reference coordinates is greater than the preset distance, it indicates that there is a large position deviation of the positioning point during the printing process. Therefore, select the midpoint coordinates of the center coordinates of the recognition frame and the midpoint reference coordinates as the punching coordinates. Otherwise, use the center coordinates of the recognition frame as the punching coordinates, which helps to improve the accuracy of obtaining the punching coordinates when the positioning point image is not the preset dot image, and makes the punching position deviation of the positioning point smaller.

[0016] Optionally, recognize the edge contour of the positioning point image; Judge whether the edge contour conforms to the preset arc contour; If so, select three reference points on the edge contour; Obtain the center coordinates corresponding to the positioning point image based on the reference points; Use the center coordinates as the punching coordinates; If not, obtain the punching coordinates according to the preset coordinate acquisition method.

[0017] By adopting the above technical solution, by recognizing the edge contour of the positioning point image and when the edge contour conforms to the preset arc contour, select three reference points on the edge contour and calculate the center coordinates corresponding to the positioning point image according to the three reference points, and use the center coordinates as the punching coordinates, so that when the positioning point image is incomplete, the punching coordinates corresponding to the positioning point can still be obtained.

[0018] Optionally, the step of obtaining the punching coordinates according to the preset coordinate acquisition method includes: Make a prediction frame based on the midpoint reference coordinates; Judge whether the positioning point image is located within the prediction frame; If so, use the center coordinates of the prediction frame as the punching coordinates; If not, obtain the deviation direction of the positioning point image based on the midpoint reference coordinates; Move the printed sheet material according to the deviation direction so that the positioning point image is located within the prediction frame, and use the center coordinates of the current prediction frame as the punching coordinates.

[0019] By adopting the above technical solution, in the case where the edge contour does not conform to the preset circular arc contour, a prediction box is made at the midpoint reference coordinate. Among them, if the positioning point image is located within the prediction box, the outer contour of the positioning point image can be represented by the prediction box, and thus the center coordinate of the prediction box is used as the punching coordinate. Among them, if the positioning point image is not located within the prediction box, the printed sheet material is moved so that the positioning point image is located within the prediction box, the outer contour of the positioning point image can be represented by the prediction box, and the center coordinate of the prediction box at the current moment is used as the punching coordinate. So that even when the positioning point image is incomplete, the punching coordinate corresponding to the positioning point can still be obtained.

[0020] In a second aspect, the present application provides a positioning and punching system for a vehicle lamp printed sheet material, adopting the following technical solution: A positioning and punching system for a vehicle lamp printed sheet material, comprising: An acquisition module for acquiring the coordinates of the positioning point; A memory for storing the program of the positioning and punching method for the vehicle lamp printed sheet material; A processor, and the program in the memory can be loaded and executed by the processor to implement the positioning and punching method for the vehicle lamp printed sheet material.

[0021] By adopting the above technical solution, the printed sheet material is moved to a preset working position by a manipulator, the position of the positioning point is recognized, the punching coordinate is obtained, and the punching operation is performed on the positioning point according to the punching coordinate, and this is repeated, so as to complete the punching operation on all positioning points. After that, the printed sheet material that has completed the punching operation is transferred to a preset storage position. Compared with the method of manually punching the positioning points, the efficiency of punching the positioning points in the present application is relatively high.

[0022] In a third aspect, the present application provides an intelligent terminal, adopting the following technical solution: An intelligent terminal, comprising a memory and a processor, and a computer program capable of being loaded and executed by the processor is stored on the memory.

[0023] In a fourth aspect, the present application provides a computer storage medium, which can store a corresponding program and has the characteristic of facilitating the improvement of the efficiency of punching the positioning points on the printed sheet material, adopting the following technical solution: A computer-readable storage medium stores a computer program capable of being loaded and executed by the processor to perform any one of the above positioning and punching methods for the vehicle lamp printed sheet material.

[0024] In summary, the present application includes at least one of the following beneficial technical effects: The printing sheet is moved to a preset working position by a manipulator, the position of the positioning point is recognized, the punching coordinates are obtained, and the punching operation is performed on the positioning point according to the punching coordinates, and this is repeated to complete the punching operation on all positioning points. After that, the printed sheet with the punching operation completed is transferred to a preset storage position. Compared with the method of manually punching the positioning points, the punching efficiency of the positioning points in this application is higher; In the case where only one positioning point exists on both adjacent sides of the detected target coordinate point, the number of completed punching operations can be counted and compared with the preset punching number. When the punching number is insufficient, the printed sheet is moved in the reverse direction, and the second detection frame is used for re-detection to accurately find the missing unpunched positioning points and control them to re-enter the first detection frame for positioning and punching, thus effectively avoiding processing defects caused by missing positioning points, recognition failure, or omission of previous punching; By identifying the edge contour of the positioning point image and when the edge contour conforms to the preset arc contour, three reference points are selected on the edge contour and the center coordinates corresponding to the positioning point image are calculated based on the three reference points, and the center coordinates are used as the punching coordinates, so that the punching coordinates corresponding to the positioning point can still be obtained even when the positioning point image is incomplete. Description of the Drawings

[0025] Figure 1 It is a schematic structural diagram of a printing sheet in an embodiment of the present application.

[0026] Figure 2 It is a schematic flow diagram of a method for positioning and punching a lamp printing sheet in an embodiment of the present application.

[0027] Figure 3 It is a schematic flow diagram of a method for obtaining punching coordinates through midpoint coordinates in an embodiment of the present application.

[0028] Figure 4 It is a schematic flow diagram of a method for determining a positioning point in an embodiment of the present application.

[0029] Figure 5 It is a schematic flow diagram of a method for preventing omission of punching a positioning point in an embodiment of the present application.

[0030] Figure 6 It is a schematic flow diagram of a method for obtaining punching coordinates based on a positioning point image in an embodiment of the present application.

[0031] Figure 7 It is a schematic diagram of identifying a positioning point in an embodiment of the present application.

[0032] Figure 8 It is a schematic flow diagram of a method for obtaining punching coordinates in an embodiment of the present application.

[0033] Figure 9 It is a schematic flowchart of the step of obtaining the punching coordinates according to the preset coordinate obtaining method in the embodiment of the present application.

[0034] Explanation of the reference numerals: 11, touch film; 12, positioning point. Specific embodiments

[0035] In order to make the purpose, technical solutions and advantages of the present application clearer, the following Figures 1-9 in combination with the accompanying drawings and embodiments, the present application will be further described in detail. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0036] The embodiment of the present application discloses a method for positioning and punching a headlight printing sheet material. Refer to Figure 2 , the method for positioning and punching a headlight printing sheet material includes: Step S101: Transfer the printing sheet material to a preset working position by a manipulator.

[0037] The preset working position refers to the position for positioning and punching the printing sheet material.

[0038] Among them, the manipulator is provided with a suction cup, which sucks one side of the printing sheet material and shakes it up and down to prevent the adsorption phenomenon between the upper and lower printing sheet materials, and then transfers the printing sheet material to the preset working position. During the transfer process and the subsequent punching process, the suction cup always sucks the printing sheet material to move the printing sheet material.

[0039] Step S102: Move the printing sheet material so that the i-th positioning point in the positioning points of the printing sheet material is located at the punching station, where i is a positive integer with an initial value of 1.

[0040] The punching station is a station for punching the positioning points on the printing sheet material. Among them, a detection camera for identifying the positioning points and a punching device for punching the positioning points are provided at the punching station.

[0041] Among them, the positioning points are numbered with Pi. Exemplarily, refer to Figure 1 , taking the positioning point in the upper left corner as the first positioning point, marked as P1, and taking the positioning point in the upper right corner as the last positioning point, and the numbering order is in a U shape.

[0042] When i is 1, the manipulator moves the printing sheet material so that the first positioning point is located at the punching station. Among them, the manipulator is provided with a preset program. After the printing sheet material is transferred to the preset working position, the transferred sheet material is continuously moved so that the first positioning point is within the recognizable range of the detection camera.

[0043] Step S103: Execute the step of obtaining punching coordinates. The step of obtaining punching coordinates includes: identifying the position of the i-th positioning point and obtaining the coordinates of the i-th positioning point to obtain the punching coordinates.

[0044] The coordinates of the positioning point refer to the position coordinates of the positioning point in the image coordinate system determined after identifying the positioning point through an image recognition algorithm within the shooting range of the detection camera. Among them, the image coordinate system refers to a coordinate system with the first positioning point as the origin, the length direction of the printed sheet material as the X-axis, and the width direction of the printed sheet material as the Y-axis. After identifying the positioning point, a detection frame conforming to the shape of the positioning point is formed in the image coordinate system. The detection frame has a central crosshair, and the intersection point of the central crosshair is the position coordinate of the positioning point. The punching coordinates are the position coordinates of the positioning point.

[0045] Further, when the positioning point is identified, the printed sheet material is moved by a manipulator so that the center point of the positioning point is located at the origin in the image coordinate system.

[0046] Step S104: Execute the punching operation step. The punching operation step includes: performing a punching operation on the i-th positioning point according to the punching coordinates.

[0047] Among them, the position of the detection camera is fixed, and the stamping device can move according to the position of the positioning point in the image coordinate system, that is, move according to the punching coordinates, to perform a punching operation on the positioning point.

[0048] Step S105: Execute the moving step. The moving step includes: moving the printed sheet material based on the i-th positioning point so that the (i + 1)-th positioning point is located at the punching station, and updating i to i + 1.

[0049] Among them, when the center point of the positioning point is located at the origin of the image coordinate system, the position of the current manipulator is set as the zero point of the moving path. After the punching operation on the i-th positioning point is completed, the printed sheet material is moved a preset distance by the manipulator so that the (i + 1)-th positioning point is located within the detection range of the detection camera. The moving path is preset by the operator, and the moving path corresponds to the numbering order of the positioning points. The preset distance is preset by the operator, and the preset distance is related to the distance between two adjacent positioning points. Refer to Figure 1 , when the punching operation on the positioning point in the lower left corner is completed, the printed sheet material needs to be moved horizontally so that the positioning point in the lower right corner is located within the detection range of the detection camera.

[0050] After moving the (i + 1)-th positioning point to the punching station, update i to i + 1 so that in subsequent steps, the (i + 1)-th positioning point is identified and a punching operation is performed.

[0051] Step S106: Repeat the steps of obtaining punching coordinates, punching operation, and movement until the punching operation is completed for all positioning points.

[0052] Repeat steps S103, S104, and S105 to perform punching operations on the positioning points on the printed sheet material in sequence. After the punching operation is completed for all positioning points, step S107 is executed.

[0053] Exemplarily, referring to Figure 1 , by executing steps S103, S104, and S105, punching is performed on the positioning points starting from the upper left corner, and the printed sheet material is controlled to move upward to complete the punching operations on the left positioning points in sequence. Among them, the punching order is to punch downward in sequence. After the punching operation on the lower left positioning point is completed, the printed sheet material is moved horizontally to complete the punching on the lower right positioning point. Then, the printed sheet material is controlled to move downward to complete the punching operations on the right positioning points in sequence. Among them, the punching order is to punch upward in sequence until the punching operation on the upper right positioning point is completed, and then step S107 is executed.

[0054] Step S107: Use the manipulator to transfer the printed sheet material after the punching operation to a preset storage location.

[0055] The preset storage location is the location for storing the printed sheet material after the punching operation is completed. After the punching operation is completed for all positioning points in the printed sheet material, the printed sheet material is moved to the preset storage location by the manipulator.

[0056] By adopting the above technical solution, the printed sheet material is moved to the preset working position by the manipulator, the position of the positioning point is recognized to obtain the punching coordinates, and the punching operation is performed on the positioning point according to the punching coordinates, and this is repeated to complete the punching operation on all positioning points. Then, the printed sheet material after the punching operation is transferred to the preset storage location. Compared with the method of manually punching the positioning points, the punching efficiency of the positioning points in this application is relatively high.

[0057] In the following embodiments, when printing the touch film and positioning points on the printed sheet material, there is a probability of printing deviation or incorrect printing of the positioning points, such as the case of missing printing. To solve this problem, the embodiments of this application provide a method for obtaining punching coordinates through the midpoint coordinates. Referring to Figure 3 , this method includes: Step S201: During the process of identifying the position of the positioning point, determine whether the positioning point is located within the first detection frame.

[0058] The first detection frame is a detection frame for identifying the positioning point.

[0059] Among them, during the process of identifying the position of the positioning point through the detection camera, due to the probability of printing offset and missing printing of the positioning point, the first detection frame cannot detect the positioning point. Therefore, it is necessary to determine whether the positioning point is within the first detection frame.

[0060] Step S202: When the positioning point is not within the first detection frame, use the second detection frame for detection and determine whether the positioning point is within the second detection frame, where the detection range of the second detection frame is larger than that of the first detection frame.

[0061] In another aspect, if the positioning point is within the first detection frame, then refer to step S103 to obtain the coordinates of the positioning point.

[0062] Among them, the detection camera is a variable focal length camera, and corresponding detection frames are set at specific focal lengths. The detection frames include a first detection frame, a second detection frame, and a third detection frame. The area of the second detection frame is 1.5 times that of the first detection frame, and the area of the third detection frame is 2 times that of the first detection frame.

[0063] When the positioning point is not within the first detection frame, by changing the focal length of the camera, use the second detection frame to detect the positioning point and determine whether the positioning point is within the second detection frame, so as to be able to determine whether there is printing offset or missing printing of the positioning point.

[0064] Step S203: If not, mark the position indicated by the current first detection frame to obtain the target coordinate point, and record the coordinates of the target coordinate point to obtain the target coordinates.

[0065] In another aspect, if the positioning point is within the second detection frame, move the printed sheet material by the manipulator so that the positioning point is within the first detection frame.

[0066] If not, it means that the positioning point is not within the second detection frame. Therefore, mark the position indicated by the first detection frame. Among them, the first detection frame has crosshairs, and the position where the crosshairs intersect is the position indicated by the first detection frame, that is, the target coordinate point. Further, the current position of the manipulator corresponds to the position of the first detection frame. The coordinates of the intersection point of the first detection frame can be obtained by obtaining the coordinates of the manipulator, so as to obtain the coordinates of the target coordinate point to obtain the target coordinates. Since the positioning point cannot be detected within the second detection frame, temporarily skip the punching of the current positioning point, move the printed sheet material by the manipulator so that the next positioning point is within the first detection frame, and record the coordinates of the manipulator.

[0067] Step S204: Obtain the adjacent positioning points on both sides of the target coordinate point, and obtain the midpoint coordinates of the adjacent positioning points.

[0068] The adjacent positioning point refers to the positioning point closest to the target coordinate point.

[0069] In the case that the positioning point is not detected by the second detection frame, the detection of this positioning point is skipped, that is, the target coordinate point is skipped, and the coordinates of the next positioning point are detected and obtained. Among them, the coordinates of the previous positioning point of the target coordinate point have been obtained when punching it. Therefore, the coordinates of the adjacent positioning points on both adjacent sides of the target coordinate point have been obtained, and the midpoint coordinates of the two adjacent positioning points are calculated based on the aforementioned two coordinates.

[0070] Exemplarily, when the punching operation is completed for the 1st positioning point, the coordinate a1 of the manipulator is (0, 0). By moving the printed sheet material with the manipulator, the 2nd positioning point is located at the punching station, and neither the first detection frame nor the second detection frame detects the 2nd positioning point, which means that there is a situation of offset printing or missing printing for the 2nd positioning point. Among them, the moving distance of the manipulator is b, and the coordinate a2 of the manipulator is (b, 0). The coordinate a2 is used as the target coordinate point, and at this time, the punching operation for the area corresponding to the target coordinate point is skipped. By moving the printed sheet material with the manipulator, the 3rd positioning point is located at the punching station, and the 3rd positioning point is detected by the first detection frame. In the case of detecting the 3rd positioning point, by moving the printed sheet material, the center point of the 3rd positioning point is located at the center position of the first detection frame. At this time, the moving distance of the manipulator is c, and the coordinate a3 of the manipulator is (b + c, 0). The midpoint coordinates between the 1st positioning point and the 3rd positioning point are ((b + c) / 2, 0).

[0071] Step S205: Update the target coordinate with the midpoint coordinate and use the target coordinate as the punching coordinate.

[0072] Among them, after obtaining the midpoint coordinate, the target coordinate is updated with the midpoint coordinate. The target coordinate is moved to the detection range of the first detection frame by the manipulator, and the updated target coordinate is used as the punching coordinate to perform the punching operation on the area corresponding to the target coordinate.

[0073] By adopting the above technical solution, in the case that the first detection frame cannot identify the positioning point, the second detection frame with a larger detection range is further used to identify the positioning point. Among them, if the second detection frame still cannot identify the positioning point, it means that there is a situation of missing printing on the printed sheet material at the current position, resulting in the positioning point not being printed. Therefore, based on this situation, the position indicated by the current first detection frame is marked to obtain the target coordinate point, the target coordinate is updated with the midpoint coordinate of the adjacent positioning point, and the updated target coordinate is used as the punching coordinate, so that in the case of missing printing of the positioning point in the printed sheet material, the punching coordinate can still be obtained to punch the printed sheet material.

[0074] In the following embodiments, when printing the printing sheet material on the printed touch film and the positioning points, the printing distance between adjacent touch films and positioning points is relatively close, so that when using the second detection frame, it is easy to detect more than one positioning point. When determining the positioning points that need to be punched, in order to improve this problem, the embodiments of the present application provide a positioning point determination method, referring to Figure 4 , the method includes: Step S301: During the process of using the second detection frame to detect the positioning points, determine whether the number of positioning points is greater than one.

[0075] In some embodiments, since the distance between adjacent touch films and positioning points is relatively close, and when changing the focal length of the detection camera, the detection range becomes larger, so there is a situation where the second detection frame includes at least two positioning points during the detection process. Therefore, determine whether the number of positioning points in the second detection frame is greater than one.

[0076] Step S302: If so, use the third detection frame to detect the positioning points and identify the positioning points that have completed the punching operation, where the detection range of the third detection frame is larger than the detection range of the second detection frame.

[0077] On the other hand, if during the process of using the second detection frame to detect the positioning points, the number of positioning points is not greater than one, move the printing sheet material by the manipulator so that the positioning points are located within the first detection frame to identify the positioning points, thereby obtaining the punching coordinates.

[0078] If so, it means that during the process of using the second detection frame to detect the positioning points, the number of positioning points is greater than one. Based on this situation, perform a larger range of detection by using the third detection frame to identify the positioning points that have completed the punching operation and the positioning points that have not been punched. Among them, the detection range of the second detection frame is 1.5 times the detection range of the first detection frame, and the detection range of the third detection frame is 2 times the detection range of the first detection frame.

[0079] Step S303: Mark the positioning point closest to the positioning point that has completed the punching operation as the positioning point to be punched.

[0080] When using the third detection frame for detection, since the detection range of the third detection frame is 2 times the detection range of the first detection frame, the detection range is relatively large to detect the area near the current positioning point to identify the positioning point that has completed the punching operation and the positioning point closest to the positioning point that has completed the punching operation, and mark the positioning point closest to the positioning point that has completed the punching operation as the positioning point to be punched.

[0081] Step S304: Move the printing sheet material so that the positioning point to be punched is located within the first detection frame.

[0082] Move the printed sheet by a manipulator so that the positioning point to be punched is within the first detection frame, and the center point of the positioning point to be punched is at the intersection of the crosshairs of the first detection frame, so that the corresponding punching coordinates can be obtained to perform a punching operation on the punching point in subsequent steps.

[0083] By adopting the above technical solution, during the detection using the second detection frame, if the number of positioning points is greater than one, it is difficult to determine the positioning point that needs to be punched. Therefore, the third detection frame is used for detection to identify the positioning points that have completed the punching operation, and the positioning point closest to the positioning points that have completed the punching operation is marked as the positioning point to be punched. Then, move the printed sheet so that the positioning point to be punched is within the first detection frame to facilitate the punching operation on the positioning point to be punched.

[0084] Refer to Figure 5 , an embodiment of the present application provides a method for preventing missed punching of positioning points, and the method includes: Step S401: When there is only one adjacent positioning point on each of the two adjacent sides of the target coordinate point, count the number of positioning points that have completed the punching operation to obtain the punching quantity.

[0085] The punching quantity specifically refers to the number of positioning points that have completed the punching operation at the current moment.

[0086] Among them, when obtaining the adjacent positioning points on the two adjacent sides of the target coordinate point, there is only one adjacent positioning point on one side. Based on this situation, it means that the area corresponding to the printed sheet at the punching station is a non-positioning point area. If the first positioning point that completes the punching operation is not the first positioning point in the printed sheet, resulting in the situation where there is only one adjacent positioning point on each of the two adjacent sides of the target coordinate point. Based on this situation, count the number of positioning points that have completed the punching operation to obtain the punching quantity. Among them, the specific steps for obtaining the adjacent positioning points on the two adjacent sides of the target coordinate point can refer to step S204.

[0087] Step S402: Determine whether the punching quantity is less than the preset punching quantity.

[0088] The preset punching quantity is a preset constant, which is related to the total number of positioning points on one side of the printed sheet minus one. Exemplarily, refer to Figure 1 , if the number of positioning points on the left side is 5, then the preset punching quantity is 5 - 1 = 4.

[0089] By comparing the punching quantity with the preset punching quantity, it can be determined whether the positioning point during the initial punching is the first positioning point in the printed sheet. If the punching quantity is less than the preset punching quantity, it means that the positioning point during the initial punching is not the first positioning point in the printed sheet.

[0090] Step S403: If so, move the printing sheet material in the reverse direction according to the number of punching holes.

[0091] In another aspect, if the number of punching holes is not less than the preset number of punching holes, obtain the punching coordinates with reference to the steps in the Figure 3 embodiment.

[0092] If so, it means that the number of punching holes is less than the preset number of punching holes, that is, the positioning point during the initial punching is not the first positioning point in the printing sheet material. Based on this situation, the printing material tray is moved in the reverse direction.

[0093] Exemplarily, with reference to Figure 1 , when punching the positioning point on the left side of the printing material, the punching sequence is P2, P3, P4, P5, the punching sequence is from top to bottom, and the moving direction of the printing sheet material is from bottom to top. Therefore, the printing sheet material is controlled by the manipulator to move from top to bottom.

[0094] Step S404: Use the second detection frame to detect and determine whether there are positioning points that have not been punched.

[0095] During the process of moving the printing sheet material in the reverse direction, the printing sheet material is detected in real time through the second detection frame, and it is determined whether there are positioning points that have not been punched.

[0096] Step S405: If so, move the printing sheet material so that the positioning point that has not been punched is located within the first detection frame.

[0097] In the case where there are positioning points that have not been punched, during the process of using the second detection frame to detect the positioning points that have not been punched in real time, the printing sheet material is moved by the manipulator so that the positioning points that have not been punched are located within the first detection frame.

[0098] Step S406: Obtain the coordinates of the positioning points that have not been punched to obtain the punching coordinates.

[0099] Among them, after the positioning points that have not been punched are located within the first detection frame, the position coordinates of the positioning points that have not been punched in the image coordinate system are identified through the image recognition algorithm, so as to obtain the punching coordinates.

[0100] By adopting the above technical solution, in the case where there is only one positioning point on both adjacent sides of the detected target coordinate point, the number of punching operations that have been completed can be counted and compared with the preset number of punching holes. When the number of punching holes is insufficient, the printing sheet material is moved in the reverse direction, and the second detection frame is used for re-detection. The missing unpunched positioning points are accurately found, and they are controlled to re-enter the first detection frame for positioning and punching, thereby effectively avoiding processing defects caused by missing positioning points, recognition failures, or omission of previous punching.

[0101] In the following embodiments, during the printing process of the printing sheet material, there is a probability of printing errors in the positioning points, resulting in the shape of the positioning points not being a complete circle, which makes it inconvenient to obtain the coordinates of the positioning points. To improve this problem, the embodiments of the present application provide a method for obtaining punching coordinates based on the positioning point image. Refer to Figure 6 , the method includes: Step S501: Obtain the image corresponding to the positioning point to obtain the positioning point image.

[0102] Among them, the area where the positioning point is located is photographed by a detection camera to obtain the image corresponding to the positioning point, so as to obtain the positioning point image.

[0103] Step S502: Determine whether the positioning point image is a preset circular dot image.

[0104] The preset circular dot image is a preset circular image. Among them, the positioning point presents a circular image under normal printing conditions.

[0105] After obtaining the positioning point image, the positioning point image is recognized through image recognition and compared with the preset origin image to determine whether it is the preset origin image, so as to be able to determine whether there is a printing error in the positioning point.

[0106] Step S503: If not, use a recognition frame to frame the positioning point image.

[0107] In another aspect, if the positioning point image is a preset circular dot image, then refer to Figure 2 the steps in the embodiment to obtain the punching coordinates corresponding to the positioning point.

[0108] If not, it means that the positioning point image is not a preset circular dot image, that is, the image corresponding to the positioning point is not a complete circular image. In this case, the positioning point image is framed by a recognition frame.

[0109] Exemplarily, due to printing errors, the image corresponding to the positioning point presents two main images similar to semi-circles and some discrete images scattered from the main images. Therefore, the image corresponding to the positioning point is completely framed by a recognition frame.

[0110] Step S504: Remove the discrete images in the positioning point image, and narrow the range of the recognition frame to frame the main image in the positioning point image.

[0111] The discrete image refers to an image area in the positioning point image that is less than the first preset percentage of the area of the preset circular dot image. In this embodiment, the first preset percentage can be set to 10%.

[0112] The main image refers to an image region in the positioning point image whose area is larger than the area of the preset dot image by a second preset percentage. In this embodiment, the second preset percentage can be set to 30%.

[0113] Among them, through image recognition, the discrete image and the main image are marked separately, the discrete image is removed, the main image is retained, and the range of the recognition frame is narrowed so that the recognition frame only selects the area where the main image is located.

[0114] For example, refer to Figure 7 , Figure A is the image initially obtained, Figure B is the image after being framed using the recognition frame, Figure C is the image after the discrete image in the positioning point image is removed, and Figure D is the image after narrowing the range of the recognition frame and framing the main image.

[0115] Step S505: Obtain the midpoint coordinates of the line connecting the positioning points on both sides of the positioning point to obtain the midpoint reference coordinates.

[0116] In the case where the positioning point image is not a preset dot image, the punching operation for the current positioning point is temporarily skipped. The coordinates of the previous positioning point of the current positioning point have been obtained during the punching operation, that is, the coordinates of the robot when the punching operation was performed on the previous positioning point. The robot moves the printed sheet so that the next positioning point is located at the punching station and the coordinates of the robot are obtained. Therefore, the coordinates of the positioning points on both sides of the positioning point are obtained, the above two coordinates are connected, and the midpoint coordinates are selected as the midpoint reference coordinates. The coordinates of the robot can reflect the position of the positioning point in the printed sheet, that is, the coordinates in the printed sheet.

[0117] The method for obtaining the midpoint reference coordinates may also refer to step S204 .

[0118] Step S506: Determine whether the distance between the center coordinate of the identification frame and the midpoint reference coordinate is greater than a preset distance.

[0119] The center coordinates of the recognition frame are the coordinates of the intersection of the cross lines in the recognition frame in the image coordinate system.

[0120] The preset distance is a preset constant and can be adjusted according to actual needs.

[0121] By comparing the distance between the center coordinates and the midpoint coordinates of the recognition frame with the preset distance, if the distance between the center coordinates and the midpoint coordinates of the recognition frame is greater than the preset distance, step S501 is executed, otherwise step S508 is executed.

[0122] Step S507: If yes, obtain the midpoint coordinates between the center coordinates of the recognition frame and the midpoint reference coordinates to obtain the punching coordinates.

[0123] If so, it means that the distance between the center coordinates of the recognition frame and the midpoint reference coordinates is greater than the preset distance. Based on this situation, connect the center coordinates of the recognition frame and the midpoint reference coordinates, and calculate the midpoint coordinates. After obtaining the midpoint coordinates, use the midpoint coordinates as the punching coordinates, and the positioning point can be punched according to the punching coordinates.

[0124] Step S508: If not, use the center coordinates of the recognition frame as the punching coordinates.

[0125] If not, it means that the distance between the center coordinates of the recognition frame and the midpoint reference coordinates is not greater than the preset distance. Therefore, use the center coordinates of the recognition frame as the punching coordinates.

[0126] By adopting the above technical solution, in the case where the positioning point image is not the preset dot image, by removing the discrete images in the positioning image and using the main image of the positioning point image of the recognition frame for framing, when the distance between the center coordinates of the recognition frame and the midpoint reference coordinates is greater than the preset distance, it means that there is a large position deviation of the positioning point during the printing process. Therefore, select the midpoint coordinates of the center coordinates of the recognition frame and the midpoint reference coordinates as the punching coordinates, otherwise use the center coordinates of the recognition frame as the punching coordinates, which helps to improve the accuracy of obtaining the punching coordinates in the case where the positioning point image is not the preset dot image, and makes the punching position deviation of the positioning point smaller.

[0127] In the following embodiments, during the printing process of the positioning point in the printing sheet material, when only a part of the printing point exists, it is impossible to identify this part, and thus the corresponding punching coordinates cannot be obtained. To solve this situation, the embodiment of the present application provides a method for obtaining punching coordinates, referring to Figure 8 , the method includes: Step S601: Identify the edge contour of the positioning point image.

[0128] After obtaining the positioning point image, through the edge detection algorithm, extract the boundary lines that make up the positioning point image, that is, the edge contour.

[0129] Step S602: Determine whether the edge contour conforms to the preset arc contour.

[0130] The preset arc contour is a preset arc shape, which is related to the arc shape of the positioning point. In this embodiment, the proportion of the preset arc contour in the entire circle of the positioning point is greater than 40%.

[0131] By comparing the edge contour with the preset arc contour, if the edge contour conforms to the preset arc contour, execute step S603, otherwise execute step S606.

[0132] Step S603: If so, select three reference points on the edge contour.

[0133] If so, it means that the edge contour conforms to the preset circular arc contour. Therefore, randomly select three reference points on the edge contour, and the center of the circle corresponding to the edge contour can be calculated through the three reference points.

[0134] Step S604: Obtain the center coordinates of the positioning point image based on the reference points.

[0135] After obtaining the three reference points, according to the geometric principle of determining a circle by three points, calculate the center coordinates corresponding to the edge contour, that is, the center coordinates of the positioning point image.

[0136] Exemplarily, let the three reference points be A(x1, y1), B(x2, y2), and C(x3, y3). Calculate the perpendicular bisectors by connecting them pairwise, and use the intersection of the perpendicular bisectors as the center coordinates, so as to obtain the center coordinates of the positioning point image.

[0137] Step S605: Use the center coordinates as the punching coordinates.

[0138] Based on the condition that the edge contour conforms to the preset circular arc contour, after obtaining the center coordinates of the positioning point image, use the center coordinates as the punching coordinates to perform punching operations on the positioning points.

[0139] Step S606: If not, obtain the punching coordinates according to the preset coordinate acquisition method.

[0140] If not, it means that the edge contour does not conform to the preset circular arc contour. In this case, obtain the punching coordinates according to the preset coordinate acquisition method. The specific steps of obtaining the punching coordinates according to the preset coordinate acquisition method can refer to Figure 9 the steps in the embodiment.

[0141] By adopting the above technical solutions, by identifying the edge contour of the positioning point image and when the edge contour conforms to the preset circular arc contour, select three reference points on the edge contour and calculate the center coordinates of the positioning point image corresponding to the three reference points, and use the center coordinates as the punching coordinates, so that when the positioning point image is incomplete, the punching coordinates corresponding to the positioning point can still be obtained.

[0142] Refer to Figure 9 , the steps of obtaining the punching coordinates according to the preset coordinate acquisition method include: Step S701: Make a prediction box based on the midpoint reference coordinates.

[0143] The prediction box refers to a circular box corresponding to the size of the outer contour of the positioning point.

[0144] After obtaining the midpoint reference coordinates, a prediction box is made with the midpoint reference coordinates as the center. When the image corresponding to the positioning point is incomplete, the prediction box can be used to predict the position of the positioning point.

[0145] Step S702: Determine whether the positioning point image is within the prediction box.

[0146] After making the prediction box, compare the positioning point image with the prediction box to detect whether the positioning point image and the prediction box are within the prediction box. If the positioning point image is within the prediction box, execute step S703; otherwise, execute step S704.

[0147] Step S703: If so, use the center coordinates of the prediction box as the punching coordinates.

[0148] The center coordinates of the prediction box refer to the coordinates corresponding to the intersection of the crosshairs of the prediction box in the image coordinate system.

[0149] If so, it means that the positioning point image is within the prediction box, that is, the position where the image of the positioning point would be in a complete state can be represented by the prediction box, and the center coordinates of the prediction box are used as the punching coordinates to perform the punching operation on the positioning point.

[0150] Step S704: If not, obtain the deviation direction of the positioning point image based on the midpoint reference coordinates.

[0151] If not, it means that the positioning point image is not within the prediction box, that is, when the image corresponding to the positioning point is complete, the center position of the positioning point is different from the midpoint reference coordinate position, and the prediction box cannot be used to represent the position of the positioning point.

[0152] Among them, before obtaining the deviation direction of the positioning point image, the coordinates corresponding to the positioning point image need to be obtained first. The steps for obtaining the coordinates of the positioning point can refer to steps S501 to S504, and the center coordinates of the recognition box are used as the coordinates corresponding to the positioning point image.

[0153] After obtaining the coordinates corresponding to the positioning point image, taking the midpoint reference coordinates as the origin, connect the coordinates corresponding to the positioning point image and the midpoint reference coordinates to obtain an azimuth connection line, and the azimuth connection line represents the deviation direction of the positioning point image, thereby obtaining the deviation direction of the positioning point image.

[0154] Step S705: Move the printing sheet material according to the deviation direction so that the positioning point image is within the prediction box, and use the center coordinates of the current prediction box as the punching coordinates.

[0155] After obtaining the deviation direction of the positioning point image, the printing sheet is controlled by the manipulator to move, so that the positioning point image moves along the azimuth connection line. When the positioning point image completely enters the prediction frame and the coordinate point of the positioning point image is located at the center coordinate of the prediction frame, at this time, the outer contour of the positioning point can be represented by the prediction frame. Therefore, the center coordinate of the current prediction frame is used as the punching coordinate to punch the positioning point.

[0156] By adopting the above technical solution, when the edge contour does not conform to the preset circular arc contour, a prediction frame is made at the midpoint reference coordinate. Among them, if the positioning point image is located within the prediction frame, the outer contour of the positioning point image can be represented by the prediction frame, and thus the center coordinate of the prediction frame is used as the punching coordinate. Among them, if the positioning point image is not located within the prediction frame, the printing sheet is moved so that the positioning point image is located within the prediction frame. The outer contour of the positioning point image can be represented by the prediction frame, and the center coordinate of the prediction frame at the current moment is used as the punching coordinate. It enables the punching coordinate corresponding to the positioning point to be obtained even when the positioning point image is incomplete.

[0157] Based on the same inventive concept, an embodiment of the present application provides a positioning and punching system for a vehicle lamp printing sheet, including: An acquisition module for acquiring the coordinates of the positioning point; A memory for storing the program of the positioning and punching method for the vehicle lamp printing sheet; A processor, and the program in the memory can be loaded and executed by the processor to implement the positioning and punching method for the vehicle lamp printing sheet.

[0158] Those skilled in the art can clearly understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example for illustration. In practical applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described system, device, and unit can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0159] An embodiment of the present application provides a computer-readable storage medium storing a computer program that can be loaded and executed by a processor to implement the positioning and punching method for the vehicle lamp printing sheet.

[0160] Computer storage media include, for example: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.

[0161] Based on the same inventive concept, an embodiment of the present application provides an intelligent terminal, including a memory and a processor, and a computer program capable of being loaded and executed by the processor for the positioning and punching method of the headlight printed sheet material is stored on the memory.

[0162] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be assigned to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working processes of the above-described system, device, and unit, reference can be made to the corresponding processes in the foregoing method embodiments, which will not be elaborated herein.

[0163] The above are all preferred embodiments of the present application. Without limiting the protection scope of the present application accordingly, any feature disclosed in this specification (including the abstract and drawings), unless specifically described, can be replaced by other equivalent or similar-purpose alternative features. That is, unless specifically described, each feature is only an example of a series of equivalent or similar features.

Claims

1. A method for positioning and punching a printed sheet material for a vehicle lamp, characterized in that, Including: Transfer the printed sheet material to a preset working position by a manipulator; Move the printed sheet material so that the i-th positioning point among the positioning points of the printed sheet material is located at the punching station, where i is a positive integer with an initial value of 1; Execute the step of obtaining punching coordinates, and the step of obtaining punching coordinates includes: identifying the position of the i-th positioning point and obtaining the coordinates of the i-th positioning point to obtain punching coordinates; Execute the punching operation step, and the punching operation step includes: performing a punching operation on the i-th positioning point according to the punching coordinates; Execute the moving step, and the moving step includes: moving the printed sheet material based on the i-th positioning point so that the (i + 1)-th positioning point is located at the punching station, and updating i to i + 1; Repeat the execution of the step of obtaining punching coordinates, the punching operation step, and the moving step until the punching operation is completed for all the positioning points; Transfer the printed sheet material after the punching operation is completed to a preset storage position by the manipulator.

2. The method for positioning and punching a headlight printing sheet material according to claim 1, wherein The method further includes: During the process of identifying the position of the positioning point, judge whether the positioning point is located within the first detection frame; In the case where the positioning point is not located within the first detection frame, use the second detection frame for detection and judge whether the positioning point is located within the second detection frame, where the detection range of the second detection frame is larger than the detection range of the first detection frame; If not, mark the position indicated by the current first detection frame to obtain a target coordinate point, and record the coordinates of the target coordinate point to obtain target coordinates; Obtain the adjacent positioning points on the two adjacent sides of the target coordinate point, and obtain the midpoint coordinates of the adjacent positioning points; Update the target coordinates with the midpoint coordinates and use the target coordinates as the punching coordinates.

3. A method for positioning and punching a headlight printing sheet material according to claim 2, characterized in that, The method further includes: During the process of using the second detection frame to detect the positioning point, judge whether the number of the positioning points is greater than one; If so, use the third detection frame to detect the positioning point and identify the positioning points that have completed the punching operation, where the detection range of the third detection frame is larger than the detection range of the second detection frame; Mark the positioning point closest to the positioning points that have completed the punching operation as the positioning point to be punched; Move the printed sheet material so that the positioning point to be punched is located within the first detection frame.

4. A method for positioning and punching a headlight printing sheet material according to claim 2, characterized in that, The method further includes: In the case where there is only one adjacent positioning point on the two adjacent sides of the target coordinate point, count the number of the positioning points that have completed the punching operation to obtain the punching quantity; Judge whether the punching quantity is less than the preset punching quantity; If so, move the printed sheet material in the reverse direction according to the punching quantity; Use the second detection frame for detection and judge whether there is a positioning point that has not been punched; If so, move the printed sheet material so that the positioning point that has not been punched is located within the first detection frame; Obtain the coordinates of the positioning point that has not been punched to obtain the punching coordinates.

5. A method for positioning and punching a headlight printing sheet material according to claim 1, characterized in that, The method further includes: Obtain the image corresponding to the positioning point to obtain a positioning point image; Judge whether the positioning point image is a preset dot image; If not, use an identification frame to frame the positioning point image. Remove the discrete images in the positioning point image, narrow the range of the recognition frame, and frame the main image in the positioning point image; Obtain the midpoint coordinates of the connection lines of the positioning points on the two adjacent sides of the positioning point to obtain the midpoint reference coordinates; Determine whether the distance between the center coordinates of the recognition frame and the midpoint reference coordinates is greater than a preset distance; If so, obtain the midpoint coordinates between the center coordinates of the recognition frame and the midpoint reference coordinates to obtain the punching coordinates; If not, use the center coordinates of the recognition frame as the punching coordinates.

6. A method for positioning and punching a printed sheet material for a vehicle lamp according to claim 5, characterized in that, The method further includes: Identify the edge contour of the positioning point image; Determine whether the edge contour conforms to a preset circular arc contour; If so, select three reference points on the edge contour; Obtain the center coordinates corresponding to the positioning point image based on the reference points; Use the center coordinates as the punching coordinates; If not, obtain the punching coordinates according to a preset coordinate acquisition method.

7. A method for positioning and punching a headlight printing sheet material according to claim 6, characterized in that, The step of obtaining the punching coordinates according to the preset coordinate acquisition method includes: Make a prediction frame based on the midpoint reference coordinates; Determine whether the positioning point image is within the prediction frame; If so, use the center coordinates of the prediction frame as the punching coordinates; If not, obtain the deviation direction of the positioning point image based on the midpoint reference coordinates; Move the printed sheet material according to the deviation direction so that the positioning point image is within the prediction frame, and use the center coordinates of the current prediction frame as the punching coordinates.

8. A positioning and punching system for a headlight printing sheet material, characterized in that, The system is used to execute the positioning and punching method for the headlight printed sheet material as described in any one of claims 1 to 7, and includes: An acquisition module for acquiring the coordinates of the positioning point; A memory for storing the program of the positioning and punching method for the headlight printed sheet material; A processor, and the program in the memory can be loaded and executed by the processor to implement the positioning and punching method for the headlight printed sheet material.

9. An intelligent terminal, characterized in that, It includes a memory and a processor, and a computer program capable of being loaded and executed by the processor as described in any one of claims 1 to 7 is stored on the memory.

10. A computer-readable storage medium, characterized in that, A computer program capable of being loaded and executed by the processor as described in any one of claims 1 to 7 is stored.

Citation Information

Patent Citations

  • Silk screen printing device and image recognition contrapositioning method

    CN101117043A

  • Silk screen detecting method, device and terminal equipment and storage medium

    CN108357193A

  • Punching method for printed circuit board

    CN108601220A

  • Automatic material sheet positioning and adjusting method and device, processing machine and storage medium

    CN116714975A

  • Automatic punching method for reference mark position of multilayer printed board

    JP1992152048A