Printed material inspection device, printed material inspection method, and printed material inspection program
The printed material inspection device automates defect detection and classification by using image comparison and classification models to identify and address defect causes in printed materials, improving quality control in high-quality production.
Patent Information
- Application Number
- JP2025082739
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-05-16
- Publication Date
- 2026-11-27
AI Technical Summary
Existing print inspection technologies can only determine the presence of defects in printed materials but require manual intervention to identify and address the cause of the defects, particularly in high-quality production environments.
A printed material inspection device and method that utilizes image comparison and classification models to automatically detect and classify defects in printed materials by dividing images into cells, identifying differences, cropping defective areas, and using a classification model like CNN to identify the type of defect.
Automates the detection and classification of defects in printed materials, enabling automatic identification of defect causes and appropriate countermeasures, enhancing efficiency and quality control in high-quality production.
Smart Images

Figure 2026185537000001_ABST
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to a printed matter inspection apparatus, a printed matter inspection method, and a printed matter inspection program for inspecting printing defects in printed matter printed on a medium such as paper. [Background Art]
[0002] In recent years, with the rapid development of information technologies such as cloud computing and artificial intelligence, automation has been progressing in a wide range of fields. In the printing industry, there is a movement to automate the confirmation of print quality, which has conventionally been mainly performed by visual inspection, by using a print inspection apparatus. Current inspection apparatuses can detect defects occurring in printed matter such as missing ink, thereby eliminating defective products and performing marking. [Prior Art Documents] [Patent Documents]
[0003] [Patent Document 1] Japanese Unexamined Patent Application Publication No. 2024-89294 [Patent Document 2] Japanese Unexamined Patent Application Publication No. 2024-89296 [Summary of the Invention] [Problems to be Solved by the Invention]
[0004] Patent Documents 1 to 2 propose an image processing apparatus including extraction means for extracting a characteristic portion as a reference image from an image of a non-defective product obtained by imaging a printed matter, and determination means for comparing the reference image extracted by the extraction means with an image of an imaged object to identify the object or determine whether the object is non-defective or defective.
[0005] This method only allows the quality of the captured image, that is, the quality of the printed matter, to be determined. After a defect is found, the cause of the defect must be addressed manually. Countermeasures against defects are extremely important, particularly in production machines that require high quality, and automation of such countermeasures is expected.
[0006] In light of the circumstances described above, the purpose of this disclosure is to provide a printed material inspection device, a printed material inspection method, and a printed material inspection program capable of detecting the presence or absence of defects in printed materials and classifying them according to the type of defect. [Means for solving the problem]
[0007] A printed material inspection apparatus according to one form of this disclosure is: An image comparison unit divides a digitally captured image of a printed material on a medium and a reference image of the printed material into multiple cells, compares corresponding cell pairs of the captured image and the reference image, and determines cell pairs where differences exist. A cropping unit that cuts out a group of defective cells from the captured image, which includes one or more defective cells that are paired with a cell in the reference image and have a difference from said cell, A defect identification unit inputs the group of defective cells cropped from the captured image into a classification model, and by executing the classification model, classifies the defects shown in the group of defective cells and identifies the type of defect. It is equipped with.
[0008] A printed material inspection method relating to one form of this disclosure is: The control circuit of the print inspection device executes the print inspection program, Digitized images of printed materials on a medium and reference images of the printed materials are divided into multiple cells, corresponding cell pairs of the captured images and reference images are compared, and cell pairs with differences are identified. A group of defective cells, including one or more defective cells that are paired with a cell in the aforementioned reference image and have a difference from said cell, is cut out from the captured image. The group of defective cells extracted from the captured image is input into a classification model, and the class classification model is executed to classify the defects shown in the group of defective cells and identify the type of defect.
[0009] A print inspection program relating to one form of this disclosure is: The control circuit of the printed material inspection device, An image comparison unit divides a digitally captured image of a printed material on a medium and a reference image of the printed material into multiple cells, compares corresponding cell pairs of the captured image and the reference image, and determines cell pairs where differences exist. A cropping unit that cuts out a group of defective cells from the captured image, which includes one or more defective cells that are paired with a cell in the reference image and have a difference from said cell, Defect Identification Unit: Inputs the group of defective cells extracted from the captured image into a classification model, and by executing the classification model, classifies the defects shown in the group of defective cells and identifies the type of defect. To operate as such. [Effects of the Invention]
[0010] According to this disclosure, it is possible to detect whether or not there are defects in printed materials and classify them according to the type of defect.
[0011] The effects described herein are not necessarily limited to those described herein and may include any of the effects described herein. [Brief explanation of the drawing]
[0012] [Figure 1] This disclosure shows the hardware configuration of a printed material inspection apparatus according to one embodiment. [Figure 2] This shows the functional configuration of a printed material inspection device. [Figure 3] This illustrates the concept of how a printed material inspection device works. [Figure 4] This shows the operation flow of the printed material inspection device. [Figure 5] (A) The acquired image and (B) the reference image before alignment are shown. [Figure 6] This shows pairs of cells where differences exist in the (A) acquired image and (B) reference image after alignment. [Figure 7] This shows a group of defective cells cropped from the captured image. [Description of Embodiments]
[0013] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
[0014] 1. Hardware Configuration of Printed Matter Inspection Apparatus
[0015] Figure 1 shows a hardware configuration of a printed matter inspection apparatus according to an embodiment of the present disclosure.
[0016] The printed matter inspection apparatus 10 includes a CPU 11, a ROM 12, a RAM 13, a large-capacity non-volatile storage device 14 such as an HDD or an SSD, a network communication interface 15, an operation device 16, and a display device 17, and a bus 18 that interconnects these components.
[0017] The CPU 11, the ROM 12, and the RAM 13 constitute a control circuit 100. The CPU 11 loads an information processing program stored in the ROM 12 into the RAM 13 and executes the program. The ROM 12 fixedly stores programs executed by the CPU 11, data, and the like. The ROM 12 is an example of a non-transitory computer-readable recording medium.
[0018] 2. Functional Configuration of Printed Matter Inspection Apparatus
[0019] Figure 2 shows a functional configuration of the printed matter inspection apparatus.
[0020] When the control circuit 100 executes a printed matter inspection program, the printed matter inspection apparatus 10 operates as a registration unit 101, an image comparison unit 102, a cropping unit 103, and a defect identification unit 104 that executes a classification model 105, and performs a printed matter inspection method.
[0021] 3. Operation of Printed Matter Inspection Apparatus
[0022] Figure 3 shows a concept of the operation of the printed matter inspection apparatus. Figure 4 shows an operation flow of the printed matter inspection apparatus. Figure 5 shows (A) a captured image and (B) a reference image before registration.
[0023] The alignment unit 101 receives input of (A) an captured image and (B) a reference image. The captured image is an image digitized by scanning a printed material printed on a medium such as paper. The reference image is, for example, a digital image that serves as the basis for the printed material. The alignment unit 101 aligns the positional space and brightness of the input captured image and reference image (step S1).
[0024] By aligning the positional space and brightness of the captured image and the reference image, the position and brightness of the captured image and the reference image become consistent, enabling comparison for detecting defects.
[0025] Positional alignment is a technique to address positional misalignment between captured images and reference images caused by data processing such as printing and scanning, as well as physical factors. By analyzing the captured image and reference image, the rotation, scaling, and translation amounts required to transform from "the positional space of one image" to "the positional space of another" are estimated, and mapping is performed by transforming the image using these estimates. This makes it possible to align the positions of the captured image and reference image by performing transformations such as scaling and rotation.
[0026] Brightness correction is a technique for compensating for overall brightness differences. It adjusts brightness by matching the brightness histograms of the images. This technique allows for adjustment of the brightness of captured images and reference images that differ due to data processing such as printing or scanning, as well as physical factors. For example, the brightness of one reference image can be kept unchanged, while the brightness histogram of the other image is matched to that of the reference image.
[0027] The image comparison unit 102 divides the captured image and the reference image into multiple cells. The cell size is a fixed value, for example, 64 pixels x 64 pixels. In image comparison, the brightness is checked for each cell to determine the difference, so the cell size is an important factor. The cell size itself is a fixed value, and the relative cell size is changed by changing the image size. When the image size is small, the relative cell size becomes large, and small differences are smoothed out. On the other hand, when the image size is large, the relative cell size becomes small, and even small differences that should not be detected (for example, slight differences that could not be matched during alignment) may be detected. Therefore, in order to properly detect only defects, it is necessary to set the image size appropriately.
[0028] Figure 6 shows pairs of cells where differences exist in the (A) acquired image and (B) reference image after alignment.
[0029] The image comparison unit 102 compares corresponding cell pairs in the captured image and the reference image (step S2), determines whether a difference exists for each cell, and identifies pairs of cells 304 that have a difference (step S3). The image comparison unit 102 determines "defective" if there are pairs of cells 304 with a difference (indicated by border lines in Figure 6), and "no defect" if there are no pairs of cells 304 with a difference. Specifically, the image comparison unit 102 determines the difference based on the difference in brightness of cells at the same position in the captured image and the reference image. An image evaluation index called the Structural Similarity Index (SSIM) can be used for comparison. Specifically, the image comparison unit 102 detects areas where defects exist by comparing and evaluating cells at the same position in the captured image and the reference image using SSIM.
[0030] Figure 7 shows a group of defective cells cropped from the captured image.
[0031] If a defect is found, the cropping section 103 crops the defective cell group 300 from the captured image (step S4). The defective cell group 300 includes one or more defective cells 301 and multiple peripheral cells 302. The defective cell group 300 may further include one or more extended cells 303. A defective cell 301 is a cell 304 (shown as a border in Figure 6) that is paired with a cell in the reference image and has a difference from that cell. When one defective cell 301 is in contact with one or more other defective cells 301, the defective cell group 300 includes multiple defective cells 301 that are in contact with each other. Multiple peripheral cells 302 are cells that surround one or more defective cells 301 (in other words, are in contact with the edges or vertices of the border of the defective cell 301) and have no difference from the paired cell in the reference image. One or more extended cells 303 are cells that constitute the smallest rectangle including multiple adjacent defective cells and multiple peripheral cells (in other words, cells that constitute a rectangle of defective cell group 300).
[0032] Since the input used in the subsequent classification model 105 is an image of a defect to be classified, it is necessary to obtain an image with the defective parts cut out. In order to capture the characteristics of the defects more accurately, instead of cutting out each defective cell 301 that is detected as having a difference, it is desirable to obtain an image of a group of defective cells 300, which is a cluster of defective cells 301. Therefore, when multiple defective cells 301 are touching at the top, bottom, left, right edges or corner vertices, these multiple defective cells 301 are considered as one large group of defects, the group of defective cells 300. The cutting unit 103 cuts out an image of this group of defective cells 300 and uses it as input to the classification model 105. For example, Figure 7 is an image of the group of defective cells 300 cut out from the captured image in Figure 6(A). The group of defective cells 300 consists of multiple defective cells 301 touching at the top, bottom, left, right edges or corner vertices. The image of the group of defective cells 300 is used as input to the classification model 105. On the other hand, because transformations such as scaling and rotation are performed during image comparison alignment, the position information detected by image comparison may be different from the position information of the original image. To compensate for this discrepancy, the cropping unit 103 crops out a group of defective cells 300 that includes at least multiple defective cells 301 and multiple surrounding cells 302 (a range that is one cell larger in all directions, as indicated by arrows 305 in the figure).
[0033] The defect identification unit 104 inputs the defective cell group 300 into a classification model 105 such as a CNN (step S5), and by running the classification model 105, it classifies the defects shown in the defective cell group 300 (step S6) and identifies the type of defect (one of three types: ink drip, print head contamination, or print head rubbing) (step S7). In CNN classification, the probability for each class is usually output, such as "the probability of being in which class is X percent". The defect identification unit 104 takes the class with the highest probability output as the result.
[0034] The types of defects are ink drips, printhead contamination, or printhead smearing, and the corrective action differs depending on the type of defect. "Ink drips" are caused by ink dripping from the printhead and adhering to the paper, and can be prevented by adjusting the printhead temperature. "Printhead contamination" is caused by dirt on the printhead adhering to the paper, and can be resolved by cleaning the printhead. "Printhead smearing" is caused by the printhead contacting the paper and dragging the ink across the surface, and can be resolved by reloading the paper.
[0035] Classification, used to categorize defects in printed materials according to their type, is a task of classifying given data into predefined categories (classes). Therefore, it is necessary to consider which type of defect it is (= which class it belongs to), with each type of defect being considered as a separate class. Since the subject of classification is an image, it falls under the field of image recognition. Image recognition is a technique for identifying and classifying specific objects, patterns, and features from images and videos. Classification in image recognition is a task of classifying input images into specific categories and is one of the methods used in the fields of data analysis and machine learning. In recent years, Convolutional Neural Networks (CNNs), which have achieved particularly remarkable results in image recognition classification, can be used. A CNN is a deep learning model that automatically extracts features from the pixel information of an image and performs classification. The basic structure of a CNN mainly consists of convolutional layers, pooling layers, and fully connected layers. The convolutional layer extracts local features of the image and performs convolution operations while sliding across the entire image using filters. The pooling layer reduces the size of the feature map, lowers the computational cost, and ensures positional invariance. The fully connected layer is the part that performs the final classification based on the extracted features.
[0036] CNNs excel at capturing the spatial features of images. Since defects vary in shape and location, this ability to capture spatial features is particularly effective. Furthermore, because CNNs automatically extract features for classification, there's no need to manually design features like with traditional image processing methods. For example, CNNs are effective when there are various types of defects in printed materials, making it difficult to determine in advance which features to extract.
[0037] In recent years, various CNN architectures have been proposed, demonstrating high performance in image recognition classification. One such architecture is EfficientNetV2. EfficientNet has achieved good results in classification and is a model that balances efficiency and accuracy. Traditionally, it was common to scale only one of the model's depth, width, or resolution, but EfficientNet optimizes the balance between efficiency and accuracy by scaling these elements integrally. Scaling refers to the process of adjusting the size and complexity of a model to optimize it. EfficientNet employs a composite scaling method that proposes uniformly scaling all three dimensions at a fixed ratio. EfficientNetV2 is a model that further improves upon EfficientNet's performance through additional refinements.
[0038] Training this CNN model enables classification. CNN training is the process by which the model extracts features from input data, makes predictions based on those features, and adjusts the model's parameters to minimize the error between the prediction and the actual label (the correct classification). First, the input data is processed as it passes through each layer of the network, ultimately generating an output. Specifically, the input data sequentially passes through layers called convolutional layers, activation layers, pooling layers, and fully connected layers, where features are extracted and transformed, and finally, the fully connected layer makes a classification prediction. Next, the error (loss) between the resulting prediction output and the actual label is calculated. This loss is an indicator of how accurate the model's prediction is. Subsequently, the parameters are updated in a direction that minimizes the loss. The above process is repeated in units called epochs. An epoch refers to passing the entire training data through the model once, and by repeating epochs, the model gradually optimizes its parameters and improves its prediction accuracy. Furthermore, while CNN models have numerous settings called hyperparameters that control the model's learning process and structure, it is not necessary to change any hyperparameters other than the number of epochs.
[0039] To learn efficiently, transfer learning is employed. Transfer learning is a technique that applies knowledge or models learned on one task to another related task. It utilizes an existing pre-trained model, adds layers specific to the new task on top of it, and retrains it. This makes learning on the new task more efficient and reduces the amount of data and computational resources required. For example, the EfficientNetV2 model, which has already been trained on a dataset called ImageNet, is retrained with images of three types of defects (ink smudges, printhead stains, or printhead scratches). This allows the model to classify the three types of defects. Once trained, CNNs do not need to be trained for each type of printed material, making them well-suited for inkjet printing, which can handle small batches and a wide variety of products. New types of defects can also be handled by adding training data.
[0040] 5. Conclusion Patent documents 1 and 2 only allow us to determine the quality of the captured image, i.e., the quality of the printed material. After a defect is discovered, the cause of the defect must be addressed manually. Defect handling is particularly important in production machines where high quality is required, and automation of this process is highly anticipated.
[0041] In contrast, this embodiment establishes a technology for checking and classifying defects, enabling the identification of defects and the automatic determination of their causes and countermeasures. Specifically, it combines two technologies: image comparison and class classification. This embodiment uses a pattern matching technology called image comparison to check for defects in printed materials. If a defect is found in the printed material, that portion is cut out, and the defect can be classified into three types by class classification. This embodiment makes it possible to detect defects in printed materials and classify them according to the type of defect.
[0042] Although various embodiments and modifications of this technology have been described above, this technology is not limited to the embodiments described above, and various modifications can be made without departing from the gist of this technology. [Explanation of Symbols]
[0043] 10 Printed material inspection device 100 control circuits 101 Fitting section 102 Image Comparison Section 103 Cut-off section 104 Defect identification section 105 Classification Models 300 Bad cell group 301 Bad Cell 302 surrounding cells 303 Extended Cell 304 cells
Claims
1. An image comparison unit divides a digitally captured image of a printed material on a medium and a reference image of the printed material into multiple cells, compares corresponding cell pairs of the captured image and the reference image, and determines cell pairs where differences exist. A cropping unit that cuts out a group of defective cells from the captured image, which includes one or more defective cells that are paired with a cell in the reference image and have a difference from that cell, A defect identification unit inputs the group of defective cells cropped from the captured image into a classification model, and by executing the classification model, classifies the defects shown in the group of defective cells and identifies the type of defect. A printed material inspection device equipped with the following:
2. A printed material inspection apparatus according to claim 1, The group of defective cells includes multiple defective cells that are in contact with each other when one defective cell is in contact with one or more other defective cells. Print inspection device.
3. A printed material inspection apparatus according to claim 2, The group of defective cells further includes a plurality of surrounding cells that surround the one or more defective cells and have no difference from the cells in the reference image that form a pair. Print inspection device.
4. A printed material inspection apparatus according to claim 3, The group of defective cells further includes one or more extended cells that constitute the smallest rectangle, which includes a plurality of defective cells and a plurality of peripheral cells that are in contact with each other. Print inspection device.
5. A printed material inspection apparatus according to claim 1, The aforementioned defects include ink dripping, print head contamination, or print head smudges, and the countermeasures differ depending on the type of defect. Print inspection device.
6. A printed material inspection apparatus according to claim 1, It further includes a matching unit that aligns the positional space and brightness of the captured image and the reference image, The image comparison unit divides the captured image and the reference image, which have their positional space and brightness matched, into a plurality of cells. Print inspection device.
7. A printed material inspection apparatus according to claim 1, The cell size is 64 pixels x 64 pixels. Print inspection device.
8. The control circuit of the print inspection device executes the print inspection program, Digitized images of printed materials on a medium and reference images of the printed materials are divided into multiple cells, corresponding cell pairs of the captured images and reference images are compared, and cell pairs with differences are identified. A group of defective cells, including one or more defective cells that are paired with a cell in the aforementioned reference image and have a difference from said cell, is cut out from the captured image. The group of defective cells extracted from the captured image is input into a classification model, and by running the classification model, the defects shown in the group of defective cells are classified into classes and the type of defect is identified. Print inspection methods.
9. The control circuit of the printed material inspection device, An image comparison unit divides a digitally captured image of a printed material on a medium and a reference image of the printed material into multiple cells, compares corresponding cell pairs of the captured image and the reference image, and determines cell pairs where differences exist. A cropping unit that cuts out a group of defective cells from the captured image, which includes one or more defective cells that are paired with a cell in the reference image and have a difference from that cell, Defect Identification Unit: Inputs the group of defective cells extracted from the captured image into a classification model, and by executing the classification model, classifies the defects shown in the group of defective cells and identifies the type of defect. A print inspection program that operates as such.
Citation Information
Patent Citations
Printed matter defect detection system and printed matter defect detection program
JP2024089294A
Printed matter defect detection system and printed matter defect detection program
JP2024089296A
