Inspection device and inspection method

JP2023034478A5Active Publication Date: 2024-08-30CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2021140733
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-08-31
Publication Date
2024-08-30
Estimated Expiration
2041-08-31

AI Technical Summary

Technical Problem

Existing inspection devices incorrectly judge printed matter as defective when the inspection area is intentionally blank, leading to unnecessary discontinuation of printing.

Method used

The inspection device determines if the inspection area is blank and, if so, checks against correct answer data to output a test result as OK if the data is correct, rather than automatically failing the test.

Benefits of technology

This approach allows for accurate differentiation between intentional blanks and actual defects, preventing unnecessary printing disruptions.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

To solve a problem in which, conventionally, when an inspection area where a bar code or the like is to be printed is blank, the inspection result is always NG.SOLUTION: When an image of an inspection area is blank and the image of the inspection area is subjected to collation inspection with correct data, it is determined whether the correct data is blank, and when the correct data is determined to be blank, the inspection result of the inspection area is output as OK, and when it is determined that the correct data is not blank, the inspection result of the inspection area is output as NG.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an inspection device for inspecting the print quality of printed matter.

Background Art

[0002] In recent years, a printing system has been known in which a sheet printed by a printing device can be inspected by an inspection device during conveyance. In the inspection of a printed sheet, the inspection device reads an image of the conveyed printed sheet, and determines whether the printed sheet is normal by image analysis of the read image. The inspection device can detect, for example, missing barcodes or ruled lines, missing images, printing defects, missing pages, color misregistration, etc.

[0003] There are two types of inspections related to print data in such a printing system.

[0004] (1) An inspection (hereinafter referred to as a reading inspection) that outputs an inspection result report with an inspection NG when a code image (barcode or two-dimensional code) cannot be read (decoded). This is used when only the report is desired for a subsequent machine or when the correct data is not available.

[0005] (2) An inspection (hereinafter referred to as a collation inspection) in which correct data is prepared in advance and collated with the reading result of a code image (barcode or two-dimensional code), and an inspection NG is set for those with different collation results. In the collation inspection, an NG is issued when the code image has become another code, etc., so printed matter below a certain level can be treated as NG.

[0006] Furthermore, some variable data printing deliverables have barcodes where nothing should be placed in the barcode area (hereinafter referred to as blank). When a blank area is found during barcode area reading, possible causes include missing data or the correct answer being a blank space. Printed materials with blank spaces need to be distinguished between those where the correct answer is a blank space and those where the blank space is due to missing data. Patent Document 1 discloses that if the inspection area is blank, the inspection should always be marked as NG, subsequent printing should be stopped, and the user should be prompted to check the print data. [Prior art documents] [Patent Documents]

[0007] [Patent Document 1] Japanese Patent Publication No. 2021-53819 [Overview of the Initiative] [Problems that the invention aims to solve]

[0008] In Patent Document 1, if the inspection area is blank, the inspection result is always incorrect. Therefore, in Patent Document 1, even if the user intentionally leaves the area blank when printing, the inspection will still be judged as incorrect. [Means for solving the problem]

[0009] To solve the above problems, the inspection apparatus of the present invention is characterized by comprising: a determination means for determining whether the correct data is blank when the image of the inspection area is blank and a comparison inspection is performed on the image of the inspection area with correct data; and an output means for outputting the inspection result of the inspection area as OK if the determination means determines that the correct data is blank, and outputting the inspection result of the inspection area as NG if the determination means determines that the correct data is not blank. [Effects of the Invention]

[0010] According to the present invention, instead of always classifying a blank area as NG (Not Good), the correct answer data can be referenced, and if it can be determined that the blank area is correct, the test result can be treated as OK (Good). [Brief explanation of the drawing]

[0011] [Figure 1] A schematic diagram showing the configuration of an information processing device, an inspection device, and a printing device. [Figure 2] A block diagram showing the configuration of an information processing device, an inspection device, and a printing device. [Figure 3] A diagram showing the internal configuration of the information processing unit, inspection unit, printing device, and high-capacity stacker. [Figure 4] Flowchart of the entire inspection process. [Figure 5] A diagram showing the inspection settings screen. [Figure 6] A diagram showing the inspection screen. [Figure 7] A flowchart illustrating the inspection process. [Figure 8] A diagram showing the inspection settings screen in the second embodiment. [Figure 9] A flowchart illustrating the inspection process in the second embodiment. [Modes for carrying out the invention]

[0012] The embodiments for carrying out the present invention will be described below with reference to the drawings. Note that the following embodiments are not intended to limit the invention as defined in the claims, and not all combinations of features described in the embodiments are necessarily essential to the solution of the invention.

[0013] [First Embodiment] Figure 1 is a schematic diagram showing the configuration of the information processing device, inspection device, and image forming device in this embodiment. Although this embodiment uses an electrophotographic image forming device for explanation, the image forming device in this embodiment may be an image forming device using a different image forming method, such as an inkjet or offset method.

[0014] The image forming apparatus 0101 is connected to the information processing apparatus 0109 via a communication cable 0112. The information processing apparatus 0109 is connected to the client computer 0110 and the inspection apparatus 0108 via a network 0113. The image forming apparatus 0101 includes a UI panel 0102, a paper feed deck 0103, and a paper feed deck 0104. Further, an optional deck 0105 consisting of a three-stage paper feed deck is connected. The image forming apparatus 0101 is, for example, an electrophotographic image forming apparatus. The UI panel 0102 is a user interface including, for example, a capacitive touch panel.

[0015] Furthermore, the image forming apparatus 0101 includes an inspection unit 0106 and a large-capacity stacker 0107. The inspection unit is connected to the inspection apparatus 0108 via a communication cable 0114. The large-capacity stacker 0107 includes a main tray and a top tray, and thousands of sheets of paper can be stacked in the main tray at once.

[0016] The print job is generated by the client computer 0110, transmitted to the information processing apparatus 0109 via the network 0113, and managed by the information processing apparatus 0109. Then, the print job is transmitted from the information processing apparatus 0109 to the image forming apparatus 0101 through the communication cable 0112, and the image forming apparatus 0101 performs a process of printing on paper based on the received print job. Note that the print job may be generated and managed by the information processing apparatus 0109, transmitted to the image forming apparatus 0101 via the network 0112, and managed by the image forming apparatus 0101.

[0017] All of the client computer 0110, the information processing apparatus 0109, and the inspection apparatus 0108 may be configured to communicate with the image forming apparatus 0101 via a communication cable. That is, the connection form of the image forming apparatus 0101, the information processing apparatus 0109, and the client computer 0110 shown in this embodiment is an example, and it is needless to say that there are various connection forms other than those shown in this embodiment.

[0018] FIG. 2 is a block diagram showing the control configuration of the image forming apparatus 0101, the inspection apparatus 0108, the large-capacity stacker 0107, the information processing apparatus 0109, and the client computer 0110 of the present embodiment.

[0019] A CPU (Central Processing Unit / Central Arithmetic Unit) 0201 controls and performs arithmetic operations on each part within the image forming apparatus 0101 via a system bus 0212. The CPU 0201 functions as a processing unit that executes each of the processes described later by executing a program stored in a computer-readable storage unit 0205 and loaded into a RAM (Random Access Memory) 0202. The RAM 0202 is a kind of general-purpose volatile storage device that can be directly accessed from the CPU 0201, and is used as a work area of the CPU 0201 or other temporary data storage area. The storage unit 0205 further functions as a temporary storage area and a work memory when the image forming apparatus operates. An engine I / F 0209 communicates with a printer engine 0210. A paper feed deck I / F 0204 communicates with a paper feed deck 0211. The paper feed deck 0211 functions as a processing unit that executes each of the processes described later by collectively referring to the paper feed decks 0103 and 0104 and the option deck 0105 as a hardware configuration. A UI panel 0203 is a hardware configuration of the UI panel 0102 and is a user interface for performing general operations of the image forming apparatus 0101. In the present embodiment, the UI panel 0203 is provided with a capacitive touch panel.

[0020] Network interface (hereinafter referred to as NW I / F) 0207 is connected to NW I / F 0238 of information processing device 0109 via communication cable 0213 and is used for communication between information processing device 0109 and image forming apparatus 0101. In this example, interfaces (0207, 0238) connected to system buses (0212, 0239) are directly connected to each other, but this is not the only option. For example, information processing device 0109 and image forming apparatus 0101 may be connected via a network such as a LAN, and the connection format is not limited. Video I / F 0206 is connected to video I / F 0233 via video cable 0241 and is used for communication of image data between information processing device 0109 and image forming apparatus 0101. The connection interface between information processing device 0109 and image forming apparatus 0101 may be a form that integrates the functions of NW I / F 0238 and video I / F 0233. Furthermore, the connection interface between the image forming apparatus 0101 and the information processing apparatus 0109 may take the form of integrating the functions of the NW I / F 0207 and the video I / F 0206.

[0021] Accessory I / F 0208 connects to accessory I / F 0214 and accessory I / F 0220 via communication cable 0225. That is, the image forming apparatus 0101 can communicate with the inspection unit 0106 and the large capacity stacker 0107 via accessory I / F 0208, 0214, and 0220.

[0022] CPU0216 controls and performs calculations on various parts of the inspection unit 0106 via the system bus 0219. CPU0216 functions as a processing unit that executes the processes described later by running programs stored in the computer-readable memory unit 0247 and loaded into RAM0217. RAM0217 is a type of general volatile memory that can be directly accessed from CPU0216 and is used as the CPU0216's work area or other temporary data storage area. Memory unit 0247 functions as a temporary storage area and work memory during inspection device operation. Inspection device I / F0215 connects to inspection device unit I / F0231 via communication cable 0248. That is, inspection unit 0106 is used for communication with inspection device 0108 via inspection device I / F0215 and inspection device unit I / F0231. The imaging unit 0218 is equipped with an imaging function (scanning function), such as a contact image sensor (hereinafter referred to as CIS), and transmits the image generated by imaging (reading and scanning) the paper passing through the inspection unit to the inspection device 0108 via the inspection device I / F 0215. Note that the CIS equipped in the imaging unit 0218 is just one example of a sensor, and other types of sensors such as CCD image sensors may also be used, and the imaging method (scanning method) is not limited.

[0023] CPU0220 controls and performs calculations on various parts of the large-capacity stacker 0107 via the system bus 0224. CPU0220 functions as a processing unit that executes the processes described later by running programs stored in the computer-readable memory unit 0248 and loaded into RAM0222. RAM0222 is a type of general volatile memory that can be directly accessed from CPU0221 and is used as the work area or other temporary data storage area of ​​CPU0221. Paper output unit 0223 performs paper output operations to the main tray and top tray, and monitors and controls the loading status of the main tray and top tray, respectively.

[0024] The CPU 0226 of the inspection device 0108 controls and performs calculations on various parts of the inspection device 0108 via the system bus 0230. The CPU 0226 functions as a processing unit that executes the processes described later by running programs stored in the computer-readable memory unit 0228 and loaded into the RAM 0227. RAM 0227 is a type of general volatile memory that can be directly accessed by the CPU 0226 and is used as the CPU 0226's work area or other temporary data storage area. The memory unit 0228 functions as a temporary storage area and work memory when the inspection device is operating. The PDL analysis unit 0229 reads PDL data such as PDF, PostScript, and PCL received from the client computer 0110 or the information processing device 0109 and performs interpretation processing. The display unit 0245 is, for example, a liquid crystal display connected to the inspection device and accepts user input to the inspection device and displays the status of the inspection device.

[0025] The CPU 0234 of the information processing device 0109 controls and performs calculations on various parts within the information processing device 0109 via the system bus 0239. The CPU 0234 functions as a processing unit that executes the processes described later by running programs stored in the computer-readable memory unit 0236 and loaded into the RAM 0235. The RAM 0235 is a type of general volatile memory that can be directly accessed by the CPU 0234 and is used as the CPU 0234's work area or other temporary data storage area. The memory unit 0236 functions as a temporary storage area and work memory during the operation of the information processing device. The network interface (hereinafter referred to as NW I / F) 0237 is connected to NW I / F 0232 and 0240 via the network. The information processing device 0109 communicates with the inspection device 0108 via NW I / F 0237 and NW I / F 0232. Furthermore, the information processing device 0109 communicates with the client computer 0110 via the NW I / F 0237 and NW I / F 0240.

[0026] The CPU 0243 of client computer 0110 controls and performs calculations on various parts of client computer 0110 via the system bus 0246. The CPU 0243 functions as a processing unit that executes the processes described later by running programs stored in the computer-readable memory unit 0245 and loaded into RAM 0242. RAM 0242 is a type of general volatile memory that can be directly accessed by the CPU 0243 and is used as the CPU 0243's work area or other temporary data storage area. Memory unit 0244 functions as a temporary storage area and work memory when the client computer is operating.

[0027] Figure 3 shows the internal configuration of the printing device 0101, the inspection unit 0106, and the large-capacity stacker 0107. The printing device 0101 accepts user input via the UI panel 0102 and displays the printing and device status. Various types of paper can be stored in the paper feed decks 0103 and 0104. Each paper feed deck can separate only the top sheet of paper stored and transport it to the paper transport path 0305. 0301 to 0304 are developing stations, where colored toners Y, M, C, and K are used to form a toner image in order to create a color image. The toner image formed here is first transferred to the intermediate transfer belt 0306. The intermediate transfer belt 0306 rotates clockwise, and at the secondary transfer position 0307, ​​the toner image is transferred to the paper transported from the paper transport path 0305. The fuser unit 0308 is equipped with a pressure roller and a heating roller. As the paper passes between these rollers, the toner is melted and pressed, fixing the toner image to the paper. After passing through the fuser unit 0308, the paper is transported to 0312 via the paper transport path 0309. If further melting and pressing are required for fixing depending on the type of paper, after passing through the fuser unit 0308, the paper is transported to the second fuser unit 0310 using the paper transport path above, where additional melting and pressing are performed, and then the paper is transported to 0312 via the paper transport path 0311. If the image formation mode is double-sided, the paper is transported to the paper inversion path 0313, where it is inverted, and then transported to the double-sided transport path 0314, where the second image transfer takes place at the secondary transfer position 0307.

[0028] Inside the inspection unit 0106, CIS0315 and 0316 are arranged facing each other. CIS0315 is a sensor for reading the top surface of the paper, and CIS0316 is a sensor for reading the bottom surface of the paper. When the paper transported on the paper transport path 0317 reaches a predetermined position, the inspection unit 0106 scans the paper using CIS0315 and 0316. The image generated by the scan is transmitted to the inspection device 0108 via the inspection device I / F 0215 and the inspection unit I / F 0231. The CPU 0226 of the inspection device 0108 determines whether the received image has defects and notifies the inspection unit 0106 of the result via the inspection unit I / F 0231 and the inspection device I / F 0215. The CPU 0216 of the inspection unit notifies the high-capacity stacker 0107 of the received determination result via the accessory I / F 0214 and 0220.

[0029] The high-capacity stacker 0107 is capable of stacking large amounts of paper. The high-capacity stacker 0107 has a main tray 0324 as a tray for stacking paper. Paper that has passed through the inspection unit 0106 enters the high-capacity stacker 0107 via the paper transport path 0319. Paper that has been determined to be printed normally by the inspection device 0108 is loaded onto the main tray 0324 via the paper transport path 0322 from the paper transport path 0319. Furthermore, the high-capacity stacker 0107 has a top tray 0320 as an output tray. The CPU 0221 controls the paper to be discharged to the top tray 0320 if a defect is detected by the inspection device 0108. When outputting to the top tray 0320, the paper is transported from the paper transport path 0319 to the top tray 0321. 0323 is a reversing unit for inverting the paper. This reversing unit 0323 is used when stacking paper onto the main tray 0324. To ensure that the orientation of the incoming paper matches the orientation of the paper when it is loaded, the paper is flipped once in the flipping unit 0323 when loading it into the main tray 0324. When transporting to the top tray 0320, the paper is ejected without being flipped during loading, so the flipping operation in the flipping unit 0323 is not performed.

[0030] The following flowchart and screen examples will be used to explain the processes that are characteristic of the present invention. The program for the image forming apparatus related to this flow is stored in the memory unit 0205 of the image forming apparatus 0101, read into RAM 0202, and executed by CPU 0201. The program for the inspection apparatus related to this flow is stored in the memory unit 0228 of the inspection apparatus 0108, read into RAM 0227, and executed by CPU 0226. The program for the information processing apparatus related to this flow is stored in the memory unit 0236 of the information processing apparatus 0109, read into RAM 0235, and executed by CPU 0234. The program for the client computer related to this flow is stored in the memory unit 0245 of the client computer 0110, read into RAM 0242, and executed by CPU 0243.

[0031] The entire process, from the reference registration process before the start of the test to the execution of the test, is explained using the flowchart in Figure 4.

[0032] First, in step S401, the user registers a reference image to be used as the basis for inspection. First, the client computer 0110 executes a print job for reference image registration to generate the reference image. Then, the inspection device 0108 reads and registers the generated reference image.

[0033] Next, in step S402, the user configures the inspection settings, including various inspection parameters, inspection areas, and inspection levels. Details will be described later.

[0034] Next, in step S403, the printouts printed by the image forming apparatus 0101 are inspected by the inspection device 0108. Specifically, a print job for generating the printouts to be inspected is generated in the client computer 0110 and sent to the information processing device 0109 for management. When the image forming apparatus 101 executes this print job and outputs the printed paper, the inspection unit 0106 detects the transport of the printed paper, scans the paper with CIS 0315 and 0316, and saves the scanned image to the RAM 303 of the inspection device 0108. The inspection device checks whether the printouts are normal by comparing the saved scanned image with a reference image and outputs the inspection result. The inspection is performed based on the settings specified by the user in the inspection settings. Based on this inspection result, the large-capacity stacker 0107 can eject any printed paper determined to be defective to a separate tray.

[0035] Next, the details of the S402 inspection settings will be explained using Figure 5. The inspection settings are started by selecting the reference image registered in the reference registration.

[0036] 0501 is the preview display area where the reference image is displayed. If the reference image was generated based on a multi-page print job, the reference images for each page can be displayed sequentially in response to the operation of switching the previewed reference image.

[0037] 0502 is a frame that indicates the inspection area placed on the preview. The inspection area is placed using the inspection area placement button 0503. For example, after the user presses the inspection area placement button 0503, they select the type of inspection area from the displayed pull-down menu, and then select the area they want to specify as the inspection area on the preview display screen 0501 by dragging with the mouse, thereby accepting the operation to place the inspection area. In addition, the user can select the inspection area with a mouse click, and change its size and position with a mouse drag operation. 0502 shows an example of placing an inspection area for inspecting QR codes (registered trademark).

[0038] 0504 is a setting item that allows you to select the data for matching and verification using a file selection method. The data for matching and verification is a reference CSV file that stores the correct data to be used when performing data matching and verification. The reference CSV file is a file that the user must prepare in advance when performing matching and verification, and it lists the correct strings for string verification and the correct strings for decoding 2D codes (or barcodes). When data verification is executed, the OCR results of string images and the decoding results of code images (2D codes or barcodes) are compared with the correct strings listed in the reference CSV file.

[0039] 0505 is a setting item for the selected area, and the individual setting values ​​for the inspection area selected by clicking on the preview display area 0501 are displayed.

[0040] 0506 is the setting for the page range. By pressing each button, the user can specify the range of pages on which the selected inspection area will be inspected. If nothing is selected, the selected inspection area will only be placed on the page currently displayed in the preview screen. If "Same side as current page" is selected, the selected inspection area will also be placed on other pages on the same side (front or back) of the sheet, depending on whether the selected inspection area is located on the front or back of the sheet. If "All pages" is selected, the selected inspection area will be placed on all pages, regardless of whether they are on the front or back of the sheet.

[0041] Figure 5, item 0507, shows the barcode inspection settings displayed when inspection area 0502 is selected. For each inspection area, you can set the angle of the inspection area, the type of code image (2D code or barcode), and the inspection number. The angle of the inspection area can be set in 90-degree increments. The inspection number is a sequential number used to uniquely identify the inspection area and is automatically assigned when an inspection area is created using the inspection area placement button 0503 to avoid overlapping with other inspection areas.

[0042] 0508 is a setting item for whether or not to perform a matching check. By checking the checkbox, the check setting can be changed to a matching check, and the decoding result or character recognition result of the check area will be compared with the data stored in the reference CSV. If the checkbox is not checked, it will be automatically set to a read check. 0509 is an item that sets which column of the reference CSV to compare with during the matching check. This item is only active when the matching check checkbox 0508 is checked, and is used to identify the correct data for the check area when checking the check area. For example, if 1 is entered, the correct data for the area selected in check area 0502 is written in the first column of the reference CSV file.

[0043] 0510 is the inspection settings completion button. When the user presses it, the inspection settings are completed, saved to the storage unit 0228, and the inspection settings process ends. For read inspections, the inspection settings are saved to RAM 0217 after setting the inspection area 0502, area setting item 0505, and page range setting item 0506, and then pressing the completion button 0510. For matching inspections, the inspection settings are saved to RAM 0217 after setting the inspection area 0502, area setting item 0505, and page range setting item 0506, and then pressing the completion button 0510 with the reference CSV file 0504, checkbox 0508, and matching column 0509 entered. If there are inconsistencies in the inspection settings, the inspection settings completion button 0510 may be disabled so that it cannot be pressed. An example of an inconsistency in the inspection settings is that an inspection area exists for performing a matching inspection, but the setting item 0504 for the matching inspection data is not set. Also, 0511 is the inspection settings cancel button. When the user presses the cancel button, the inspection settings are discarded and the inspection setting process is terminated.

[0044] Next, the details of the inspection process will be explained using the flowcharts in Figures 6 and 7. The inspection process begins when the inspection settings stored in RAM0217 are selected and the inspection device 0108 enters an inspection standby state.

[0045] In Figure 6, 0601 is the start / stop test button that changes the state of CPU0226. When CPU0226 is in the non-test state, pressing it will transition CPU0226 to the test standby state and start the test. When CPU0226 is in the test standby state, pressing it will transition CPU0226 to the non-test state and stop the test.

[0046] 0602 is an inspection area display that allows you to preview the inspection area of ​​the currently selected inspection settings.

[0047] 0603 is a list of inspection results that displays the inspection results. It can identify the areas where an NG (Not Good) occurred during the inspection. The list of inspection results displays the "Inspection No." indicating which inspection area on the page it is, the "Page No." indicating which page it is, the "Part No." indicating which part it is, and the "Side No." indicating whether it is the front or back. Furthermore, for the inspection area where the NG occurred, it displays the decoding result (recognition result) and the matching result indicating whether the matching was successful. Note that in the case of read inspection, the matching result column does not display any results.

[0048] Button 0604 is the inspection process completion button. When the user presses it, the inspection process is completed, the inspection results are saved to the storage unit 0228, and the inspection process is terminated. If the CPU 0226 is performing an inspection, the inspection process completion button 0604 may be disabled so that it cannot be pressed.

[0049] Figure 7 shows the processing performed by the inspection device 0108 when the inspection process is started. Upon receiving the operation of the inspection start / stop button 0601 from the inspection screen displayed on the UI panel 0203, the CPU 0226 enters an inspection standby state and executes various processes for performing the inspection.

[0050] In S0701, CPU0226 retrieves inspection job information from RAM0227 and stores it in memory unit0228. The inspection job information represents a dataset including the inspection settings, the reference image, and the reference CSV file.

[0051] In S0702, CPU0226 receives inspection images from the inspection unit via inspection unit I / F0231.

[0052] In S0703, CPU0226 extracts all inspection areas from the inspection image received in S0702 based on the inspection settings read in S0701, and writes the extracted inspection area images to memory unit 0228.

[0053] In S0704, CPU0226 performs a blankness determination on the extracted inspection area to determine whether it is empty or not. CPU0226 divides the inspection area into multiple blocks and calculates a histogram of pixel values ​​for each block. If there is a block with a protruding pixel value histogram, it is determined that an object exists; otherwise, it is determined that the area is empty. The method of blankness determination is just one example, and there are various other forms besides those shown in this embodiment. If it is empty, proceed to S0708; if it is not empty, proceed to S0705.

[0054] In step S0705, CPU0226 decodes (recognizes) the object printed in the inspection area and writes the decoding result to storage unit 0228. Furthermore, if the inspection setting is a comparison inspection, it compares the decoding result with the reference CSV file (correct answer data).

[0055] In S0706, CPU0226 branches the process based on the decoding and matching results from S0705. If the decoding result matches the correct data, the process proceeds to S0707. On the other hand, if the matching results do not match, or if decoding itself fails, the process proceeds to S0710.

[0056] In S0707, CPU0226 writes the decoded result, the verification result, and the inspection number, page number, section number, and face number to RAM0226 as "Inspection OK".

[0057] In S0708, CPU0226 determines from the inspection job information obtained in S0701 whether the inspection area is subject to a matching inspection or a read inspection. If it is a read inspection, the read result is blank, so the process proceeds to S0707. If it is a matching inspection, the process proceeds to S0709.

[0058] In S0709, CPU0226 reads the correct answer data for the inspection area from the inspection job information obtained in S0701. If the corresponding section of the read correct answer data is blank, the correct answer data is blank, which matches the "blank" determination in S0704, so the process proceeds to S0707. On the other hand, if the corresponding section of the read correct answer data is written, the correct answer data is not blank, which does not match the "blank" determination in S0704, so the process proceeds to S0710.

[0059] In S0710, if the decoding result or matching result is NG, CPU0226 writes the inspection number, page number, section number, and face number of the inspection area to RAM0226 as inspection NG. Furthermore, CPU0226 displays the inspection number, page number, section number, face number, decoding result, and matching inspection result of the area where the inspection NG occurred in inspection result display table 0603.

[0060] In S0711, CPU0226 communicates to the inspection unit via inspection unit I / F0231 whether the test results written in S0707 and S0710 were OK or NG.

[0061] In S0712, if CPU0226 receives confirmation that the inspection process is complete (0604) and completes the inspection process, the inspection ends. If the inspection process is not completed (0604), the process proceeds to S0702 and the above inspection is repeated. Note that the decision to continue the inspection is not limited to the pressing of the inspection process completion button; it may also be determined by setting a predetermined number of items to be inspected and checking if that number has been reached.

[0062] Thus, in the inspection area of ​​a code image (barcode or 2D code), instead of always classifying the inspection result as NG if the inspection area is blank, the inspection result can be classified as OK if it can be determined that the blank area is correct by referring to the correct answer data.

[0063] [Second Embodiment] The second embodiment will be explained using the flowcharts in Figures 8 and 9. In the second embodiment, the user can select whether to consider the read inspection OK or NG when a blank space is read during the read inspection process. Note that the explanation of parts common to the previously described embodiment will be omitted.

[0064] Figure 8 shows the display unit 0245 of the second embodiment when setting inspection settings for the inspection device 0108.

[0065] If the 0801 checkbox is checked, the "flag to always treat code images as failing inspection when the inspection area is blank during read inspection" will be turned ON, added to the inspection settings, and saved to RAM0227.

[0066] Figure 9 is a flowchart in a second embodiment showing the processing in the inspection device 0108 when the inspection process is started for the inspection device 0108.

[0067] In S0901, CPU0226 determines whether the inspection area is a matching inspection or a read inspection based on the inspection job information obtained in S0701. If it is a read inspection, proceed to S0902; if it is a matching inspection, proceed to S0709.

[0068] In S0902, CPU0226 determines whether the flag is ON in the test settings obtained in S0701. If the flag is OFF, the process proceeds to S0707; if the flag is ON, the process proceeds to S0710.

[0069] According to Embodiment 2, in the inspection area of ​​a code image (barcode or 2D code), the user can pre-set whether to treat it as an "NG" (failed) or "OK" (passed) if the inspection area is the target of the reading inspection and is blank.

[0070] [Other examples] Furthermore, the present invention can also be realized by performing the following process. This process involves supplying software (program) that realizes the functions of the above-described embodiment to a system or device via a network or a computer-readable storage medium, and the computer (or CPU, MPU, etc.) of that system or device executes the program.

Claims

1. An inspection device having an execution means for performing a comparison inspection in which a result of combining an image of an inspection area is compared with correct answer data, and a notification means for notifying a result of the inspection as a success when the comparison inspection results in a match, The notification means includes: notifying the result of the comparison inspection of the inspection area as a defective when the result of combining the image of the inspection area to be the target of the comparison inspection is blank and the correct answer data is not blank; An inspection device characterized in that when the result of combining the image of the inspection area that is the subject of the matching inspection is blank and the correct data is blank, the result of the matching inspection of the inspection area is notified as successful.

2. When a result of combining an image of the inspection area to be the target of the matching inspection is not blank and coincides with the correct answer data, the result of the matching inspection of the inspection area is notified as a success; The inspection device according to claim 1, characterized in that if the result of combining the image of the inspection area to be subjected to the comparison inspection is not blank and does not match the correct data, the result of the comparison inspection of the inspection area is notified as a defective.

3. The execution means is capable of executing a reading inspection to confirm whether an image in the inspection area is readable, The inspection device according to claim 1 or 2, characterized in that when the result of combining the image of the inspection area is blank and the reading inspection of the image of the inspection area is performed, the notification means notifies the inspection result of the inspection area as successful.

4. The method further includes a setting unit for setting whether or not to notify the inspection result as a defective result when the result of combining the image of the inspection area is blank and the reading inspection of the image of the inspection area is performed, When the result of combining the image of the inspection area is blank, and the setting means is set to notify the inspection result as a defective, and the reading inspection is performed on the image of the inspection area, the notifying means notifies the inspection result of the inspection area as a defective, The inspection device according to claim 3, characterized in that when the result of combining the image of the inspection area is blank, and when the setting means has not been set to notify the inspection result as a failure, and when the reading inspection is performed on the image of the inspection area, the notification means notifies the inspection result of the inspection area as a success.

5. An inspection device as described in any one of claims 1 to 4, characterized in that the inspection area is an area within a scanned image obtained by reading a printed material.

6. An inspection device as described in any one of claims 1 to 5, characterized in that the notification means notifies multiple inspection results of the comparison inspection in a list.

7. The image of the inspection area is a two-dimensional code or a blank space, 7. The inspection device according to claim 1, wherein the correct answer data is a reading result of the two-dimensional code or a blank space.

8. An inspection system having an execution means for performing a comparison inspection in which a result of combining an image of an inspection area is compared with correct answer data, and a notification means for notifying a result of the inspection as a success when the comparison inspection matches, The notification means includes: notifying the result of the comparison inspection of the inspection area as a defective when the result of combining the image of the inspection area to be the target of the comparison inspection is blank and the correct answer data is not blank; An inspection system characterized by notifying the result of the matching inspection of the inspection area as successful when the result of combining the image of the inspection area to be subjected to the matching inspection is blank and when the correct data is blank.

9. The notification means: notifying the result of the comparison inspection of the inspection area as a success when the result of combining the image of the inspection area to be the target of the comparison inspection is not blank and coincides with the correct answer data; The inspection system according to claim 8, characterized in that if the result of combining the image of the inspection area to be subjected to the comparison inspection is not blank and does not match the correct data, the result of the comparison inspection of the inspection area is notified as a defective.

10. The execution means is capable of executing a reading inspection to confirm whether an image in the inspection area is readable or not; The inspection system according to claim 8 or 9, characterized in that when the result of combining the image of the inspection area is blank and the reading inspection of the image of the inspection area is performed, the notification means notifies the inspection result of the inspection area as successful.

11. The present invention further comprises a setting means for setting whether or not to notify the inspection result as a defect when the result of compounding the image of the inspection area is blank and the reading inspection of the image of the inspection area is performed, When the result of combining the image of the inspection area is blank, and the setting means is set to notify the inspection result as a defective, and the reading inspection is performed on the image of the inspection area, the notifying means notifies the inspection result of the inspection area as a defective, The inspection system of claim 10, characterized in that when the result of combining the image of the inspection area is blank, and the setting means has not been set to notify the inspection result as a failure, and the reading inspection is performed on the image of the inspection area, the notification means notifies the inspection result of the inspection area as a success.

12. A reading means for reading a printed matter, 12. The inspection system according to claim 8, wherein the inspection area is an area within a scanned image obtained by reading a printed material.

13. A printing device for generating the printed matter by printing an image on a print medium, 13. The inspection system according to claim 12, wherein the reading means reads the printed matter produced by the printing means.

14. An inspection system described in any one of claims 8 to 13, characterized in that the notification means notifies multiple inspection results of the comparison inspection in a list.

15. The image of the inspection area is a two-dimensional code or a blank space, 15. The inspection system according to claim 8, wherein the correct answer data is a reading result of the two-dimensional code or a blank.