Screen text detection method, device and system, and readable storage medium
By controlling the rotation of the light roller and taking pictures with the detection software, and combining morphological calculations and watershed segmentation algorithms, the problems of low efficiency and low accuracy in the quality inspection of screen printing images and text have been solved, achieving efficient and accurate detection and distance measurement.
Patent Information
- Application Number
- CN202410377597.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-03-29
AI Technical Summary
In the existing technology, the efficiency and accuracy of screen printing plate image quality inspection are low, and it is difficult to accurately measure the distance between any two points on the screen printing plate, especially the spacing between the marking lines of the printing area size.
By acquiring comparative images and marking feature points as reference patterns, the detection software controls the rotation of the lamp roller and the follow-up pressure roller in conjunction with the encoder to record the distance. The camera takes pictures and calculates the four corner marker lines. The images are then compared using morphological calculations and watershed segmentation algorithms to identify the locations of differences.
It enables efficient, fast, and accurate inspection of the shape and opening quality of screen printing patterns, and accurately measures the distance between any two points, thereby improving inspection efficiency and reducing labor intensity.
Smart Images

Figure CN118314355B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image and text detection technology, and more specifically, to a method, apparatus, system, and readable storage medium for detecting images and text on screen printing. Background Technology
[0002] The quality inspection of screen printing plates involves manual visual inspection using instruments such as magnifying glasses to examine the opening quality of the mesh in the image area. This includes checking whether all through-holes in the image area are effectively exposed and free from blockages or other abnormalities, and comparing the shape of the opening area with a film containing the image. Because the mesh diameter is generally less than 0.1mm, the mesh spacing is approximately 0.1-0.2mm, and the area with open or exposed mesh holes is usually several square centimeters or larger, manual inspection of the opening quality is very inefficient and inaccurate. When comparing the image shape with film, the arrangement of the pins at the edge of the image area is not easily aligned precisely with the lines on the film, resulting in low accuracy for visual judgment. Furthermore, due to the cylindrical structure and thin, large area of the screen printing plate, measuring the distance between any two points on it is very difficult. Traditional methods involve placing it on a horizontally positioned lamp roller and measuring the axial distance with a ruler, or measuring the circumference of the screen using a flexible measuring tape. However, both methods have low accuracy and cannot accurately measure circumferential distances other than the perimeter, let alone any oblique distances. Summary of the Invention
[0003] This application aims to solve at least one of the aforementioned technical problems.
[0004] Therefore, the primary objective of this application is to provide a method for detecting images and text on screen printing plates.
[0005] The second objective of this application is to provide a screen printing plate image and text detection device.
[0006] The third objective of this application is to provide a screen printing image and text detection system.
[0007] The fourth objective of this application is to provide a screen printing image and text detection system.
[0008] The fifth objective of this application is to provide a readable storage medium.
[0009] To achieve the first objective of this application, the technical solution of the first aspect of this application provides a method for detecting screen printing images, comprising: acquiring comparative images; inputting the comparative images into detection software and marking the feature points of the edges of the comparative images as reference patterns; inputting design data into the detection software; controlling the rotation of the lamp roller through the detection software, and recording the distance traveled by the screen printing images during rotation through the follow-up pressure roller in conjunction with the encoder; controlling the camera through the detection software to photograph and calculate the four corner marker lines of the screen printing images to obtain screen printing images; comparing the screen printing images with the reference patterns, identifying and marking the differences, and obtaining a comparison result image.
[0010] According to the screen printing plate pattern inspection method provided in this application, firstly, a comparison pattern is obtained and input into the inspection software. Feature points on the edges of the comparison pattern are marked as reference images. Then, design data is input into the inspection software. The software controls the rotation of the lamp roller, and a follow-up pressure roller, in conjunction with an encoder, records the distance traveled by the screen printing plate pattern during rotation. The software also controls a camera to photograph the screen printing plate pattern. The acquired images are calibrated and analyzed by the inspection software, compared with the comparison pattern used in screen printing, and automatically output a comparison result image showing the areas of difference. This application enables efficient, rapid, and accurate inspection of the shape and opening quality of screen printing plate patterns, effectively improving quality inspection efficiency and reducing the labor intensity of personnel.
[0011] In addition, the technical solution provided in this application may also have the following additional technical features:
[0012] In some technical solutions, optionally, a camera is controlled by detection software to photograph and calculate the four corner marker lines of the screen printing image to obtain a screen printing image. This includes: photographing the four corner marker lines of the screen printing image by controlling the camera with detection software; obtaining a first motion stroke in a first direction based on the stroke of the follower pressure roller, obtaining a second motion stroke in a second direction based on the movement stroke of the camera, and automatically identifying the offset of the actual photographed marker lines in the center of the field of view using detection software; calculating the relative distance of the four corner marker lines based on the first motion stroke, the second motion stroke, and the offset to obtain a screen printing image.
[0013] In this technical solution, a camera controlled by detection software photographs and calculates the four corner marker lines of the screen printing plate image to obtain the screen printing plate image. Specifically, the detection software first controls the camera to photograph the four corner marker lines of the screen printing plate image. Then, based on the stroke of the follow-up pressure roller, the first motion stroke in the first direction is obtained, and based on the movement stroke of the camera, the second motion stroke in the second direction is obtained. The detection software automatically identifies the offset of the actual photographed marker lines from the center position of the field of view. Finally, based on the first motion stroke, the second motion stroke, and the offset, the relative distance of the four corner marker lines is calculated to obtain the screen printing plate image. It can be understood that for the distance between any two points on the screen printing plate, especially the spacing of marker lines used to mark the size of the printing area, the system can collect images of the marker lines at each endpoint, calculate the relative position difference of the marker lines in the image by comparison, and automatically calculate the distance of the lens movement to obtain an accurate spacing. By accurately measuring the distance between any two points on the screen printing plate, the efficiency of quality inspection is effectively improved and the labor intensity of personnel is reduced.
[0014] In some technical solutions, the comparison images and text may optionally include electronic documents in image format or standard photographs taken on a single sheet.
[0015] In this technical solution, the comparison images and texts include electronic documents in image format or standard photographs taken on a single page.
[0016] In some technical solutions, the design data may optionally include the number of rows and columns of the graphic arrangement, the size of a single graphic, the design distance of the four corner markers, and the distance of the top left marker from the nearest graphic.
[0017] In this technical solution, the design data includes the number of rows and columns of the graphic arrangement, the size of a single graphic, the design distance of the four corner marker lines, and the distance of the upper left marker line from the nearest graphic.
[0018] In some technical solutions, the number of feature points may optionally be multiple.
[0019] In this technical solution, the number of feature points can be multiple. Specifically, eight feature points can be manually marked, two each on the top, bottom, left, and right edges of the image / text. The number can be increased or decreased depending on the complexity of the image / text, and can be used as a reference pattern.
[0020] In some technical solutions, optionally, the rotation of the lamp roller is controlled by detection software, and the distance traveled by the screen printing pattern during rotation is recorded by a follower pressure roller in conjunction with an encoder. Specifically, this includes: mounting the screen printing pattern onto the lamp roller, which reciprocates along a first direction; mounting a camera on a crossbeam above the lamp roller, which reciprocates linearly along a second direction; controlling the rotation of the lamp roller by the detection software, causing the first row of the screen printing pattern to rotate to the top, and placing the follower pressure roller at the edge of the screen printing pattern, with the follower pressure roller in conjunction with an encoder recording the distance traveled by the screen printing pattern during rotation.
[0021] In this technical solution, the rotation of the lamp roller is controlled by detection software, and the distance traveled by the screen printing pattern during rotation is recorded by a follower pressure roller in conjunction with an encoder. Specifically, the screen printing pattern is first mounted on the lamp roller, which then rotates reciprocally in a first direction. A camera is then mounted on a crossbeam above the lamp roller, and moves reciprocally in a second direction. The detection software controls the rotation of the lamp roller, causing the first row of patterns to rotate to the top, and the follower pressure roller is positioned at the edge of the screen. This follower pressure roller, in conjunction with the encoder, accurately records the distance traveled by the screen during rotation.
[0022] In some technical solutions, optionally, before obtaining the screen printing image, the camera is controlled by the detection software to take pictures and calculate the four corner marker lines of the screen printing image. This also includes selecting a reference pattern and design data in the detection software and starting automatic detection.
[0023] In this technical solution, the detection software controls a camera to photograph and calculate the four corner marker lines of the screen printing image. Before obtaining the screen printing image, the software also selects a reference pattern and design data and initiates automatic detection. The software automatically acquires images of the marker lines in the current field of view, identifies the marker lines, and automatically fine-tunes the left and right positions of the camera and rotates the light roller to place them in the center of the accurate field of view.
[0024] In some technical solutions, optionally, the screen printing image is compared with a reference image to identify and mark the differences, and a comparison result image is obtained. Specifically, this includes: binarizing the screen printing image to obtain a binary image, wherein the critical gray value of the binary image is 60; improving the binary image using a closing operation to obtain a morphologically calculated image; and comparing the morphologically calculated image with the reference image to identify and mark the differences, and a comparison result image is obtained.
[0025] In this technical solution, the screen printing image is compared with a reference image to identify and mark the differences, thus obtaining a comparison result image. Specifically, the screen printing image is first binarized to obtain a binary image, with a critical grayscale value of 60. Then, a closing operation is used to improve the binary image, resulting in a morphologically calculated image. Finally, the morphologically calculated image is compared with the reference image to identify and mark the differences, thus obtaining the comparison result image.
[0026] In some technical solutions, optionally, closing operations are used to improve binary images to obtain morphological computation images. Specifically, this includes: smoothing the binary image by dilation followed by erosion; performing threshold optimization on the gradient image to remove regional minima; detecting targets using a watershed segmentation algorithm; and removing false targets using features such as the area and spatial relationships of the targets to obtain morphological computation images.
[0027] In this technical solution, a closing operation is used to improve the binary image to obtain a morphological computation image. Specifically, the image is first dilated, then eroded and then dilated again. This method smooths the original image, then performs threshold optimization on the gradient image to remove regional minima, then uses the watershed segmentation algorithm to detect the target, and finally uses the area and spatial relationship features of the target to remove false targets.
[0028] The second aspect of this application provides a screen printing plate image detection device, comprising: a lamp roller, rotatably mounted, with an illumination source inside the lamp roller; a crossbeam, positioned above the lamp roller and aligned with its axial direction; a camera, movably mounted on the crossbeam; a screen printing plate, fitted onto the lamp roller; a follower pressure roller, positioned at the edge of the screen printing plate; and an encoder connected to the follower pressure roller for recording the distance traveled by the screen printing plate during rotation.
[0029] In this technical solution, the screen printing plate image inspection device includes a lamp roller, a crossbeam, a camera, a screen printing plate, a follower pressure roller, and an encoder. The lamp roller is rotatably mounted and has an internal illumination source. The crossbeam is positioned above the lamp roller and aligned with its axial direction. The camera is movably mounted on the crossbeam. The screen printing plate is fitted onto the lamp roller. The follower pressure roller is located at the edge of the screen printing plate. The encoder is connected to the follower pressure roller and is used to record the distance traveled by the screen during rotation. This application can achieve efficient, fast, and accurate inspection of the shape and opening quality of screen printing plate images, and can accurately measure the distance between any two points on the screen printing plate.
[0030] To achieve the third objective of this application, the technical solution of the third aspect of this application provides a screen printing plate image inspection system, comprising: an acquisition module for acquiring comparison images; a marking module for inputting the comparison images into inspection software and marking the feature points of the edges of the comparison images as reference patterns; an input module for inputting design data into the inspection software; a control module for controlling the rotation of the lamp roller through the inspection software and recording the distance traveled by the screen printing plate image during rotation through a follow-up pressure roller in conjunction with an encoder; an image taking and calculation module for controlling a camera through the inspection software to take pictures and calculate the four corner marker lines of the screen printing plate image to obtain a screen printing plate image; and a comparison module for comparing the screen printing plate image with the reference pattern, identifying and marking the differences, and obtaining a comparison result image.
[0031] The screen printing plate image inspection system provided in this application includes an acquisition module, a marking module, an input module, a control module, an image capture and calculation module, and a comparison module. The acquisition module acquires comparison images. The marking module inputs the comparison images into the inspection software and marks the feature points on the edges of the comparison images as reference patterns. The input module inputs design data into the inspection software. The control module controls the rotation of the lamp roller through the inspection software, and records the distance traveled by the screen printing plate image during rotation using a follow-up pressure roller and an encoder. The image capture and calculation module controls a camera through the inspection software to capture and calculate the four corner marker lines of the screen printing plate image, obtaining the screen printing plate image. The comparison module compares the screen printing plate image with the reference pattern, identifies and marks the differences, and obtains a comparison result image. This application can achieve efficient, fast, and accurate inspection of the shape and opening quality of screen printing plate images, effectively improving quality inspection efficiency and reducing the labor intensity of personnel.
[0032] To achieve the fourth objective of this application, the technical solution of the fourth aspect of this application provides a screen printing plate image and text detection system, including: a memory and a processor, wherein the memory stores a program or instructions that can be executed on the processor, and when the processor executes the program or instructions, it implements the screen printing plate image and text detection method of any one of the technical solutions of the first aspect, and thus has the technical effects of any one of the technical solutions of the first aspect, which will not be elaborated here.
[0033] To achieve the fifth objective of this application, the technical solution of the fifth aspect of this application provides a readable storage medium storing a program or instructions thereon. When the program or instructions are executed by a processor, they implement the steps of the screen printing image detection method of any one of the technical solutions of the first aspect, and thus have the technical effects of any one of the technical solutions of the first aspect, which will not be repeated here.
[0034] Additional aspects and advantages of this application will become apparent in the following description or may be learned by practice of this application. Attached Figure Description
[0035] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0036] Figure 1 This is a flowchart illustrating the steps of a screen printing image detection method according to an embodiment of this application;
[0037] Figure 2 This is a flowchart illustrating the steps of a screen printing image detection method according to an embodiment of this application;
[0038] Figure 3 This is a flowchart illustrating the steps of a screen printing image detection method according to an embodiment of this application;
[0039] Figure 4 This is a flowchart illustrating the steps of a screen printing image detection method according to an embodiment of this application;
[0040] Figure 5 This is a flowchart illustrating the steps of a screen printing image detection method according to an embodiment of this application;
[0041] Figure 6 This is a flowchart illustrating the steps of a screen printing image detection method according to an embodiment of this application;
[0042] Figure 7 This is a schematic block diagram of a screen printing plate image detection device according to an embodiment of this application;
[0043] Figure 8 This is a schematic diagram of the structure of a screen printing plate image detection system according to an embodiment of this application;
[0044] Figure 9 This is a schematic block diagram of the structure of a screen printing plate image detection system according to an embodiment of this application;
[0045] Figure 10 This is a schematic block diagram of the structure of a screen printing plate image detection system according to another embodiment of this application;
[0046] Figure 11 This is a marker line image of a screen printing image detection method according to an embodiment of this application;
[0047] Figure 12 The image is the original image of a screen printing image detection method according to an embodiment of this application;
[0048] Figure 13 This is a binarized image of a screen printing image detection method according to an embodiment of this application;
[0049] Figure 14 The image is the original image of a screen printing image detection method according to an embodiment of this application;
[0050] Figure 15 This is a morphologically computed image of a screen printing image detection method according to an embodiment of this application;
[0051] Figure 16 This is a comparison result image of a screen printing image detection method according to an embodiment of this application;
[0052] Figure 17 This is an enlarged image showing the comparison results of a screen printing image detection method according to an embodiment of this application.
[0053] in, Figures 7 to 10 The correspondence between the reference numerals and component names in the attached drawings is as follows:
[0054] 10: Screen printing plate image and text detection device; 110: Lamp roller; 120: Crossbeam; 130: Camera; 140: Screen printing plate; 150: Follow-up pressure roller; 160: Encoder; 20: Screen printing plate image and text detection system; 210: Acquisition module; 220: Marking module; 230: Input module; 260: Control module; 270: Image taking and calculation module; 280: Comparison module; 30: Screen printing plate image and text detection system; 300: Memory; 400: Processor. Detailed Implementation
[0055] To better understand the above-mentioned objectives, features, and advantages of this application, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.
[0056] Many specific details are set forth in the following description in order to provide a full understanding of this application. However, this application may also be implemented in other ways different from those described herein. Therefore, the scope of protection of this application is not limited to the specific embodiments disclosed below.
[0057] The following reference Figures 1 to 17 This application describes some embodiments of screen printing image and text detection methods, apparatuses, systems, and readable storage media.
[0058] like Figure 1 As shown, an embodiment of the first aspect of this application provides a method for detecting images and text on a screen printing plate, including:
[0059] Step S102: Obtain comparison images and text;
[0060] Step S104: Input the comparison image and text into the detection software, and mark the feature points of the edges of the comparison image and text as reference images;
[0061] Step S106: Input the design data into the testing software;
[0062] Step S108: Control the rotation of the lamp roller through the detection software, and record the distance traveled by the screen printing pattern during rotation through the follow-up pressure roller and encoder;
[0063] Step S110: The detection software controls the camera to take pictures and calculate the four corner marker lines of the screen printing image to obtain the screen printing image;
[0064] Step S112: Compare the screen printing image with the reference image, identify and mark the differences, and obtain the comparison result image.
[0065] According to the screen printing plate pattern inspection method provided in this embodiment, a comparison pattern is first acquired and input into the inspection software. Feature points on the edges of the comparison pattern are marked as reference images. Then, design data is input into the inspection software. The software controls the rotation of the lamp roller, and a follow-up pressure roller, in conjunction with an encoder, records the distance traveled by the screen printing plate pattern during rotation. The software also controls a camera to photograph the screen printing plate pattern. The acquired images are calibrated and analyzed by the inspection software, compared with the comparison pattern used in screen printing, and automatically output a comparison result image showing the areas of difference. This application enables efficient, rapid, and accurate inspection of the shape and opening quality of screen printing plate patterns, effectively improving quality inspection efficiency and reducing the labor intensity of personnel.
[0066] like Figure 2 As shown, according to an embodiment of the screen printing image detection method proposed in this application, the detection software controls a camera to photograph and calculate the four corner marker lines of the screen printing image to obtain a screen printing image, specifically including:
[0067] Step S202: Use the detection software to control the camera to take pictures of the four corner marker lines of the screen print;
[0068] Step S204: Obtain the first motion stroke in the first direction based on the stroke of the follow-up pressure roller, obtain the second motion stroke in the second direction based on the movement stroke of the camera, and automatically identify the offset of the actual photographing mark line in the center position of the field of view through the detection software;
[0069] Step S206: Calculate the relative distance between the four corner marker lines based on the first motion stroke, the second motion stroke, and the offset to obtain the screen printing image.
[0070] In this embodiment, the detection software controls a camera to photograph and calculate the four corner marker lines of the screen printing plate image to obtain the screen printing plate image. Specifically, the detection software first controls the camera to photograph the four corner marker lines of the screen printing plate image. Then, the first motion stroke in the first direction is obtained based on the stroke of the follow-up pressure roller, and the second motion stroke in the second direction is obtained based on the movement stroke of the camera. The detection software automatically identifies the offset of the actual photographed marker lines from the center position of the field of view. Finally, based on the first motion stroke, the second motion stroke, and the offset, the relative distance of the four corner marker lines is calculated to obtain the screen printing plate image. It can be understood that for the distance between any two points on the screen printing plate, especially the spacing of marker lines used to mark the size of the printing area, the system can collect images of the marker lines at each endpoint, calculate the relative position difference of the marker lines in the image by comparison, and automatically calculate the distance of the lens movement to obtain an accurate spacing. By accurately measuring the distance between any two points on the screen printing plate, the efficiency of quality inspection is effectively improved and the labor intensity of personnel is reduced.
[0071] In some embodiments, the comparative images may optionally include electronic documents in image format or standard photographs in single-page format.
[0072] In some embodiments, the design data may optionally include the number of rows and columns of the graphic arrangement, the size of a single graphic, the design distance of the four corner markers, and the distance of the top left marker from the nearest graphic.
[0073] In some embodiments, the number of feature points can optionally be multiple. Specifically, eight feature points can be manually marked, two each on the top, bottom, left, and right sides of the image / text edge, for a total of eight points. The number can be increased or decreased depending on the complexity of the image / text, and used as a reference pattern.
[0074] like Figure 3 As shown, according to an embodiment of the screen printing plate image detection method proposed in this application, the detection software controls the rotation of the lamp roller, and the follow-up pressure roller, in conjunction with the encoder, records the distance traveled by the screen printing plate image during rotation. Specifically, the method includes:
[0075] Step S302: The screen printing plate is mounted on the light roller, and the light roller rotates back and forth in the first direction;
[0076] Step S304: Install the camera on the crossbeam above the lamp roller, and move the camera back and forth in a straight line in the second direction;
[0077] Step S306: Control the rotation of the lamp roller through the detection software to rotate the first row of the screen printing pattern to the top, and place the follower pressure roller at the edge of the screen printing pattern. The follower pressure roller, in conjunction with the encoder, records the distance traveled by the screen printing pattern during rotation.
[0078] In this embodiment, the rotation of the lamp roller is controlled by detection software, and the distance traveled by the screen printing pattern during rotation is recorded by a follower pressure roller in conjunction with an encoder. Specifically, the screen printing pattern is first mounted on the lamp roller, which then rotates reciprocally in a first direction. A camera is then mounted on a crossbeam above the lamp roller, and the camera moves reciprocally in a second direction. The detection software controls the rotation of the lamp roller, causing the first row of patterns to rotate to the top, and the follower pressure roller is positioned at the edge of the screen. This follower pressure roller, in conjunction with the encoder, accurately records the distance traveled by the screen during rotation.
[0079] like Figure 4 As shown, according to an embodiment of the screen printing image detection method proposed in this application, before obtaining the screen printing image by controlling a camera to photograph and calculate the four corner marker lines of the screen printing image using detection software, the method further includes:
[0080] Step S402: Select the reference drawing and design data in the inspection software and start automatic inspection.
[0081] In this embodiment, before obtaining the screen printing image, the detection software controls a camera to photograph and calculate the four corner marker lines of the screen printing pattern. This includes selecting a reference pattern and design data in the detection software and initiating automatic detection. The software automatically acquires images of the marker lines within the current field of view, identifies the marker lines, and automatically fine-tunes the camera's left and right positions and rotates the light roller to ensure they are accurately centered within the field of view.
[0082] like Figure 5 As shown, according to an embodiment of the screen printing image detection method proposed in this application, the screen printing image is compared with a reference image to identify and mark the differences, and a comparison result image is obtained. Specifically, the method includes:
[0083] Step S502: Binarize the screen printing image to obtain a binary image. The critical gray value of the binary image is 60.
[0084] Step S504: Improve the binary image using a closing operation to obtain a morphologically computed image;
[0085] Step S506: Compare the morphologically calculated image with the reference image, identify and mark the differences, and obtain the comparison result image.
[0086] In this embodiment, the screen printing image is compared with a reference image to identify and mark the differences, obtaining a comparison result image. Specifically, the screen printing image is first binarized to obtain a binary image, with a critical grayscale value of 60. Then, a closing operation is used to improve the binary image, obtaining a morphologically calculated image. Finally, the morphologically calculated image is compared with the reference image to identify and mark the differences, obtaining a comparison result image.
[0087] like Figure 6 As shown, a screen printing image detection method according to an embodiment of this application employs closing operations to improve a binary image, obtaining a morphologically computed image, specifically including:
[0088] Step S602: Smooth the binary image by first dilating, then eroding, then dilating again;
[0089] Step S604: Perform threshold optimization on the gradient image to remove regional minima;
[0090] Step S606: Detect the target using the watershed segmentation algorithm;
[0091] Step S608: Remove misidentified targets using features such as the area and spatial relationships of the target to obtain a morphologically calculated image.
[0092] In this embodiment, a closing operation is used to improve the binary image to obtain a morphological computation image. Specifically, the image is first dilated, then eroded and then dilated again. This method smooths the original image, then performs threshold optimization on the gradient image to remove regional minima, then uses the watershed segmentation algorithm to detect the target, and finally uses the area and spatial relationship features of the target to remove false targets.
[0093] like Figure 7 and Figure 8 As shown, an embodiment of the second aspect of this application provides a screen printing plate image detection device 10, including: a lamp roller 110, rotatably disposed, with an illumination source inside the lamp roller 110; a crossbeam 120, disposed above the lamp roller 110 and aligned with the axial direction of the lamp roller 110; a camera 130, movably disposed on the crossbeam 120; a screen printing plate 140, fitted onto the lamp roller 110; a follower pressure roller 150, disposed at the edge of the screen printing plate 140; and an encoder 160, connected to the follower pressure roller 150, for recording the distance traveled by the screen printing plate during rotation.
[0094] In this embodiment, the screen printing plate image detection device 10 includes a lamp roller 110, a crossbeam 120, a camera 130, a screen printing plate 140, a follower pressure roller 150, and an encoder 160. The lamp roller 110 is rotatably mounted, and an illumination source is provided inside the lamp roller 110. The crossbeam 120 is located above the lamp roller 110 and is aligned with the axial direction of the lamp roller 110. The camera 130 is movably mounted on the crossbeam 120. The screen printing plate 140 is fitted onto the lamp roller 110. The follower pressure roller 150 is located at the edge of the screen printing plate 140. The encoder 160 is connected to the follower pressure roller 150 and is used to record the distance traveled by the screen during rotation. This application can achieve efficient, fast, and accurate detection of the shape and opening quality of the screen printing plate image, and can accurately measure the distance between any two points on the screen printing plate.
[0095] In some embodiments, the screen printing plate image detection device 10 may optionally include a first motor. The first motor is connected to the lamp roller 110 and is used to drive the lamp roller 110 to rotate.
[0096] In some embodiments, the screen printing plate image detection device 10 may optionally include a second motor. The second motor is connected to the camera 130 and is used to drive the camera 130 to move.
[0097] In some embodiments, the screen printing plate image detection device 10 may optionally include detection software, which is connected to the first motor, the second motor, the camera 130, and the encoder 160, respectively.
[0098] like Figure 9 As shown, an embodiment of the third aspect of this application provides a screen printing plate image and text inspection system 20, including: an acquisition module 210 for acquiring comparison images and text; a marking module 220 for inputting the comparison images and text into inspection software and marking the feature points of the edges of the comparison images and text as reference patterns; an input module 230 for inputting design data into the inspection software; a control module 260 for controlling the rotation of the lamp roller through the inspection software and recording the distance traveled by the screen printing plate image and text during rotation through a follow-up pressure roller and an encoder; an image taking and calculation module 270 for controlling a camera through the inspection software to take pictures and calculate the four corner marker lines of the screen printing plate image and text to obtain a screen printing plate image; and a comparison module 280 for comparing the screen printing plate image and the reference pattern, identifying and marking the differences, and obtaining a comparison result image.
[0099] The screen printing plate image and text detection system 20 provided in this embodiment includes an acquisition module 210, a marking module 220, an input module 230, a control module 260, an image capture and calculation module 270, and a comparison module 280. The acquisition module 210 acquires comparison images and text. The marking module 220 inputs the comparison images and text into the detection software and marks the feature points at the edges of the comparison images and text as reference patterns. The input module 230 inputs design data into the detection software. The control module 260 controls the rotation of the light roller through the detection software and records the distance traveled by the screen printing plate image and text during rotation using a follow-up pressure roller and an encoder. The image capture and calculation module 270 controls a camera through the detection software to capture and calculate the four corner marker lines of the screen printing plate image and text to obtain a screen printing plate image. The comparison module 280 compares the screen printing plate image and the reference pattern, identifies and marks the differences, and obtains a comparison result image. This application enables efficient, rapid, and accurate inspection of the shape and opening quality of screen printing patterns, effectively improving quality inspection efficiency and reducing the labor intensity of personnel.
[0100] like Figure 10As shown, an embodiment of the fourth aspect of this application provides a screen printing plate image and text detection system 30, including: a memory 300 and a processor 400, wherein the memory 300 stores a program or instructions that can be executed on the processor 400, and when the processor 400 executes the program or instructions, it implements the steps of the screen printing plate image and text detection method of any one of the embodiments of the first aspect, and thus has the technical effects of any embodiment of the first aspect, which will not be repeated here.
[0101] The fifth aspect of this application provides a readable storage medium storing a program or instructions thereon. When the program or instructions are executed by a processor, they implement the steps of the screen printing image detection method of any one of the embodiments of the first aspect, and thus have the technical effects of any of the embodiments of the first aspect, which will not be repeated here.
[0102] like Figures 11 to 17 As shown, a screen printing plate pattern detection method according to a specific embodiment of this application can achieve efficient, fast and accurate detection of the shape and opening quality of screen printing plate patterns, and can accurately measure the distance between any two points on the screen printing plate.
[0103] First, a high-resolution image acquisition system is used to photograph the screen printing plate. The acquired images are calibrated and analyzed by the detection software in this application's device, compared with the electronic document used for screen printing, and the system automatically outputs a comparison result image, showing the areas of difference. Furthermore, for the spacing between any two points on the screen printing plate, especially the spacing of marker lines used to indicate the size of the printing area, the system can acquire images of the marker lines at each endpoint, calculate the relative position difference of the marker lines in the image by comparison, and automatically calculate the distance of lens movement to obtain an accurate spacing.
[0104] The specific steps are as follows:
[0105] 1. Input the electronic document in image format of a single-page graphic or a standard photograph into the detection software, and manually mark 8 feature points on the top, bottom, left, and right edges of the graphic, with the number increasing or decreasing depending on the complexity of the graphic, as a reference graphic; input the design data into the software, such as the number of rows and columns of the graphic arrangement, the size of the single-page graphic, the design distance of the four corner marker lines, and the distance of the upper left marker line from the nearest graphic.
[0106] 2. The device has a transparent roller driven by a motor, on which the screen printing plate can be mounted. The transparent roller has an internal lighting source and can be called a lamp roller. Its reciprocating rotation stroke can be regarded as the Y-axis. The camera is mounted on a crossbeam above the lamp roller and aligned with the axial direction. It is driven by a motor and can make reciprocating linear motion, which can be regarded as the X-axis.
[0107] 3. After the screen is mounted on the transparent roller, the light roller is rotated using detection software to rotate the first line of text to the top. The follower pressure roller on the device is placed at the edge of the screen. The follower pressure roller, in conjunction with the encoder, can accurately record the distance the screen travels during rotation. The camera is moved back to the left or right end, and the camera focus is adjusted so that the screen surface can be clearly seen on the monitor. The camera position is then finely adjusted left and right so that the upper left corner mark line is in the center of the field of view.
[0108] 4. Select the reference drawing and design data in the testing software, and start automatic testing; for example... Figure 11 As shown, the software automatically captures images of the marker lines in the current field of view, identifies the marker lines, and automatically fine-tunes the left and right positions of the camera and rotates the light roller to place them in the center of the accurate field of view.
[0109] 5. The software controls the camera to take pictures of the four corner marker lines. The movement distance in the Y and X directions is obtained based on the travel of the follow-up pressure roller and the movement distance of the camera. The software also automatically identifies the offset of the actual photographed marker line in the center of the field of view. The two are superimposed to calculate the relative distance of the four corner marker lines.
[0110] 6. The software controls the camera to take pictures and process all single-page images and text, compares them with reference images, identifies and marks the differences. The specific steps are as follows:
[0111] 6.1 Image Binarization:
[0112] like Figure 12 and Figure 13 As shown, binarization can convert a grayscale image into a binary image. Pixels with grayscale values greater than a certain threshold are set to maximum grayscale values, and pixels with grayscale values less than this threshold are set to minimum grayscale values, thus achieving binarization. After binarization, the grayscale value of pixels that are illuminated is 255, and the grayscale value of pixels that are opaque is 0. In this application example, the threshold grayscale value is 60.
[0113] 6.2 Morphological calculations:
[0114] like Figure 14 and Figure 15 As shown, due to noise and other factors, there are certain small holes and boundary gaps in the light-transmitting points. Therefore, this application uses a closing operation to improve the effect of binary images. That is, first dilation, then erosion, then dilation again. This method smooths the original image, then performs threshold optimization on the gradient image to remove regional minima, then uses the watershed segmentation algorithm to detect targets, and finally uses the area and spatial relationship features of the targets to remove false targets.
[0115] 6.3 Comparison process:
[0116] like Figure 16 and Figure 17As shown, the gray areas in the original image represent uncarved holes, which have lower brightness and smaller areas. Correspondingly, carved holes are brighter and larger. Holes are categorized by their area: larger holes are classified as carved holes, medium-sized holes as semi-carved holes, and smaller holes as uncarved holes. All identification parameters are adjustable. In this application example, the parameters used (hole area in pixels) are: 120-220 pixels indicate a carved hole, 60-120 pixels indicate a semi-carved hole, and less than 60 pixels indicate an uncarved hole. For easier visual inspection, in the automatically compared and displayed image, the template is set to the first color, and the image points are set to the second color core grid points. The first color area represents the template image, and the hexagons represent the screen mesh. Holes not located in the first color area, as well as opaque points within the first color area, are considered abnormal and displayed in the third color.
[0117] The software archives all the original images captured and the generated comparison result images.
[0118] The screen printing plate image and text inspection method in this embodiment achieves automated and rapid inspection of screen printing plate image and text quality, with highly refined and accurate results. It solves the long-standing problem of accurately measuring the dimensions of cylindrical screen printing plates. This effectively improves quality inspection efficiency and reduces the workload of personnel. Archiving the inspection results facilitates long-term quality control and traceability.
[0119] In this application, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance; the term "multiple" refers to two or more unless otherwise expressly defined. The terms "install," "connect," "link," and "fix" should be interpreted broadly. For example, "connect" can mean a fixed connection, a detachable connection, or an integral connection; "link" can mean a direct connection or an indirect connection through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0120] In the description of this application, it should be understood that the terms "upper", "lower", "rear", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or unit referred to must have a specific orientation or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0121] In the description of this specification, the terms "one embodiment," "some embodiments," "specific embodiment," etc., refer to a specific feature, structure, material, or characteristic described in connection with that embodiment or example, which is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0122] The above are merely preferred embodiments of this application and are not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for detecting images and text on a screen printing plate, characterized in that, include: Get comparison images and text; The comparison images and texts are input into the detection software, and the feature points at the edges of the comparison images and texts are marked as reference images; Input the design data into the testing software; The detection software controls the rotation of the lamp roller, and the follow-up pressure roller, in conjunction with the encoder, records the distance traveled by the screen printing pattern during rotation. The detection software controls the camera to photograph and calculate the four corner marker lines of the screen printing image to obtain the screen printing image. The screen printing image is compared with the reference image to identify and mark the differences, thus obtaining a comparison result image. The process of controlling the rotation of the lamp roller through the detection software, and recording the distance traveled by the screen printing plate during rotation via a follow-up pressure roller and an encoder, specifically includes: The screen printing plate is mounted on a light roller, which rotates back and forth along a first direction; The camera is mounted on a crossbeam above the lamp roller, and the camera moves back and forth in a straight line in the second direction; The detection software controls the rotation of the lamp roller, causing the first row of the screen printing pattern to rotate to the top, and the follower pressure roller is placed at the edge of the screen printing pattern. The follower pressure roller, in conjunction with the encoder, records the distance traveled by the screen printing pattern during rotation. The step of comparing the screen printing image with the reference image, identifying and marking the differences, and obtaining a comparison result image specifically includes: The screen printing image is binarized to obtain a binary image, and the critical gray value of the binary image is 60. The binary image is improved by using a closing operation to obtain a morphologically computed image; The morphologically calculated image is compared with the reference image to identify and mark the differences, thus obtaining a comparison result image.
2. The method for detecting images and text on a screen printing plate according to claim 1, characterized in that, The process of controlling a camera via the detection software to photograph and calculate the four corner marker lines of the screen printing image to obtain the screen printing image includes: The detection software controls the camera to take pictures of the four corner marker lines of the screen print; The first motion stroke in the first direction is obtained based on the stroke of the follow-up pressure roller, and the second motion stroke in the second direction is obtained based on the movement stroke of the camera. The offset of the actual photographing mark line in the center position of the field of view is automatically identified by the detection software. Based on the first motion stroke, the second motion stroke, and the offset, the relative distance between the four corner marker lines is calculated to obtain the screen printing image.
3. The method for detecting images and text on a screen printing plate according to claim 1, characterized in that, The comparison images and texts include single-page image format electronic documents or standard photographs.
4. The method for detecting images and text on a screen printing plate according to claim 1, characterized in that, The design data includes the number of rows and columns of the graphic arrangement, the size of a single graphic, the design distance of the four corner markers, and the distance of the top left marker from the nearest graphic.
5. The method for detecting images and text on a screen printing plate according to claim 1, characterized in that, The number of feature points is multiple.
6. The method for detecting images and text on a screen printing plate according to claim 1, characterized in that, Before the step of controlling the camera to photograph and calculate the four corner marker lines of the screen printing image using the detection software to obtain the screen printing image, the method further includes: Select the reference drawing and the design data in the testing software, and start automatic testing.
7. The method for detecting images and text on a screen printing plate according to claim 1, characterized in that, The step of improving the binary image using a closing operation to obtain a morphological computation image specifically includes: The binary image is smoothed by first dilating, then eroding, and then dilating again. Threshold optimization is performed on the gradient image to remove regional minima; Target detection using the watershed segmentation algorithm; By utilizing features such as the area and spatial relationships of the target, erroneous targets are removed, resulting in a morphologically computed image.
8. A screen printing plate image and text detection device, characterized in that, include: The lamp roller (110) is rotatably configured, and the interior of the lamp roller (110) is provided with an illumination source; A crossbeam (120) is disposed above the lamp roller (110) and is aligned with the axial direction of the lamp roller (110); A camera (130) is movably mounted on the crossbeam (120); A screen printing plate (140) is mounted on the lamp roller (110); A follow-up pressure roller (150) is located at the edge of the screen printing plate (140); An encoder (160) is connected to the follower pressure roller (150) and is used to record the distance the wire mesh travels during rotation; The screen printing pattern is mounted on the lamp roller (110), which reciprocates along a first direction; the camera (130) is mounted on a crossbeam above the lamp roller (110), which reciprocates linearly along a second direction; the lamp roller (110) is rotated by the detection software, so that the first row of the screen printing pattern rotates to the top, and the follower pressure roller (150) is placed at the edge of the screen printing pattern. The follower pressure roller (150) works with the encoder (160) to record the distance traveled by the screen printing pattern during rotation. The screen printing image is binarized to obtain a binary image with a critical grayscale value of 60. The binary image is then improved using a closing operation to obtain a morphologically computed image. The morphologically computed image is compared with a reference image to identify and mark the differences, resulting in a comparison result image.
9. A screen printing plate image and text inspection system, characterized in that, include: The acquisition module (210) is used to acquire comparison images and text; The marking module (220) is used to input the comparison image and text into the detection software and mark the feature points of the edge of the comparison image and text as a reference image; Input module (230) is used to input design data into the detection software; The control module (260) is used to control the rotation of the lamp roller through the detection software, and to record the distance traveled by the screen printing plate during rotation by means of the follow-up pressure roller and the encoder; The photo-taking and calculation module (270) is used to control the camera to take photos and calculate the four corner marker lines of the screen print image through the detection software to obtain the screen print image; The comparison module (280) is used to compare the screen printing image with the reference pattern, identify and mark the differences, and obtain a comparison result image; The control module (260) is specifically used to mount the screen printing plate onto the light roller, which reciprocates along a first direction; and to mount the camera on the crossbeam above the light roller, which reciprocates linearly along a second direction. The detection software controls the rotation of the lamp roller, causing the first row of the screen printing pattern to rotate to the top, and the follower pressure roller is placed at the edge of the screen printing pattern. The follower pressure roller, in conjunction with the encoder, records the distance traveled by the screen printing pattern during rotation. The comparison module (280) is specifically used to binarize the screen printing image to obtain a binary image, wherein the critical gray value of the binary image is 60; to improve the binary image by using a closing operation to obtain a morphological calculation image; to compare the morphological calculation image with the reference image, identify and mark the difference positions, and obtain a comparison result image.
10. A screen printing plate image and text detection system, characterized in that, include: A memory (300) and a processor (400), wherein the memory (300) stores a program or instructions executable on the processor (400), and the processor (400) executes the program or instructions to implement the steps of the screen printing image detection method as described in any one of claims 1 to 7.
11. A readable storage medium having a program or instructions stored thereon, characterized in that, When the program or the instructions are executed by the processor, they implement the steps of the screen printing image and text detection method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Printing device
CN103534095A
Image inspection apparatus and image inspection procedure
CN105354281A
