Visual detection method, device and equipment for printing pattern of screen printing machine and storage medium
Through simulation and identification technology, the problem of insufficient positioning of traditional silk screen printing equipment in special positions is solved, high-precision pattern printing is achieved, and printing efficiency and product quality are improved.
Patent Information
- Application Number
- CN202411741217.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-11-29
AI Technical Summary
Traditional silk screen printing equipment has shortcomings in precise positioning of special locations, resulting in low printing accuracy.
By obtaining the pattern to be printed and its corresponding item to be printed and the position to be printed, the simulated pattern is used to generate a printing effect simulation diagram on the item, the printing recognition point is extracted from it, the pattern printing start command is triggered, and the printing positioning point is obtained based on the image of the product to be printed. , realize the precise matching and printing of complex patterns.
It improves the accuracy and consistency of printing, reduces printing errors caused by position deviation, enhances the adaptability and flexibility of the system, and significantly improves printing efficiency and product quality.
Smart Images

Figure CN119427918A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of visual inspection, and in particular to a method, device, equipment and storage medium for visual inspection of patterns printed by a silk screen printer. Background Art
[0002] A screen printer is a machine that uses a screen printing plate to print text and images. The working process of a screen printer is as follows: the printing material is placed on the printing table, and then the screen frame with a printed pattern is placed on the printing table so that the screen frame can align with and cover the printing material, and then the ink or printing material is scraped off on the screen by the ink scraper assembly, so that the ink or printing material is screen-printed on the printing material, thereby forming a pattern.
[0003] When placing the screen frame on the printing platen, in order to ensure the accuracy of printing, the screen frame and the printing material need to be aligned. Usually, the positioning points of the screen frame and the printing material are aligned by adjusting the position of the screen frame (that is, positioning the positioning device), and then printing is carried out. However, for precise printing at some special positions, the positioning device cannot be aligned, which affects the accuracy of printing. Summary of the invention
[0004] In order to improve the precise positioning of special positions during the printing process, the present application provides a visual inspection method, device, equipment and storage medium for a pattern printed by a screen printer.
[0005] The above-mentioned invention objective of the present application is achieved through the following technical solutions: A visual inspection method for a pattern printed by a screen printer, the visual inspection method for a pattern printed by a screen printer comprising: Acquire a pattern to be printed, acquire an object to be printed corresponding to the pattern to be printed, and a position to be printed on the object to be printed; Simulating the pattern to be printed onto the object to be printed according to the position to be printed to obtain a printing effect simulation diagram; Extracting a printing identification point from the printing effect simulation diagram, and triggering a pattern printing start instruction according to the printing identification point; An image of a product to be printed is acquired, a printing positioning point corresponding to the printing identification point is acquired from the image of the product to be printed, and a pattern positioning printing instruction is triggered according to an association relationship between the printing positioning point and the pattern to be printed.
[0006] By adopting the above technical solution, after obtaining the pattern to be printed and its corresponding object to be printed and position to be printed, the pattern to be printed is simulated onto the object to be printed based on this information to generate a printing effect simulation diagram, which can not only pre-verify the printing effect, but also ensure the accuracy of the position of the pattern before actual printing, thereby avoiding printing errors caused by position deviation. Secondly, the printing identification points are extracted from the printing effect simulation diagram, and the pattern printing start instruction is triggered based on these identification points, making the entire printing process more intelligent and automated. Traditional silk-screen printing equipment relies on manual visual judgment of the printing starting point, which is easily affected by human factors, resulting in inaccurate or missing printing. The identification points of the visual detection system can accurately determine the printing starting position, ensuring that each printing starts at the correct position, improving the consistency and reliability of printing. Thirdly, the system's adaptability and flexibility are further enhanced by obtaining the image of the product to be printed and extracting the printing positioning points corresponding to the printing identification points. In actual production, the shape and size of the product to be printed may change. By acquiring the product image in real time and analyzing it, the printing position can be adjusted dynamically to ensure that the printing effect can be highly consistent even between different batches of products. This not only reduces the printing error caused by product differences, but also greatly reduces the quality fluctuation caused by human intervention. Finally, according to the correlation between the printing positioning point and the pattern to be printed, the pattern positioning printing instruction is triggered to achieve accurate matching and printing of complex patterns, especially in the application scenarios of multi-pattern or multi-position printing. The advantages of this method are particularly obvious. By defining the relative position relationship between each pattern in advance and correcting it according to these relationships during the actual printing process, it can ensure that multiple patterns are accurately arranged on the same product, which helps to meet the strict requirements of the high-end printing market for fineness and aesthetics. That is, it not only solves the shortcomings of traditional screen printing equipment in terms of accuracy and stability, but also significantly improves printing efficiency and product quality.
[0007] In a preferred example, the present application can be further configured as follows: simulating the pattern to be printed onto the object to be printed according to the position to be printed to obtain a printing effect simulation diagram, specifically including: Acquiring pattern outline information from the pattern to be printed, and decomposing the pattern to be printed according to the pattern outline information to obtain a combined pattern to be printed; The pattern positioning information corresponding to each of the to-be-printed combined patterns is acquired according to the to-be-printed position, and each of the to-be-printed combined patterns is simulated onto the to-be-printed object according to the pattern positioning information to obtain the printing effect simulation diagram.
[0008] By adopting the above technical solution, first, the pattern contour information is obtained from the pattern to be printed, which can not only accurately determine the specific shape and boundary of the pattern, but also provide basic data support for the subsequent pattern decomposition. Then, the pattern to be printed is decomposed according to the pattern contour information. This process breaks down the complex single pattern into multiple smaller and easier to handle combination patterns to be printed. This decomposition method not only simplifies the complexity of pattern processing, but also improves the accuracy of pattern recognition. Subsequently, the pattern positioning information corresponding to each combination pattern to be printed is obtained according to the position to be printed. This step ensures that each combination pattern can be accurately aligned on the object to be printed, thereby avoiding printing quality problems caused by position deviation. Further, each combination pattern to be printed is simulated on the object to be printed according to the pattern positioning information to obtain a printing effect simulation diagram, which can timely discover and correct possible problems, reduce the number of trial and error, and improve production efficiency. At the same time, the printing effect simulation diagram can also be used for quality control to ensure that the printing quality of each product meets the standard requirements. In addition, this technical solution makes the entire printing process more flexible and controllable by decomposing and simulating the pattern. Especially when dealing with complex patterns or multi-pattern combination printing, this step-by-step processing method can significantly improve printing accuracy and consistency. For example, when printing a variety of different patterns or texts at a specific position on the bottle body or bottle cap, by first decomposing the large pattern into several small patterns, and then simulating and positioning them separately, the problem of inaccurate positioning caused by the overall pattern being too large can be effectively avoided, thereby ensuring that each small pattern can be accurately printed at the correct position.
[0009] In a preferred example, the present application may be further configured as follows: extracting a printing identification point from the printing effect simulation diagram, and triggering a pattern printing start instruction according to the printing identification point, specifically including: Acquire a product curve position from the printing effect simulation diagram, and compare the product curve position with the pattern positioning information of each of the combined patterns to be printed; The product curve position falling into the pattern positioning information is used as the printing identification point, and the pattern printing start instruction is triggered according to the printing identification point.
[0010] By adopting the above technical solution, first, the product curve position is obtained from the printing effect simulation diagram. This step is to accurately determine the actual shape and position of the product. The product curve position refers to the specific geometric features on the surface of the product, which can be used for subsequent precise matching and positioning. Then, the product curve position is compared with the pattern positioning information of each of the combined patterns to be printed. This comparison process involves multiple considerations, including but not limited to the fit of the pattern contour, the accuracy of the relative position, and the consistency of the geometric dimensions. Through this meticulous comparison, it is possible to ensure that each combined pattern to be printed is accurately matched at its predetermined position, thereby improving the accuracy and reliability of the entire printing process. Subsequently, the product curve position falling into the pattern positioning information is used as the printing identification point. Selecting the printing identification point in this way can not only reduce printing errors caused by unclear positions, but also improve printing efficiency and reduce unnecessary repeated operations. Finally, the pattern printing start instruction is triggered according to the printing identification point. The triggering mechanism of this instruction is designed to be very flexible and efficient, and can start the printing process immediately after detecting the appropriate printing identification point. This instant response mechanism not only shortens the printing preparation time, but also improves the overall production efficiency. At the same time, since the selection of printing identification points has been strictly compared and verified, it can ensure that each printing can be performed in the correct position, thereby greatly reducing the defective rate and improving product quality.
[0011] In a preferred example, the present application can be further configured as follows: the step of acquiring the image of the product to be printed, acquiring the printing positioning point corresponding to the printing identification point from the image of the product to be printed, and triggering the pattern positioning printing instruction according to the association between the printing positioning point and the pattern to be printed, specifically includes: Identifying product transportation posture data from the image of the product to be printed, and acquiring the corresponding product curve position according to the product transportation posture; The corresponding printing identification point is obtained according to the product curve position, and the association relationship is obtained according to the corresponding relationship between the product curve position and the pattern positioning information to trigger the pattern positioning printing instruction.
[0012] By adopting the above technical solution, first, the product transportation posture data is identified from the image of the product to be printed, and the actual transportation status of the product can be accurately captured. Subsequently, the corresponding curve position is obtained according to the product transportation posture. This step further refines the spatial position information of the product, making the subsequent operation more accurate. Then, the corresponding printing identification point is determined according to the obtained product curve position, which not only improves the accuracy of identification, but also reduces the possibility of misjudgment. Next, the association relationship is obtained according to the corresponding relationship between the product curve position and the pattern positioning information, so that the complex relationship between the product curve position and the pattern positioning information can be converted into an operational parameter, which can ensure that the corresponding printing identification point can be accurately found under different product transportation postures, thereby triggering the pattern positioning printing instruction. This process not only improves the intelligence level of the system, but also significantly improves the accuracy and efficiency of printing. In addition, by combining the product transportation posture data with the pattern positioning information, the initial order of printing can be dynamically adjusted, so that the printing process can be adaptively optimized in different production environments, reducing errors caused by human factors. This dynamic adjustment capability makes the entire printing process more flexible and efficient, greatly reduces production costs, and improves product quality.
[0013] In a preferred example, the present application can be further configured as follows: the corresponding printing identification point is obtained according to the product curve position, and the association relationship is obtained according to the corresponding relationship between the product curve position and the pattern positioning information to trigger the pattern positioning printing instruction, specifically including: Acquire the initial printing sequence of each of the to-be-printed combined patterns according to the pattern positioning information, and adjust the initial printing sequence according to the product transportation posture data to obtain the combined pattern printing sequence; The pattern positioning printing instruction is generated according to the combined pattern printing sequence.
[0014] By adopting the above technical solution, firstly, by accurately identifying and comparing the product curve position, the actual position and posture of the product to be printed can be quickly determined in a complex printing environment, which not only improves the accuracy of detection, but also reduces printing errors caused by position deviation, that is, when the product to be printed enters the field of view of the visual inspection system, the real-time image of the product can be captured and the product curve position can be extracted from it. These curve position information are used to compare with the pre-set pattern positioning information to determine which positions meet the printing conditions, and by dynamically adjusting the initial printing order, the printing efficiency and quality are further improved. In traditional screen printing machines, the printing order is usually fixed, which may lead to poor printing effects of some complex patterns. Therefore, a dynamic adjustment mechanism based on product transportation posture data is introduced. Specifically, when the system detects that the transportation posture of the product to be printed changes, the initial printing order of each combination pattern to be printed will be recalculated according to these changes. This dynamic adjustment can not only adapt to products of different shapes and sizes, but also ensure that each pattern can be printed in the most suitable position, thereby avoiding printing quality problems caused by a fixed order. Thirdly, the present invention realizes the orderly management of multiple combined patterns by generating the printing order of combined patterns. In some complex printing tasks, it is often necessary to print multiple different patterns on the same product. Because traditional screen printing machines often find it difficult to take into account the accuracy and consistency of all patterns in this case, the optimal printing order of combined patterns is automatically generated by combining the initial printing order of each combined pattern to be printed with the product transportation posture data. This not only takes into account the relative position relationship between each pattern, but also fully combines the movement trajectory and speed of the product, thereby ensuring that each pattern can be printed at the best time, thereby improving the overall printing quality and stability.
[0015] The second object of the invention is achieved by the following technical solutions: A visual inspection device for a pattern printed by a screen printer, the visual inspection device for a pattern printed by a screen printer comprising: A pattern information acquisition module, used to acquire a pattern to be printed, an object to be printed corresponding to the pattern to be printed, and a position to be printed on the object to be printed; A printing simulation construction module, used for simulating the pattern to be printed onto the object to be printed according to the position to be printed, to obtain a printing effect simulation diagram; A printing start triggering module, used for extracting printing identification points from the printing effect simulation diagram, and triggering a pattern printing start instruction according to the printing identification points; The positioning printing module is used to obtain the image of the product to be printed, obtain the printing positioning point corresponding to the printing identification point from the image of the product to be printed, and trigger the pattern positioning printing instruction according to the association relationship between the printing positioning point and the pattern to be printed.
[0016] By adopting the above technical solution, after obtaining the pattern to be printed and its corresponding object to be printed and position to be printed, the pattern to be printed is simulated onto the object to be printed based on this information to generate a printing effect simulation diagram, which can not only pre-verify the printing effect, but also ensure the accuracy of the position of the pattern before actual printing, thereby avoiding printing errors caused by position deviation. Secondly, the printing identification points are extracted from the printing effect simulation diagram, and the pattern printing start instruction is triggered based on these identification points, making the entire printing process more intelligent and automated. Traditional silk-screen printing equipment relies on manual visual judgment of the printing starting point, which is easily affected by human factors, resulting in inaccurate or missing printing. The identification points of the visual detection system can accurately determine the printing starting position, ensuring that each printing starts at the correct position, improving the consistency and reliability of printing. Thirdly, the system's adaptability and flexibility are further enhanced by obtaining the image of the product to be printed and extracting the printing positioning points corresponding to the printing identification points. In actual production, the shape and size of the product to be printed may change. By acquiring the product image in real time and analyzing it, the printing position can be adjusted dynamically to ensure that the printing effect can be highly consistent even between different batches of products. This not only reduces the printing error caused by product differences, but also greatly reduces the quality fluctuation caused by human intervention. Finally, according to the correlation between the printing positioning point and the pattern to be printed, the pattern positioning printing instruction is triggered to achieve accurate matching and printing of complex patterns, especially in the application scenarios of multi-pattern or multi-position printing. The advantages of this method are particularly obvious. By defining the relative position relationship between each pattern in advance and correcting it according to these relationships during the actual printing process, it can ensure that multiple patterns are accurately arranged on the same product, which helps to meet the strict requirements of the high-end printing market for fineness and aesthetics. That is, it not only solves the shortcomings of traditional screen printing equipment in terms of accuracy and stability, but also significantly improves printing efficiency and product quality.
[0017] The third objective of the present application is achieved through the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the visual detection method of the pattern printed by the screen printer are implemented.
[0018] The fourth objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the visual detection method of a pattern printed by a silk screen printer.
[0019] In summary, the present application includes at least one of the following beneficial technical effects: 1. By decomposing the printed pattern into multiple combined patterns to be printed, the printing effect of each part can be accurately simulated, which significantly improves the accuracy of printing alignment and solves the printing deviation problem caused by insufficient positioning devices in traditional screen printing equipment; 2. The visual inspection system is used to identify and locate each combined pattern to be printed, achieving high-precision pattern printing, effectively reducing the defective rate, improving production efficiency and reducing production costs; 3. Through real-time monitoring and adjustment of product transportation posture data, the initial printing order is optimized, ensuring the correct printing order of each combination pattern, further improving the printing quality and stability; 4. High degree of automation reduces manual intervention, improves operation convenience and work efficiency, and reduces labor intensity. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flow chart of a method for visually inspecting a pattern printed by a screen printer in one embodiment of the present application; Figure 2 This is a flowchart for implementing step S20 of the method for visually inspecting a pattern printed by a screen printer in one embodiment of the present application; Figure 3 It is a flowchart for implementing step S30 of the method in visual inspection of a pattern printed by a screen printer in one embodiment of the present application; Figure 4 This is a flowchart for implementing step S40 of the method for visually inspecting a pattern printed by a screen printer in one embodiment of the present application; Figure 5 This is a flowchart for implementing step S421 of the method for visually inspecting a pattern printed by a screen printer in one embodiment of the present application; Figure 6 This is a principle block diagram of a visual inspection system for a pattern printed by a screen printer in one embodiment of the present application; Figure 7 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION
[0021] The present application is further described in detail below in conjunction with the accompanying drawings.
[0022] In one embodiment, if Figure 1 As shown, the present application discloses a visual inspection method for a pattern printed by a screen printer, which specifically includes the following steps: S10: Acquire a pattern to be printed, acquire an object to be printed corresponding to the pattern to be printed, and a position to be printed on the object to be printed.
[0023] In this embodiment, the pattern to be printed refers to a pattern that needs to be printed on the product packaging.
[0024] Specifically, before printing a pattern on the outer packaging of a product through a screen printer, a pre-designed pattern to be printed and information such as the type, shape, and size of the specific object to be printed are first obtained as the object to be printed. Further, after obtaining the information of the printed object, a pre-designed position to be printed is obtained, that is, the specific position where the pattern to be printed needs to be printed on the product.
[0025] S20: simulating the pattern to be printed onto the object to be printed according to the position to be printed, to obtain a printing effect simulation image.
[0026] Specifically, the object to be printed is photographed, and a corresponding three-dimensional simulation model is generated according to the obtained image. Further, the pattern to be printed is attached to the three-dimensional simulation model according to a predetermined position to be printed, so that the corresponding three-dimensional model is used as the printing simulation diagram.
[0027] S30: extracting printing identification points from the printing effect simulation diagram, and triggering a pattern printing start instruction according to the printing identification points.
[0028] Specifically, the position contour corresponding to the pattern to be printed is extracted from the printing effect simulation diagram, and the key positioning points are identified according to the posture of the pattern to be printed on the object to be printed, which serve as the identification points for visual positioning of the object during printing, namely the printing identification points.
[0029] Furthermore, after the printing identification point is generated, the pattern printing start instruction is triggered according to the printing identification point, so that the pattern printing start instruction carries the printing identification point, so that when printing the product, the corresponding position can be identified from the product passing through the printing mechanism for printing.
[0030] S40: Acquire the image of the product to be printed, acquire the printing positioning point corresponding to the printing identification point from the image of the product to be printed, and trigger the pattern positioning printing instruction according to the association relationship between the printing positioning point and the pattern to be printed.
[0031] Specifically, when an object passes through the printing mechanism, an image of the product is obtained through visual detection as the image of the product to be printed. Further, the printing positioning point is identified from the image of the product to be printed, and the pattern positioning printing instruction is triggered according to the position of the printing positioning point corresponding to the pattern to be printed, so that the printed pattern position is accurate.
[0032] In this embodiment, after obtaining the pattern to be printed and its corresponding object to be printed and the position to be printed, the pattern to be printed is simulated onto the object to be printed according to this information to generate a printing effect simulation diagram, which can not only pre-verify the printing effect, but also ensure the position accuracy of the pattern before actual printing, thereby avoiding printing errors caused by position deviation. Secondly, the printing identification points are extracted from the printing effect simulation diagram, and the pattern printing start instruction is triggered according to these identification points, making the entire printing process more intelligent and automated. Traditional screen printing equipment relies on manual visual judgment of the printing starting point, which is easily affected by human factors, resulting in inaccurate or missing printing. By using the identification points of the visual detection system, the printing starting position can be accurately determined to ensure that each printing can start at the correct position, thereby improving the consistency and reliability of printing. Thirdly, the image of the product to be printed is obtained and the printing positioning points corresponding to the printing identification points are extracted from it, further enhancing the adaptability and flexibility of the system. In actual production, the shape and size of the product to be printed may change. By acquiring the product image in real time and analyzing it, the printing position can be dynamically adjusted to ensure that a highly consistent printing effect can be maintained even between different batches of products. This not only reduces the printing error caused by product differences, but also greatly reduces the quality fluctuation caused by human intervention. Finally, according to the relationship between the printing positioning point and the pattern to be printed, the pattern positioning printing instruction is triggered to achieve accurate matching and printing of complex patterns. This method has obvious advantages, especially in the application scenarios of multi-pattern or multi-position printing. By defining the relative position relationship between each pattern in advance and correcting it according to these relationships during the actual printing process, it can ensure that multiple patterns are accurately arranged on the same product, which helps to meet the strict requirements of the high-end printing market for precision and aesthetics. That is, it not only solves the shortcomings of traditional screen printing equipment in terms of accuracy and stability, but also significantly improves printing efficiency and product quality.
[0033] In one embodiment, if Figure 2 As shown, in step S20, the pattern to be printed is simulated onto the object to be printed according to the position to be printed, and a printing effect simulation diagram is obtained, which specifically includes: S21: acquiring pattern outline information from the pattern to be printed, and decomposing the pattern to be printed according to the pattern outline information to obtain a combined pattern to be printed.
[0034] In this embodiment, the pattern outline information refers to the information of the outer outline of the pattern to be printed.
[0035] Specifically, edge lines of the group are obtained from the pattern to be printed to form the pattern contour information. Further, the angle of the corner between the line segments or the center angle of the arc in the contour line is obtained from the pattern contour information. When the angle of the corner or the center angle is greater than a preset value, the pattern to be printed is decomposed, so that each image obtained after decomposition is used as the combined pattern to be printed.
[0036] S22: acquiring pattern positioning information corresponding to each to-be-printed combined pattern according to the to-be-printed position, simulating each to-be-printed combined pattern onto the to-be-printed object according to the pattern positioning information, and obtaining a printing effect simulation diagram.
[0037] Specifically, based on the position of the pattern to be printed on the object to be printed, and the positional correspondence between each combined pattern to be printed and the pattern to be printed, the position corresponding to each combined pattern to be printed is obtained as the pattern positioning information, which is used to control the printing mechanism to print the corresponding combined pattern to be printed according to the pattern positioning information.
[0038] In one embodiment, if Figure 3 As shown, in step S30, the printing identification points are extracted from the printing effect simulation diagram, and the pattern printing start instruction is triggered according to the printing identification points, which specifically includes: S31: Obtaining the product curve position from the printing effect simulation diagram, and comparing the product curve position with the pattern positioning information of each combined pattern to be printed.
[0039] Specifically, after obtaining the printing effect simulation diagram, the planes on the product appearance are obtained from the printing effect simulation diagram, and the intersection between each plane is used as the product curve position.
[0040] Furthermore, the product curve position is compared with the pattern positioning information of each combined pattern to be printed to obtain a position corresponding to the product curve position.
[0041] S32: taking the product curve position falling into the pattern positioning information as a printing identification point, and triggering a pattern printing start instruction according to the printing identification point.
[0042] Specifically, the pattern positioning information covering the product curve position is used as the printing identification point, and a pattern printing start instruction carrying the printing identification point is triggered.
[0043] In one embodiment, if Figure 4 As shown, in step S40, the image of the product to be printed is obtained, and the printing positioning point corresponding to the printing identification point is obtained from the image of the product to be printed. According to the association between the printing positioning point and the pattern to be printed, the pattern positioning printing instruction is triggered, which specifically includes: S41: Identify product transportation posture data from the image of the product to be printed, and obtain the corresponding product curve position according to the product transportation posture.
[0044] Specifically, after the pattern positioning printing instruction is triggered, when the corresponding product is conveyed to the bottom of the printing mechanism, the visual inspection device is used to obtain the current product posture, such as the current angle, as the product transportation posture data. And according to the product posture data at that time, the current position of each product curve position relative to the printing mechanism is obtained.
[0045] S42: Acquire a corresponding printing identification point according to the product curve position, and acquire an association relationship according to the corresponding relationship between the product curve position and the pattern positioning information to trigger a pattern positioning printing instruction.
[0046] Specifically, after the printing identification point is obtained, the pattern positioning information corresponding to each printing identification point is obtained according to the correspondence between the product curve position and the pattern positioning information, thereby triggering the pattern positioning printing instruction.
[0047] In one embodiment, if Figure 5 As shown, in step S42, the corresponding printing identification point is obtained according to the product curve position, and the association relationship is obtained according to the corresponding relationship between the product curve position and the pattern positioning information to trigger the pattern positioning printing instruction, which specifically includes: S421: Acquire the initial printing sequence of each combination pattern to be printed according to the pattern positioning information, and adjust the initial printing sequence according to the product transportation posture data to obtain the combination pattern printing sequence.
[0048] Specifically, any viewing angle of the printing effect simulation diagram is selected as a reference viewing angle, and at the reference viewing angle, the initial printing order of each combination pattern to be printed is generated according to the pattern positioning information. Further, according to the offset between the product transportation posture data and the reference viewing angle, the initial printing order is adjusted to obtain the combination pattern printing order.
[0049] S422: Generate pattern positioning printing instructions according to the combined pattern printing sequence.
[0050] Specifically, according to the printing sequence of the combined pattern, the pattern positioning printing instruction is generated to control the printing mechanism to identify the printing identification points and print the corresponding combined pattern to be printed according to the printing sequence of the combined pattern.
[0051] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0052] In one embodiment, a visual inspection device for a pattern printed by a screen printer is provided, and the visual inspection device for a pattern printed by a screen printer corresponds one-to-one to the visual inspection method for a pattern printed by a screen printer in the above embodiment. Figure 6 As shown, the visual inspection device for printing patterns of the screen printer includes a pattern information acquisition module, a printing simulation construction module, a printing start trigger module and a positioning printing module. The detailed description of each functional module is as follows: A pattern information acquisition module is used to acquire the pattern to be printed, the object to be printed corresponding to the pattern to be printed, and the position to be printed on the object to be printed; A printing simulation building module is used to simulate the pattern to be printed onto the object to be printed according to the position to be printed, so as to obtain a printing effect simulation diagram; A printing start trigger module is used to extract printing identification points from the printing effect simulation diagram and trigger a pattern printing start instruction according to the printing identification points; The positioning printing module is used to obtain the image of the product to be printed, obtain the printing positioning point corresponding to the printing identification point from the image of the product to be printed, and trigger the pattern positioning printing instruction according to the association between the printing positioning point and the pattern to be printed.
[0053] Optional, printing simulation building blocks include: The pattern decomposition submodule is used to obtain pattern outline information from the pattern to be printed, and decompose the pattern to be printed according to the pattern outline information to obtain a combined pattern to be printed; The printing simulation map construction submodule is used to obtain the pattern positioning information corresponding to each to-be-printed combination pattern according to the to-be-printed position, and simulate each to-be-printed combination pattern onto the to-be-printed object according to the pattern positioning information to obtain a printing effect simulation map.
[0054] Optionally, the printing start trigger module includes: A position comparison submodule is used to obtain the product curve position from the printing effect simulation diagram, and compare the product curve position with the pattern positioning information of each combination pattern to be printed; The printing start control submodule is used to use the product curve position falling into the pattern positioning information as a printing identification point, and trigger the pattern printing start instruction according to the printing identification point.
[0055] Optionally, the positioning printing module includes: The curve positioning submodule is used to identify the product transportation posture data from the image of the product to be printed, and obtain the corresponding product curve position according to the product transportation posture; The positioning printing submodule is used to obtain the corresponding printing identification point according to the product curve position, and obtain the association relationship according to the corresponding relationship between the product curve position and the pattern positioning information to trigger the pattern positioning printing instruction.
[0056] Optionally, the positioning printing submodule includes: A sequence adjustment unit, used for obtaining the initial printing sequence of each combination pattern to be printed according to the pattern positioning information, and adjusting the initial printing sequence according to the product transportation posture data to obtain the printing sequence of the combination pattern; The printing positioning unit is used to generate a pattern positioning printing instruction according to the printing sequence of the combined pattern.
[0057] The specific definition of the visual detection device of the pattern printed by the screen printer can be found in the definition of the visual detection method of the pattern printed by the screen printer above, which will not be repeated here. Each module in the above-mentioned visual detection device of the pattern printed by the screen printer can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0058] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a visual detection method for a pattern printed by a silk screen printer is implemented.
[0059] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Acquire a pattern to be printed, acquire an object to be printed corresponding to the pattern to be printed, and a position to be printed on the object to be printed; Simulating the pattern to be printed onto the object to be printed according to the position to be printed, and obtaining a printing effect simulation image; Extracting printing identification points from the printing effect simulation image, and triggering a pattern printing start instruction according to the printing identification points; An image of a product to be printed is obtained, a printing positioning point corresponding to a printing identification point is obtained from the image of the product to be printed, and a pattern positioning printing instruction is triggered according to the association between the printing positioning point and the pattern to be printed.
[0060] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Acquire a pattern to be printed, acquire an object to be printed corresponding to the pattern to be printed, and a position to be printed on the object to be printed; Simulating the pattern to be printed onto the object to be printed according to the position to be printed, and obtaining a printing effect simulation image; Extracting printing identification points from the printing effect simulation image, and triggering a pattern printing start instruction according to the printing identification points; An image of a product to be printed is obtained, a printing positioning point corresponding to a printing identification point is obtained from the image of the product to be printed, and a pattern positioning printing instruction is triggered according to the association between the printing positioning point and the pattern to be printed.
[0061] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0062] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0063] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for visually inspecting a pattern printed by a screen printer, characterized in that: The visual detection method of the pattern printed by the screen printer comprises: Acquire a pattern to be printed, acquire an object to be printed corresponding to the pattern to be printed, and a position to be printed on the object to be printed; Simulating the pattern to be printed onto the object to be printed according to the position to be printed to obtain a printing effect simulation diagram; Extracting a printing identification point from the printing effect simulation diagram, and triggering a pattern printing start instruction according to the printing identification point; An image of a product to be printed is acquired, a printing positioning point corresponding to the printing identification point is acquired from the image of the product to be printed, and a pattern positioning printing instruction is triggered according to an association relationship between the printing positioning point and the pattern to be printed.
2. The visual inspection method for a pattern printed by a screen printer according to claim 1, characterized in that: The step of simulating the pattern to be printed onto the object to be printed according to the position to be printed to obtain a printing effect simulation diagram specifically includes: Acquiring pattern outline information from the pattern to be printed, and decomposing the pattern to be printed according to the pattern outline information to obtain a combined pattern to be printed; The pattern positioning information corresponding to each of the to-be-printed combined patterns is acquired according to the to-be-printed position, and each of the to-be-printed combined patterns is simulated onto the to-be-printed object according to the pattern positioning information to obtain the printing effect simulation diagram.
3. The visual inspection method of a pattern printed by a screen printer according to claim 2, characterized in that: The step of extracting a printing identification point from the printing effect simulation diagram and triggering a pattern printing start instruction according to the printing identification point specifically includes: Acquire a product curve position from the printing effect simulation diagram, and compare the product curve position with the pattern positioning information of each of the combined patterns to be printed; The product curve position falling into the pattern positioning information is used as the printing identification point, and the pattern printing start instruction is triggered according to the printing identification point.
4. The visual inspection method for a pattern printed by a screen printer according to claim 3, characterized in that: The step of acquiring the image of the product to be printed, acquiring the printing positioning point corresponding to the printing identification point from the image of the product to be printed, and triggering the pattern positioning printing instruction according to the association between the printing positioning point and the pattern to be printed, specifically includes: Identifying product transportation posture data from the image of the product to be printed, and acquiring the corresponding product curve position according to the product transportation posture; The corresponding printing identification point is obtained according to the product curve position, and the association relationship is obtained according to the corresponding relationship between the product curve position and the pattern positioning information to trigger the pattern positioning printing instruction.
5. The visual inspection method of a pattern printed by a screen printer according to claim 4, characterized in that: The obtaining of the corresponding printing identification point according to the product curve position, and obtaining the association relationship according to the correspondence between the product curve position and the pattern positioning information to trigger the pattern positioning printing instruction specifically includes: Acquire the initial printing sequence of each of the to-be-printed combined patterns according to the pattern positioning information, and adjust the initial printing sequence according to the product transportation posture data to obtain the combined pattern printing sequence; The pattern positioning printing instruction is generated according to the combined pattern printing sequence.
6. A visual inspection device for a pattern printed by a screen printer, characterized in that: The visual detection device of the pattern printed by the screen printer comprises: A pattern information acquisition module, used to acquire a pattern to be printed, an object to be printed corresponding to the pattern to be printed, and a position to be printed on the object to be printed; A printing simulation construction module, used for simulating the pattern to be printed onto the object to be printed according to the position to be printed, to obtain a printing effect simulation diagram; A printing start triggering module, used for extracting printing identification points from the printing effect simulation diagram, and triggering a pattern printing start instruction according to the printing identification points; The positioning printing module is used to obtain the image of the product to be printed, obtain the printing positioning point corresponding to the printing identification point from the image of the product to be printed, and trigger the pattern positioning printing instruction according to the association relationship between the printing positioning point and the pattern to be printed.
7. The visual inspection device for a pattern printed by a screen printer according to claim 6, characterized in that: The printing simulation building blocks include: A pattern decomposition submodule, used for acquiring pattern outline information from the pattern to be printed, and decomposing the pattern to be printed according to the pattern outline information to obtain a combined pattern to be printed; The printing simulation diagram construction submodule is used to obtain the pattern positioning information corresponding to each of the to-be-printed combined patterns according to the to-be-printed position, and simulate each of the to-be-printed combined patterns onto the to-be-printed object according to the pattern positioning information to obtain the printing effect simulation diagram.
8. The visual inspection device for a pattern printed by a screen printer according to claim 7, characterized in that: The printing start trigger module includes: A position comparison submodule, used for obtaining a product curve position from the printing effect simulation diagram, and comparing the product curve position with the pattern positioning information of each of the combined patterns to be printed; The printing start control submodule is used to use the product curve position falling into the pattern positioning information as the printing identification point, and trigger the pattern printing start instruction according to the printing identification point.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for visually inspecting a pattern printed by a silk screen printer as claimed in any one of claims 1 to 5 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for visually inspecting a pattern printed by a silk screen printer as claimed in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Printing method, printing device, terminal and storage medium
CN110126480A
Curved glass printing method and system
CN114851707A
Multi-target positioning printing method and device based on flat plate and storage medium
CN118578801A
Printing checking data forming method
JP2004074578A
Printer and printing method
JP2015134410A