Visual inspection method, device, equipment and storage medium for screen printing machine printed patterns
The visual inspection system obtains the pattern and position to be printed, generates simulation diagrams and extracts identification points, and adjusts the printing order in combination with the product posture, solving the problem of insufficient accuracy and stability of traditional silk screen printing equipment, achieving efficient and accurate printing effects.
Patent Information
- Application Number
- CN202411741217.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2044-11-29
AI Technical Summary
It is difficult for traditional silk screen printing equipment to achieve accurate positioning of special positions during alignment, resulting in insufficient printing accuracy and affecting the printing effect.
The visual detection method is used to obtain the pattern to be printed and its location, generate a printing effect simulation diagram, extract the printing identification points and trigger the pattern printing command, and dynamically adjust the printing order based on the product transportation posture data to ensure that the pattern starts printing in the correct position.
It improves the accuracy and consistency of printing, reduces printing errors caused by position deviation and human intervention, and meets the requirements of the high-end printing market for precision and aesthetics.
Smart Images

Figure CN119427918B_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 process is as follows: the substrate is placed on the printing table, and a screen frame with a printed pattern is placed on the printing plate, so that the screen frame is aligned and covers the substrate. A doctor blade assembly then scrapes ink or printing material from the screen, causing the ink or printing material to be printed on the substrate, thus forming the pattern.
[0003] When placing the screen frame on the printing platen, in order to ensure printing accuracy, 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) before printing. However, for precise printing in some special positions, the positioning device cannot be aligned, thus affecting 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 method, device, equipment and storage medium for visual inspection of printed patterns of a silk screen printer.
[0005] The above-mentioned invention objective of this application is achieved through the following technical solutions:
[0006] A method for visually inspecting a pattern printed by a screen printer, the method comprising:
[0007] Acquire a pattern to be printed, an article to be printed corresponding to the pattern to be printed, and a position to be printed on the article to be printed;
[0008] 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;
[0009] Extracting printing identification points from the printing effect simulation image, and triggering a pattern printing start instruction according to the printing identification points;
[0010] 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 between the printing positioning point and the pattern to be printed.
[0011] By adopting the above technical solution, after obtaining the pattern to be printed and its corresponding printed object and printing position, the pattern to be printed is simulated onto the printed object based on this information to generate a printing effect simulation diagram. This not only verifies the printing effect in advance, but also ensures the accuracy of the pattern's position before actual printing, thereby avoiding printing errors caused by position deviation. Secondly, 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 inspection to determine the printing starting point, which is easily affected by human factors and leads to inaccurate printing or omissions. However, the identification points of the visual inspection system can accurately determine the printing starting position, ensuring that each print starts in the correct position, improving the consistency and reliability of printing. Secondly, capturing an image of the product to be printed and extracting print registration points corresponding to the print recognition points further enhances the system's adaptability and flexibility. In actual production, the shape and size of printed products may vary. By capturing and analyzing the product image in real time, the print position can be dynamically adjusted, ensuring highly consistent printing results even across batches. This not only reduces printing errors caused by product variations but also significantly reduces quality fluctuations due to human intervention. Finally, based on the correlation between the print registration points and the pattern to be printed, the pattern registration print command is triggered, enabling precise matching and printing of complex patterns. This approach is particularly advantageous in applications requiring multiple patterns or multiple positions. By pre-defining the relative positional relationships between each pattern and calibrating these relationships during the actual printing process, multiple patterns can be accurately aligned on the same product, helping to meet the stringent requirements of the high-end printing market for precision and aesthetics. This not only addresses the limitations of traditional screen printing equipment in terms of accuracy and stability, but also significantly improves printing efficiency and product quality.
[0012] In a preferred example, the present application may be further configured as follows: simulating the pattern to be printed onto the article to be printed according to the position to be printed to obtain a printing effect simulation diagram, specifically including:
[0013] 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;
[0014] The pattern positioning information corresponding to each of the combination patterns to be printed is obtained according to the position to be printed, and each of the combination patterns to be printed is simulated on the article to be printed according to the pattern positioning information to obtain the printing effect simulation diagram.
[0015] By adopting the above technical solution, first, pattern contour information is obtained from the pattern to be printed, which not only accurately determines the specific shape and boundaries of the pattern, but also provides basic data support for subsequent pattern decomposition. Next, the pattern to be printed is decomposed based on the pattern contour information. This process breaks down the complex single pattern into multiple smaller, 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, pattern positioning information corresponding to each combination pattern to be printed is obtained based on the position to be printed. This step ensures that each combination pattern can be accurately aligned on the item to be printed, thereby avoiding printing quality problems caused by position deviation. Furthermore, each combination pattern to be printed is simulated onto the item to be printed based on the pattern positioning information to obtain a printing effect simulation diagram. This can promptly detect and correct possible problems, reduce the number of trial and error times, 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. Furthermore, this technical solution makes the entire printing process more flexible and controllable by decomposing and simulating patterns. This step-by-step approach can significantly improve printing accuracy and consistency, especially when dealing with complex patterns or printing multiple patterns in combination. For example, when printing multiple different patterns or text in a specific location on a bottle body or bottle cap, by first decomposing the large pattern into several smaller patterns and then simulating and positioning them separately, it can effectively avoid the problem of inaccurate positioning caused by the overall pattern being too large, thereby ensuring that each small pattern is accurately printed in the correct location.
[0016] In a preferred example, the present application may be further configured as follows: extracting a printing identification point from the printing effect simulation image and triggering a pattern printing start instruction according to the printing identification point specifically includes:
[0017] Acquiring 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;
[0018] 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.
[0019] By employing the above technical solution, the product curve position is first obtained from the printing effect simulation image. This step is to accurately determine the actual shape and position of the product. The product curve position refers to specific geometric features on the product surface, which can be used for subsequent precise matching and positioning. Next, the product curve position is compared with the pattern positioning information of each combined pattern to be printed. This comparison process involves multiple considerations, including but not limited to the consistency of the pattern contours, the accuracy of relative positioning, and the consistency of geometric dimensions. This meticulous comparison ensures that each combined pattern to be printed is precisely matched at its predetermined location, thereby improving the accuracy and reliability of the entire printing process. Subsequently, the product curve position that falls within the pattern positioning information is used as the printing recognition point. This selection of printing recognition points not only reduces printing errors caused by unclear positioning, but also improves printing efficiency and reduces unnecessary repetitive operations. Finally, the pattern printing start command is triggered based on the printing recognition point. The triggering mechanism of this command is designed to be highly flexible and efficient, and can immediately initiate the printing process upon detecting the appropriate printing recognition point. This instant response mechanism not only shortens printing preparation time, but also improves overall production efficiency. At the same time, since the selection of printing identification points has undergone strict comparison and verification, it can ensure that each printing can be performed in the correct position, thereby significantly reducing the defective rate and improving product quality.
[0020] In a preferred example, the present application may be further configured as follows: acquiring an image of a product to be printed, acquiring a printing positioning point corresponding to the printing identification point from the image of the product to be printed, and triggering a pattern positioning printing instruction based on an association between the printing positioning point and the pattern to be printed, specifically including:
[0021] Identifying product transport posture data from the image of the product to be printed, and acquiring the corresponding product curve position according to the product transport posture;
[0022] The corresponding printing identification point is obtained according to the product curve position, and the association relationship is obtained according to the correspondence between the product curve position and the pattern positioning information to trigger the pattern positioning printing instruction.
[0023] By employing the above technical solution, product transport posture data is first identified from the image of the product to be printed, accurately capturing the product's actual transport state. Subsequently, the corresponding curve position is obtained based on the product's transport posture. This step further refines the product's spatial position information, making subsequent operations more precise. Next, the corresponding print recognition point is determined based on the obtained product curve position, improving recognition accuracy and reducing the possibility of misjudgment. Next, a correlation is derived based on the correspondence between the product curve position and the pattern positioning information. This complex relationship between the product curve position and the pattern positioning information is converted into actionable parameters, ensuring that the corresponding print recognition point can be accurately found under different product transport postures, thereby triggering the pattern positioning printing instruction. This process not only enhances the system's intelligence level but also significantly improves printing accuracy and efficiency. Furthermore, by combining product transport posture data with pattern positioning information, the initial printing sequence can be dynamically adjusted, enabling adaptive optimization of the printing process in different production environments and reducing errors caused by human factors. This dynamic adjustment capability makes the entire printing process more flexible and efficient, significantly reducing production costs while improving product quality.
[0024] In a preferred example, the present application may be further configured as follows: obtaining 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 including:
[0025] Acquiring an initial printing sequence of each of the to-be-printed combined patterns according to the pattern positioning information, and adjusting the initial printing sequence according to the product transport posture data to obtain a combined pattern printing sequence;
[0026] The pattern positioning printing instruction is generated according to the combined pattern printing sequence.
[0027] By employing the above technical solution, firstly, by accurately identifying and comparing the position of the product's curves, the actual position and posture of the product to be printed can be quickly determined in complex printing environments. This not only improves detection accuracy but also reduces printing errors caused by positional deviations. Specifically, when the product to be printed enters the visual inspection system's field of view, a real-time image of the product is captured and the product's curve positions are extracted from it. This curve position information is compared with pre-set pattern positioning information to determine which positions meet printing conditions. By dynamically adjusting the initial printing sequence, printing efficiency and quality are further improved. In traditional screen printing machines, the printing sequence is typically fixed, which can result in poor printing results for some complex patterns. Therefore, a dynamic adjustment mechanism based on product transport posture data has been introduced. Specifically, when the system detects changes in the transport posture of the product to be printed, it recalculates the initial printing sequence for each pattern combination to be printed based on these changes. This dynamic adjustment not only adapts to products of varying shapes and sizes, but also ensures that each pattern is printed in the optimal position, thus avoiding print quality issues caused by a fixed sequence. Again, the present invention realizes the orderly management of multiple combination patterns by generating the printing order of combination patterns. In some complex printing tasks, it is often necessary to print multiple different patterns on the same product. Since 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 the combination patterns is automatically generated by combining the initial printing order of each combination 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.
[0028] The second object of the present invention is achieved through the following technical solutions:
[0029] A visual inspection device for a pattern printed by a screen printer, the visual inspection device comprising:
[0030] A pattern information acquisition module is used to acquire a pattern to be printed, an article to be printed corresponding to the pattern to be printed, and a position to be printed on the article to be printed;
[0031] A printing simulation construction module, configured to simulate the pattern to be printed onto the article to be printed according to the position to be printed, to obtain a printing effect simulation image;
[0032] a printing start triggering module, configured to extract printing identification points from the printing effect simulation image and trigger a pattern printing start instruction according to the printing identification points;
[0033] The positioning printing module is used to obtain an image of a product to be printed, obtain a printing positioning point corresponding to the printing identification point from the image of the product to be printed, and trigger a pattern positioning printing instruction based on the association between the printing positioning point and the pattern to be printed.
[0034] By adopting the above technical solution, after obtaining the pattern to be printed and its corresponding printed object and printing position, the pattern to be printed is simulated onto the printed object based on this information to generate a printing effect simulation diagram. This not only verifies the printing effect in advance, but also ensures the accuracy of the pattern's position before actual printing, thereby avoiding printing errors caused by position deviation. Secondly, 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 inspection to determine the printing starting point, which is easily affected by human factors and leads to inaccurate printing or omissions. However, the identification points of the visual inspection system can accurately determine the printing starting position, ensuring that each print starts in the correct position, improving the consistency and reliability of printing. Secondly, capturing an image of the product to be printed and extracting print registration points corresponding to the print recognition points further enhances the system's adaptability and flexibility. In actual production, the shape and size of printed products may vary. By capturing and analyzing the product image in real time, the print position can be dynamically adjusted, ensuring highly consistent printing results even across batches. This not only reduces printing errors caused by product variations but also significantly reduces quality fluctuations due to human intervention. Finally, based on the correlation between the print registration points and the pattern to be printed, the pattern registration print command is triggered, enabling precise matching and printing of complex patterns. This approach is particularly advantageous in applications requiring multiple patterns or multiple positions. By pre-defining the relative positional relationships between each pattern and calibrating these relationships during the actual printing process, multiple patterns can be accurately aligned on the same product, helping to meet the stringent requirements of the high-end printing market for precision and aesthetics. This not only addresses the limitations of traditional screen printing equipment in terms of accuracy and stability, but also significantly improves printing efficiency and product quality.
[0035] The third objective of this application is achieved through the following technical solutions:
[0036] 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 above-mentioned method for visually detecting patterns printed by a silk screen printer are implemented.
[0037] The fourth objective of this application is achieved through the following technical solutions:
[0038] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned method for visually detecting patterns printed by a silk screen printer.
[0039] In summary, this application includes at least one of the following beneficial technical effects:
[0040] 1. By decomposing the printed pattern into multiple combined patterns to be printed, the printing effect of each part can be accurately simulated, significantly improving the accuracy of printing registration and solving the printing deviation problem caused by insufficient positioning devices in traditional screen printing equipment;
[0041] 2. The visual inspection system is used to identify and locate each pattern combination to be printed, achieving high-precision pattern printing, effectively reducing the defective rate, improving production efficiency, and reducing production costs;
[0042] 3. By real-time monitoring and adjustment of product transport posture data, the initial printing sequence is optimized, ensuring the correct printing order of each combination of patterns, further improving printing quality and stability;
[0043] 4. High degree of automation reduces manual intervention, improves operation convenience and work efficiency, and reduces labor intensity. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 This is a flow chart of a method for visually inspecting a pattern printed by a screen printer in one embodiment of the present application;
[0045] 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;
[0046] Figure 3 This is a flowchart for implementing step S30 of the method for visually inspecting a pattern printed by a screen printer in one embodiment of the present application;
[0047] 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;
[0048] Figure 5 This is a flowchart for implementing step S42 of the method for visually inspecting a pattern printed by a screen printer in one embodiment of the present application;
[0049] 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;
[0050] Figure 7 It is a schematic diagram of a device in one embodiment of the present application. DETAILED DESCRIPTION
[0051] The present application is further described in detail below with reference to the accompanying drawings.
[0052] In one embodiment, if Figure 1 As shown, the present application discloses a method for visually inspecting a pattern printed by a screen printer, which specifically includes the following steps:
[0053] S10: 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.
[0054] In this embodiment, the pattern to be printed refers to a pattern that needs to be printed on product packaging.
[0055] Specifically, before printing a pattern on a product's outer packaging using a screen printer, a pre-designed pattern to be printed, as well as information such as the type, shape, and size of the item to be printed, are first obtained as the item to be printed. Furthermore, after obtaining the information about the item to be printed, a pre-designed printing location is obtained, i.e., the specific location on the product where the pattern to be printed is to be printed.
[0056] 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.
[0057] Specifically, the object to be printed is photographed, and a corresponding three-dimensional simulation model is generated based on the obtained image. Furthermore, the pattern to be printed is attached to the three-dimensional simulation model according to a predetermined printing position, so that the corresponding three-dimensional model serves as the printing simulation image.
[0058] S30: extracting printing identification points from the printing effect simulation image, and triggering a pattern printing start instruction according to the printing identification points.
[0059] Specifically, the position contour corresponding to the pattern to be printed is extracted from the printing effect simulation image, 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.
[0060] 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.
[0061] S40: Acquire an image of a product to be printed, obtain a printing positioning point corresponding to a printing identification point from the image of the product to be printed, and trigger a pattern positioning printing instruction according to an association between the printing positioning point and the pattern to be printed.
[0062] Specifically, when an item passes through the printing mechanism, an image of the item is captured through visual inspection as the image of the item to be printed. Furthermore, the printing positioning point is identified from the image of the item to be printed, and the pattern positioning printing instruction is triggered based on the position of the printing positioning point corresponding to the position of the pattern to be printed, ensuring that the printed pattern is accurately positioned.
[0063] In this embodiment, after obtaining the pattern to be printed, its corresponding printed article, and the printing position, the pattern to be printed is simulated onto the article based on this information to generate a simulated printing effect image. This not only verifies the printing effect in advance but also ensures the accuracy of the pattern's position before actual printing, thereby avoiding printing errors caused by positional deviations. Secondly, printing identification points are extracted from the simulated printing effect image and triggered based on these identification points to start the pattern printing, making the entire printing process more intelligent and automated. Traditional screen printing equipment relies on manual visual inspection to determine the printing starting point, which is susceptible to human factors and can lead to inaccurate printing or omissions. However, by using the identification points of the visual inspection system, the printing start position can be accurately determined, ensuring that each print starts at the correct location, improving printing consistency and reliability. Thirdly, by acquiring an image of the product to be printed and extracting printing positioning points corresponding to the printing identification points, the system's adaptability and flexibility are further enhanced. In actual production, the shape and size of the product to be printed may vary. By acquiring and analyzing the product image in real time, the printing position can be dynamically adjusted to ensure highly consistent printing results even between different batches of products. This not only reduces printing errors caused by product differences but also significantly reduces quality fluctuations caused by human intervention. Finally, based on the relationship between the print registration point and the pattern to be printed, the pattern registration printing command is triggered, enabling precise matching and printing of complex patterns. This approach is particularly advantageous in applications where multiple patterns or multiple positions are printed. By predefining the relative positional relationships between the patterns and calibrating them during the actual printing process, multiple patterns can be accurately aligned on the same product, helping to meet the stringent requirements of the high-end printing market for precision and aesthetics. This not only addresses the shortcomings of traditional screen printing equipment in terms of accuracy and stability, but also significantly improves printing efficiency and product quality.
[0064] 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:
[0065] S21: Acquire pattern outline information from the pattern to be printed, decompose the pattern to be printed according to the pattern outline information, and obtain a combined pattern to be printed.
[0066] In this embodiment, the pattern outline information refers to the information of the outer outline of the pattern to be printed.
[0067] Specifically, edge lines of the group are obtained from the pattern to be printed to form the pattern outline information. Furthermore, the angles of the corners between line segments or the center angles of the arcs in the outline information are obtained. When the angles of the corners or the center angles are greater than a preset value, the pattern to be printed is decomposed, and each image obtained after decomposition is used as the combined pattern to be printed.
[0068] S22: acquiring pattern positioning information corresponding to each to-be-printed combination pattern according to the to-be-printed position, simulating each to-be-printed combination pattern onto the to-be-printed object according to the pattern positioning information, and obtaining a printing effect simulation diagram.
[0069] Specifically, based on the position of the pattern to be printed on the article 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.
[0070] In one embodiment, if Figure 3 As shown, in step S30, the printing identification points are extracted from the printing effect simulation image, and the pattern printing start instruction is triggered according to the printing identification points, which specifically includes:
[0071] S31: Obtaining a product curve position from a printing effect simulation diagram, and comparing the product curve position with pattern positioning information of each combination pattern to be printed.
[0072] 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.
[0073] 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.
[0074] S32: The product curve position falling into the pattern positioning information is used as a printing recognition point, and a pattern printing start instruction is triggered according to the printing recognition point.
[0075] 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.
[0076] In one embodiment, if Figure 4As shown, in step S40, the image of the product to be printed is obtained, and the printing positioning points corresponding to the printing identification points are obtained from the image of the product to be printed. According to the association between the printing positioning points and the pattern to be printed, the pattern positioning printing instruction is triggered, which specifically includes:
[0077] S41: Identifying product transport posture data from the image of the product to be printed, and obtaining the corresponding product curve position according to the product transport posture.
[0078] Specifically, after the pattern registration printing command is triggered, when a corresponding product is conveyed beneath the printing mechanism, the visual inspection equipment captures the current product posture, such as the current angle, as the product transport posture data. Based on this current product posture data, the current position of each product curve relative to the printing mechanism is determined.
[0079] S42: Acquire a corresponding printing identification point according to the product curve position, and acquire an association relationship according to the correspondence between the product curve position and the pattern positioning information to trigger a pattern positioning printing instruction.
[0080] 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.
[0081] 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 correlation relationship is obtained according to the correspondence between the product curve position and the pattern positioning information to trigger the pattern positioning printing instruction, which specifically includes:
[0082] S421: 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 combination pattern printing sequence.
[0083] Specifically, any viewing angle in the printing effect simulation diagram is selected as a reference viewing angle. At this reference viewing angle, the initial printing sequence for each combination pattern to be printed is generated based on the pattern positioning information. Furthermore, the initial printing sequence is adjusted based on the offset between the product transport posture data and the reference viewing angle, thereby obtaining the combined pattern printing sequence.
[0084] S422: Generate pattern positioning printing instructions according to the combined pattern printing sequence.
[0085] Specifically, the pattern positioning printing instruction is generated according to the combination pattern printing sequence to control the printing mechanism to identify the printing identification points and print the corresponding combination pattern to be printed according to the combination pattern printing sequence.
[0086] 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 this application.
[0087] 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 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 the printed pattern 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 functional modules are described in detail as follows:
[0088] A pattern information acquisition module is used to acquire a pattern to be printed, an article to be printed corresponding to the pattern to be printed, and a position to be printed on the article to be printed;
[0089] A printing simulation construction module is used to simulate the pattern to be printed onto the object to be printed according to the position to be printed, and obtain a printing effect simulation image;
[0090] A printing start trigger module is used to extract printing identification points from the printing effect simulation image and trigger the pattern printing start instruction according to the printing identification points;
[0091] The positioning printing module is used to obtain the image of the product to be printed, obtain the printing positioning points corresponding to the printing identification points from the image of the product to be printed, and trigger the pattern positioning printing instruction according to the association between the printing positioning points and the pattern to be printed.
[0092] Optional printing simulation building blocks include:
[0093] The pattern decomposition submodule is used to obtain pattern outline information from the pattern to be printed, decompose the pattern to be printed according to the pattern outline information, and obtain the combined pattern to be printed;
[0094] The printing simulation map construction submodule is used to obtain 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.
[0095] Optionally, the printing start trigger module includes:
[0096] 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;
[0097] 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.
[0098] Optional, positioning printing module includes:
[0099] 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;
[0100] 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 correspondence between the product curve position and the pattern positioning information to trigger the pattern positioning printing instruction.
[0101] Optionally, the positioning printing submodule includes:
[0102] A sequence adjustment unit is used to obtain 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 printing sequence of the combination pattern;
[0103] The printing positioning unit is used to generate pattern positioning printing instructions according to the printing sequence of the combined patterns.
[0104] The specific definitions of the visual inspection device for patterns printed by a screen printer can be found in the definitions of the visual inspection method for patterns printed by a screen printer described above and will not be repeated here. Each module in the visual inspection device for patterns printed by a screen printer can be implemented in whole or in part via software, hardware, or a combination thereof. Each of these modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each of these modules.
[0105] 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, memory, a network interface, and a database connected via a system bus. 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 computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When executed by the processor, the computer program implements a method for visually inspecting patterns printed by a silk screen printer.
[0106] 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. When the processor executes the computer program, the following steps are performed:
[0107] Acquire a pattern to be printed, an article to be printed corresponding to the pattern to be printed, and a position to be printed on the article to be printed;
[0108] 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;
[0109] Extracting printing recognition points from the printing effect simulation image, and triggering the pattern printing start instruction according to the printing recognition points;
[0110] An image of a product to be printed is obtained, and a printing positioning point corresponding to a printing identification point is obtained from the image of the product to be printed. Based on the association between the printing positioning point and the pattern to be printed, a pattern positioning printing instruction is triggered.
[0111] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0112] Acquire a pattern to be printed, an article to be printed corresponding to the pattern to be printed, and a position to be printed on the article to be printed;
[0113] 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;
[0114] Extracting printing recognition points from the printing effect simulation image, and triggering the pattern printing start instruction according to the printing recognition points;
[0115] An image of a product to be printed is obtained, and a printing positioning point corresponding to a printing identification point is obtained from the image of the product to be printed. Based on the association between the printing positioning point and the pattern to be printed, a pattern positioning printing instruction is triggered.
[0116] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. 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 DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0117] Those skilled in the art will clearly understand that for the sake of convenience and brevity 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.
[0118] The above-described embodiments 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, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A method for visual inspection of patterns printed by a screen printer, characterized in that: The visual detection method of the pattern printed by the screen printer includes: Acquire a pattern to be printed, an article to be printed corresponding to the pattern to be printed, and a position to be printed on the article to be printed; Simulating the pattern to be printed onto the article 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; Acquiring pattern positioning information corresponding to each of the to-be-printed combined patterns according to the to-be-printed position, and simulating each of the to-be-printed combined patterns onto the to-be-printed article according to the pattern positioning information to obtain the printing effect simulation diagram; Extracting a printing identification point from the printing effect simulation image, and triggering a pattern printing start instruction according to the printing identification point, specifically includes: Acquiring 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; Using the product curve position falling within the pattern positioning information as the printing identification point, and triggering the 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 between the printing positioning point and the pattern to be printed.
2. The method for visually inspecting a pattern printed by a screen printer according to claim 1, wherein: The step of acquiring an image of a product to be printed, acquiring a printing positioning point corresponding to the printing identification point from the image of the product to be printed, and triggering a pattern positioning printing instruction based on an association between the printing positioning point and the pattern to be printed, specifically includes: Identifying product transport posture data from the image of the product to be printed, and acquiring the corresponding product curve position according to the product transport posture; The corresponding printing identification point is obtained according to the product curve position, and the association relationship is obtained according to the correspondence between the product curve position and the pattern positioning information to trigger the pattern positioning printing instruction.
3. The visual inspection method for a screen printing pattern according to claim 2, characterized in that: The acquiring the corresponding printing identification point according to the product curve position, and acquiring 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: Acquiring an initial printing sequence of each of the to-be-printed combined patterns according to the pattern positioning information, and adjusting the initial printing sequence according to the product transport posture data to obtain a combined pattern printing sequence; The pattern positioning printing instruction is generated according to the combined pattern printing sequence.
4. A visual inspection device for patterns printed by a screen printer, characterized in that: The visual detection device for the pattern printed by the screen printer comprises: A pattern information acquisition module is used to acquire a pattern to be printed, an article to be printed corresponding to the pattern to be printed, and a position to be printed on the article to be printed; A printing simulation construction module is used to simulate the pattern to be printed onto the article to be printed according to the position to be printed to obtain a printing effect simulation image. The printing simulation construction module includes: a pattern decomposition submodule, configured 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; a printing simulation image construction submodule, configured to obtain 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 article according to the pattern positioning information to obtain the printing effect simulation image; A printing start triggering module is used to extract printing identification points from the printing effect simulation image and trigger a pattern printing start instruction according to the printing identification points. The printing start triggering module includes: a position comparison submodule, configured to obtain 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 combination patterns to be printed; a printing start control submodule, configured to use the product curve position falling within the pattern positioning information as the printing identification point, and trigger the pattern printing start instruction according to the printing identification point; The positioning printing module is used to obtain an image of a product to be printed, obtain a printing positioning point corresponding to the printing identification point from the image of the product to be printed, and trigger a pattern positioning printing instruction based on the association between the printing positioning point and the pattern to be printed.
5. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method for visually inspecting a pattern printed by a screen printing machine as claimed in any one of claims 1 to 3 are implemented.
6. 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 screen printing machine as claimed in any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Printer and printing method
JP2015134410A
Review device, electronic device, and image forming apparatus
US20040060011A1
Digital printing system and method, and device and storage medium
WO2023071916A1