Garment printing defect detection system and detection method based on multi-exposure imaging
Through multi-exposure imaging technology and image comparison methods, the problems of low printing defect detection efficiency and unscientific results in the existing technology are solved, rapid and efficient automated detection of printing samples is achieved, and more objective and scientific detection results are provided.
Patent Information
- Application Number
- CN202010045279.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-01-16
AI Technical Summary
The existing technology is difficult to efficiently detect garment printing defects through automation and objectification, resulting in low efficiency and unscientific detection results, and cannot meet the detection needs of clothing production enterprises.
Using a detection system based on multi-exposure imaging, the exposure reference value of the printed product is obtained through the first exposure module, multiple exposure values are set for multiple exposure shooting, the exposure template and exposure map are stored, and image comparison is performed, combined with semantics The difference method and image fusion, filtering and processing realize automatic detection of printing defects.
It achieves fast, efficient and automated detection of printed samples, making the detection results more objective and scientific, avoiding reliance on manual quality inspection, and improving detection efficiency and accuracy.
Smart Images

Figure CN111127462B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of clothing production, and in particular to a garment printing defect detection system and a detection method based on multi-exposure imaging for detecting garment printing defects. Background Art
[0002] Printing quality inspection is an important part of ensuring the quality of finished garments. If defects in garment printing can be discovered in advance before mass production, subsequent production losses can be effectively avoided, saving garment manufacturers a large amount of economic losses. Due to the diverse styles and rich colors of garment printing, it is difficult to perform quality inspection on garment printing defects based on visual recognition technology, such as neural networks based on deep learning. At present, garment manufacturers still generally use manual inspection to inspect garment printing defects. This traditional inspection method is inefficient. The judgment of whether there are defects in the printing depends largely on the quality inspection experience of the quality inspector. The defect detection results are not objective and scientific enough, and cannot meet the needs of garment manufacturers for automated detection of printing defects. Summary of the invention
[0003] The object of the present invention is to provide a garment printing defect detection system based on multi-exposure imaging to solve the above technical problems.
[0004] To achieve this object, the present invention adopts the following technical solutions:
[0005] Provides garment printing defect detection system based on multi-exposure imaging, including:
[0006] A first exposure module is used to expose and shoot the qualified finished printing product to obtain an exposure reference value corresponding to the finished printing product, and to set multiple exposure values according to the exposure reference value to continue to expose and shoot the finished printing product to obtain an exposure template image corresponding to each exposure value shooting mode;
[0007] An exposure template image storage module, connected to the first exposure module, and used to store each of the exposure template images;
[0008] A second exposure module is used to perform multiple exposure shooting of the print sample to be detected according to the set exposure value, so as to obtain multiple exposure images of the print sample shot in each exposure value shooting mode;
[0009] an exposure map storage module, connected to the second exposure module, and used to store the exposure map;
[0010] A printing defect detection module, connected to the exposure template image storage module and the exposure image storage module respectively, for performing image comparison between the exposure template image and the exposure image taken in the same exposure value shooting mode, obtaining and storing a plurality of printing defect comparison results corresponding to the printing sample;
[0011] The printing defect detection result forming module is connected to the printing defect detection module and is used to form and output the final printing defect detection result associated with the printing sample based on the printing defect comparison results.
[0012] As a preferred solution of the present invention, the number of the exposure values set based on the exposure reference value is at least four.
[0013] As a preferred solution of the present invention, the exposure value is set according to a multiple of the exposure reference value, and the set exposure value is 1.1 times, or 1 times, or 0.8 times, or 0.6 times the exposure reference value.
[0014] As a preferred solution of the present invention, the garment printing defect detection system performs image comparison between the exposure template image and the exposure image shot in the same exposure value shooting mode by using a semantic difference method.
[0015] As a preferred embodiment of the present invention, the garment printing defect detection system further comprises:
[0016] An image fusion module, connected to the printing defect detection module, for performing image fusion on the printing defect comparison results to form a printing defect comparison result fusion image associated with the printing sample;
[0017] A filtering module, connected to the image fusion module, configured to filter defects of the fused image to obtain the fused image after defect filtering;
[0018] An image processing module, connected to the filtering module, for further processing the fused image after defect filtering to obtain a defect feature map associated with the printing sample;
[0019] The printing defect detection result forming module is connected to the image processing module and is used to output the defect feature map as the printing defect detection result.
[0020] As a preferred solution of the present invention, further image processing performed on the defect-filtered fused image is binarization processing of the fused image.
[0021] The present invention also provides a garment printing defect detection system, which is implemented by applying the garment printing defect detection system and includes the following steps:
[0022] Step S1, the garment printing defect detection system exposes and photographs a qualified printed product to obtain an exposure reference value corresponding to the printed product;
[0023] Step S2, the garment printing defect detection system sets a plurality of exposure values according to the exposure reference value to continue to expose and shoot the printed product, obtains and stores the corresponding exposure template image under each exposure value shooting mode;
[0024] Step S3, the garment printing defect detection system performs multiple exposure shooting of the printing sample to be detected according to the set exposure value, and obtains multiple exposure images corresponding to the printing sample under each exposure value shooting mode;
[0025] Step S4, the garment printing defect detection system performs image comparison on the exposure template image and the exposure image shot under the same exposure value shooting mode, obtains and stores a plurality of printing defect comparison results corresponding to the printing sample;
[0026] Step S5: the garment printing defect detection system forms a final printing defect detection result associated with the printing sample according to each printing defect comparison result and outputs it.
[0027] As a preferred solution of the present invention, step S5 specifically includes:
[0028] Step S51, the garment print defect detection system fuses the print defect comparison results to form a print defect comparison result fused image associated with the print sample;
[0029] Step S52, the garment printing defect detection system performs defect filtering on the fused image to obtain the fused image after defect filtering;
[0030] Step S53, the garment printing defect detection system performs further image processing on the fused image after defect filtering to obtain a defect feature map associated with the printing sample, and outputs the defect feature map as the printing defect detection result.
[0031] As a preferred solution of the present invention, in step S2, the number of the exposure values set by the garment printing defect detection system based on the exposure reference value is at least four.
[0032] As a preferred embodiment of the present invention, the garment printing defect detection system sets the exposure value according to a multiple of the exposure reference value, and the set exposure value is 1.1 times, or 1 times, or 0.8 times, or 0.6 times the exposure reference value.
[0033] The present invention is based on multi-exposure imaging technology, which performs multi-exposure shooting of print samples and compares defects between the multi-exposure images and standard images shot under the same exposure mode. Print defects in print samples can be accurately discovered. Moreover, the present invention fully automates the detection process of print defects. The entire detection process is fast and efficient, and there is no need to rely on the quality inspection experience of quality inspectors. The print defect detection results made are more objective and scientific. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0035] Figure 1 is a structural schematic diagram of a garment printing defect detection system based on multi-exposure imaging according to an embodiment of the present invention;
[0036] Figure 2 It is a method step diagram for implementing defect detection of a garment printing sample by using the garment printing defect detection system based on multi-exposure imaging according to an embodiment of the present invention;
[0037] Figure 3 It is a step decomposition diagram of step S5 in the method steps for realizing defect detection of garment print samples by a garment print defect detection system based on multi-exposure imaging according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.
[0039] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on this patent; in order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product; for those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.
[0040] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "inner", "outer", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as a limitation on this patent. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0041] In the description of the present invention, unless otherwise clearly specified and limited, if the term "connection" or the like appears to indicate the connection relationship between components, the term should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two components or the interaction relationship between two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0042] This embodiment provides a garment printing defect detection system based on multi-exposure imaging, please refer to Figure 1 ,include:
[0043] The first exposure module 1 is used to expose and shoot the qualified printed product to obtain an exposure reference value corresponding to the printed product, and to set multiple exposure values according to the exposure reference value to continue to expose and shoot the printed product to obtain an exposure template image corresponding to each exposure value shooting mode;
[0044] An exposure template image storage module 2, connected to the first exposure module 1, and used to store each exposure template image;
[0045] The second exposure module 3 is used to perform multiple exposure shooting of the printed sample to be detected according to the exposure value set above, so as to obtain multiple exposure images of the printed sample shot in each exposure value shooting mode;
[0046] An exposure map storage module 4, connected to the second exposure module 3, for storing the exposure map;
[0047] The printing defect detection module 5 is connected to the exposure template image storage module 2 and the exposure image storage module 4 respectively, and is used to obtain each exposure template image and the exposure image corresponding to each exposure template image, and then perform image comparison on the exposure template image and the exposure image taken in the same exposure value shooting mode, to obtain and store a plurality of printing defect comparison results corresponding to the printing sample;
[0048] The printing defect detection result forming module 6 is connected to the printing defect detection module 5 and is used to form and output the final printing defect detection result associated with the printing sample according to the printing defect comparison results.
[0049] Preferably, the garment printing defect detection system further comprises:
[0050] The image fusion module 7 is connected to the printing defect detection module 5 and is used to fuse the printing defect comparison results to form a printing defect comparison result fusion image associated with the printing sample;
[0051] The filtering module 8 is connected to the image fusion module 7 and is used to filter defects on the fused image to obtain a fused image after defect filtering;
[0052] An image processing module 9, connected to the filtering module 8, is used to further process the fused image after defect filtering to obtain a defect feature map associated with the printing sample;
[0053] The printing defect detection result forming module 6 is connected to the image processing module 9 and is used to output the defect feature map as the printing defect detection result.
[0054] Preferably, the number of exposure values set based on the exposure reference value is at least four. In this embodiment, the number of exposure values can be set to four. More preferably, the four exposure values set are 1.1 times, 1 times, 0.8 times and 0.6 times the exposure reference value, respectively.
[0055] Preferably, the garment printing defect detection system performs image semantic differentiation on the exposure template image and the exposure image taken under the same exposure value shooting mode to obtain a heat map corresponding to the exposure image under each exposure value shooting mode, that is, four heat maps are obtained by semantic differentiation of four exposure images.
[0056] In the above technical solution, the method of performing semantic differentiation on the exposure image based on the exposure template image is an existing image comparison method, and the comparison process is not described here.
[0057] The pixel value of each pixel point on each heat map obtained by semantic difference is between 0 and 1. Each pixel value represents the probability that the corresponding pixel point is a printing defect. The larger the pixel value, the greater the probability that the corresponding pixel point is a printing defect.
[0058] The system finally fuses the four heat maps to obtain a fused image. The pixel value corresponding to each pixel on the fused image ranges from 0 to 4. Similarly, the larger the pixel value, the greater the probability that the pixel has a printing defect. The method of image fusion of the four heat maps by the system is an existing technology and will not be elaborated here.
[0059] In order to highlight the printing defects existing in the fused image, it is more preferred that the system filters out the pixels with too small pixel values on the fused image by setting a threshold. The threshold range is preferably between 0.6 and 1, and more preferably, the threshold range is set between 0.8 and 1. For example, after the threshold is set to 1, the system will automatically filter out the pixels with pixel values less than 1 in the fused image, indicating that there are no printing defects at the pixel points, so as to highlight other pixels with pixel values higher than 1 as printing defects.
[0060] Finally, the system performs binarization processing on the fused image after defect filtering to obtain a defect feature map corresponding to the photographed printing sample, and outputs the defect feature map as the printing defect detection result.
[0061] Please refer to Figure 2 The present invention also provides a garment printing defect detection system, which is implemented by applying the above-mentioned garment printing defect detection system, and includes the following steps:
[0062] Step S1, the garment printing defect detection system exposes and photographs a qualified printed product to obtain an exposure reference value corresponding to the printed product;
[0063] Step S2, the garment printing defect detection system sets multiple exposure values according to the exposure reference value to continue to expose and shoot the printed product, obtains and stores the corresponding exposure template image under each exposure value shooting mode;
[0064] Step S3, the garment printing defect detection system performs multiple exposure shots of the printing sample to be detected according to the set exposure value, and obtains multiple exposure images corresponding to the printing sample in each exposure value shooting mode;
[0065] Step S4, the garment printing defect detection system performs image comparison on the exposure template image and the exposure image shot under the same exposure value shooting mode, obtains and stores a plurality of printing defect comparison results corresponding to the printing sample;
[0066] Step S5: the garment printing defect detection system forms and outputs a final printing defect detection result associated with the printing sample based on the printing defect comparison results.
[0067] Preferably, please refer to Figure 3 , step S5 specifically includes:
[0068] Step S51, the garment printing defect detection system fuses the printing defect comparison results to form a printing defect comparison result fused image associated with the printing sample;
[0069] Step S52, the garment printing defect detection system performs defect filtering on the fused image to obtain a defect-filtered fused image;
[0070] Step S53, the garment printing defect detection system performs further image processing on the defect-filtered fused image to obtain a defect feature map associated with the printing sample, and outputs the defect feature map as a printing defect detection result.
[0071] Preferably, in step S2, the number of exposure values set by the garment printing defect detection system based on the exposure reference value is at least four, for example, four exposure values may be set.
[0072] More preferably, the garment printing defect detection system sets the exposure value according to a multiple of the exposure reference value, and the set exposure value may be 1.1 times, 1 times, 0.8 times or 0.6 times the exposure reference value.
[0073] In step S4, the garment printing defect detection system performs image semantic differentiation on the exposure template image and the exposure image taken under the same exposure value shooting mode to obtain a heat map corresponding to the exposure image under each exposure value shooting mode. The heat map mentioned here is the printing defect comparison result mentioned in step S4.
[0074] It should be noted that the above specific implementations are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art should understand that various modifications, equivalent substitutions, changes, etc. can be made to the present invention. However, as long as these changes do not deviate from the spirit of the present invention, they should be within the scope of protection of the present invention. In addition, some terms used in the specification and claims of this application are not restrictive, but are only for the convenience of description.
Claims
1. A garment printing defect detection system based on multi-exposure imaging, characterized in that: include: A first exposure module is used to expose and shoot the qualified finished printing product to obtain an exposure reference value corresponding to the finished printing product, and to set multiple exposure values according to the exposure reference value to continue to expose and shoot the finished printing product to obtain an exposure template image corresponding to each exposure value shooting mode; An exposure template image storage module, connected to the first exposure module, and used to store each of the exposure template images; A second exposure module is used to perform multiple exposure shooting of the print sample to be detected according to the set exposure value, so as to obtain multiple exposure images of the print sample shot in each exposure value shooting mode; an exposure map storage module, connected to the second exposure module, and used to store the exposure map; A printing defect detection module, connected to the exposure template image storage module and the exposure image storage module respectively, for performing image comparison between the exposure template image and the exposure image taken in the same exposure value shooting mode, obtaining and storing a plurality of printing defect comparison results corresponding to the printing sample; The printing defect detection result forming module is connected to the printing defect detection module and is used to form and output the final printing defect detection result associated with the printing sample based on the printing defect comparison results.
2. The garment printing defect detection system according to claim 1, characterized in that: The number of the exposure values set based on the exposure reference value is at least four.
3. The garment printing defect detection system according to claim 1, characterized in that: The exposure value is set according to a multiple of the exposure reference value, and the set exposure value is 1.1 times, 1 times, 0.8 times, or 0.6 times the exposure reference value.
4. The garment printing defect detection system according to claim 1, characterized in that: The garment printing defect detection system performs image comparison between the exposure template image and the exposure image shot in the same exposure value shooting mode by using a semantic difference method.
5. The garment printing defect detection system according to claim 1, characterized in that: Also includes: An image fusion module, connected to the printing defect detection module, for performing image fusion on the printing defect comparison results to form a printing defect comparison result fusion image associated with the printing sample; A filtering module, connected to the image fusion module, configured to filter defects of the fused image to obtain the fused image after defect filtering; An image processing module, connected to the filtering module, for further processing the fused image after defect filtering to obtain a defect feature map associated with the printing sample; The printing defect detection result forming module is connected to the image processing module and is used to output the defect feature map as the printing defect detection result.
6. The garment printing defect detection system according to claim 5, characterized in that: The further image processing performed on the defect-filtered fused image is binarization processing of the fused image.
7. A method for detecting defects in garment printing, implemented by applying the garment printing defect detection system according to any one of claims 1 to 6, characterized in that: The steps include: Step S1, the garment printing defect detection system exposes and photographs a qualified printed product to obtain an exposure reference value corresponding to the printed product; Step S2, the garment printing defect detection system sets a plurality of exposure values according to the exposure reference value to continue to expose and shoot the printed product, obtains and stores the corresponding exposure template image under each exposure value shooting mode; Step S3, the garment printing defect detection system performs multiple exposure shooting of the printing sample to be detected according to the set exposure value, and obtains multiple exposure images corresponding to the printing sample under each exposure value shooting mode; Step S4, the garment printing defect detection system performs image comparison on the exposure template image and the exposure image shot under the same exposure value shooting mode, obtains and stores a plurality of printing defect comparison results corresponding to the printing sample; Step S5: the garment printing defect detection system forms a final printing defect detection result associated with the printing sample according to each printing defect comparison result and outputs it.
8. The method for detecting garment printing defects according to claim 7, characterized in that: The step S5 specifically includes: Step S51, the garment print defect detection system fuses the print defect comparison results to form a print defect comparison result fused image associated with the print sample; Step S52, the garment printing defect detection system performs defect filtering on the fused image to obtain the fused image after defect filtering; Step S53, the garment printing defect detection system performs further image processing on the fused image after defect filtering to obtain a defect feature map associated with the printing sample, and outputs the defect feature map as the printing defect detection result.
9. The method for detecting garment printing defects according to claim 7, wherein: In the step S2, the number of the exposure values set by the garment printing defect detection system based on the exposure reference value is at least four.
10. The method for detecting garment printing defects according to claim 9, characterized in that: The garment printing defect detection system sets the exposure value according to a multiple of the exposure reference value, and the set exposure value is 1.1 times, 1 times, 0.8 times or 0.6 times the exposure reference value.
Citation Information
Patent Citations
Equipment and method for product appearance defect detection
CN110018166A
Image pickup device
JP2001036820A
Image processing apparatus and method therefor
US20170230577A1
