Inspection device, image formation device, control method of inspection device and program

The inspection device optimizes inspection types for each area in printed matter, addressing the challenge of completing quality evaluations within time constraints by selectively performing grade inspections, ensuring efficient and timely processing of multiple code images.

JP2024115737APending Publication Date: 2024-08-27CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023021553
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-15
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing inspection methods for printed matter, such as barcode decoding, struggle to complete quality evaluations within the limited time frame required for in-line inspections, especially when multiple code images are present.

Method used

An inspection device that sets different types of inspections for each area, including a first type and a second type with more inspection items, allowing for efficient inspection even with multiple code images by selectively performing grade inspections only when necessary.

Benefits of technology

Enables efficient inspection of printed matter with multiple code images by optimizing the type of inspection performed on each area, reducing overall inspection time without compromising quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024115737000001_ABST
    Figure 2024115737000001_ABST
Patent Text Reader

Abstract

To efficiently perform an inspection even when multiple code images are included in a printed matter.SOLUTION: An inspection device includes: setting means which sets the type of an inspection on a code image in a printed matter on which the code image is printed for each inspection region including the code image being the inspection object; acquisition means which acquires a read image obtained by reading the printed matter; and inspection means which performs the inspection of the type set by the setting means for each inspection region in the read image. The type of the inspection includes the first type and the second type with more inspection items than the inspection of the first type.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a technique for inspecting printed matter. [Background technology]

[0002] There are known methods for inspecting code images such as barcodes contained in printed matter. Patent Document 1 discloses a method for extracting a code image from a scanned image of a printed matter, and performing both a process of decoding the extracted code image and a process of evaluating the quality of the extracted code image by evaluating the presence or absence of defects. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2015-212873 A Summary of the Invention [Problem to be solved by the invention]

[0004] Inspection of printed matter usually needs to be completed within a specified time. For example, in an in-line inspection in which a printed matter is inspected from when an image is printed on paper until it is discharged, the inspection needs to be completed within the transport time from when it is printed to when it is discharged. If inspection by quality evaluation is always performed on all code images in a printed matter, as in the inspection method of Patent Document 1, it may be difficult to complete inspection of the printed matter within the specified time, for example, when there are many code images in the printed matter. [Means for solving the problem]

[0005] The inspection device disclosed herein comprises a setting means for setting a type of inspection for a code image in a printed matter on which the code image is printed, for each inspection area including the code image to be inspected, an acquisition means for acquiring a read image obtained by reading the printed matter, and an inspection means for performing the type of inspection set by the setting means for each inspection area in the read image, wherein the types of inspection include a first type and a second type having more inspection items than the first type of inspection. Effect of the Invention

[0006] According to the present disclosure, even when a printed matter contains multiple code images, inspection can be performed efficiently. [Brief description of the drawings]

[0007] [Figure 1] 1 is an overall view for explaining the configuration of a print inspection system. [Diagram 2] FIG. 2 is a block diagram for explaining a control configuration of devices constituting the print inspection system. [Diagram 3] FIG. 1 is a cross-sectional view showing a schematic configuration of an image forming apparatus. [Figure 4] FIG. 2 is a block diagram showing the functional configuration of the inspection apparatus. [Diagram 5] 11 is a flowchart illustrating a flow from a reference image registration process to an inspection execution process. [Figure 6] FIG. 4 is a diagram for explaining grades measured by a grade inspection. [Figure 7] FIG. 13 is a diagram showing an example of an examination setting screen. [Figure 8] 10 is a flowchart for explaining details of a registration process of an examination setting. [Figure 9] 10 is a flowchart for explaining details of a process for accepting an input in an examination content setting area. [Figure 10] 10 is a flowchart for explaining details of an inspection process. [Figure 11] 6 is a flowchart for explaining a grade inspection for an inspection area of ​​an inspection target. [Figure 12] 11 is a flowchart for explaining a decode inspection for an inspection area of ​​an inspection target. [Figure 13] FIG. 13 is a diagram showing an example of an examination setting screen. [Figure 14] 6 is a flowchart for explaining a grade inspection for an inspection area of ​​an inspection target. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, embodiments for carrying out the technology of the present disclosure will be described with reference to the drawings. Note that the following embodiments do not limit the technology according to the claims, and not all of the combinations of features described in the following embodiments are necessarily essential to the solution of the technology of the present disclosure.

[0009] <Embodiment 1> [System Configuration] 1 is an overall view for explaining the configuration of a print inspection system in this embodiment. The print inspection system in this embodiment has an information processing device 109, an inspection device 108, and an image forming device 101. The image forming device 101 and the information processing device 109 are connected to each other via a cable 112. The information processing device 109, a client computer 110, and the inspection device 108 are connected to each other via a network 113.

[0010] The image forming apparatus 101 has a printing unit 111, an inspection unit 106, and a large-capacity stacker 107. The image forming apparatus 101 of this embodiment is composed of devices having a plurality of different functions, and is configured to be capable of complex printing processes such as bookbinding.

[0011] The printing unit 111 has a UI panel 102, paper feed decks 103 and 104, and is further connected to an option deck 105 consisting of three paper feed decks. The UI panel 102 is, for example, a user interface equipped with a capacitive touch panel. The printing unit 111 of this embodiment will be described as a printing device having an electrophotographic printing unit, but the printing unit 111 may be a printing device having a printing unit of another type, such as an inkjet type or an offset type.

[0012] The printing unit 111 prints an image on a sheet of paper, which is a conveyed recording medium, based on the print job. The print job is transmitted from the information processing device 109 to the printing unit 111 via a cable 112.

[0013] A printer driver having a function of converting print data into a print description language that can be processed by the information processing device 109 is installed in the client computer 110. A user who issues a print instruction can generate a print job including print data from various applications via the printer driver. The generated print job is transmitted to the information processing device 109 via the network 113 and managed by the information processing device 109. Note that the print job may also be generated in the information processing device 109 and managed by the image forming device 101.

[0014] When the information processing device 109 receives a print instruction from a client computer 110, it performs data analysis and rasterization processing on the print data included in the print job, and inputs the processed print data to a print unit 111 to issue a print instruction.

[0015] The inspection unit 106 reads the paper (printed matter) printed by the printing unit 111 , and transmits the resulting read image to the inspection device 108 connected via a cable 114 .

[0016] The inspection device 108 is an inspection device 108 for inspecting whether the printed image is normal (free of defects), etc. Details of the inspection will be described later. The large-capacity stacker 107 has a main tray 324 (see FIG. 3) and a top tray 320 (see FIG. 3). The main tray 324 can hold several thousand sheets of paper at one time.

[0017] 1 is an example of a connection method between the image forming apparatus 101, the information processing apparatus 109, and the client computer 110, and various other connection methods are applicable. For example, the print inspection system may be configured such that the client computer 110, the information processing apparatus 109, and the inspection apparatus 108 are connected to the image forming apparatus 101 via a cable 112 and are capable of communicating with the image forming apparatus 101.

[0018] [Control configuration of the printing unit of the image forming device] FIG. 2 is a block diagram for explaining the control configuration of each unit included in the image forming apparatus 101, the inspection apparatus 108, the large-capacity stacker 107, the information processing apparatus 109, and the client computer 110 that constitute the print inspection system of this embodiment.

[0019] The print unit 111 of the image forming apparatus 101 includes a CPU 201, a RAM 202, a UI panel 102, a paper feed unit I / F 204, a storage unit 205, a video I / F 206, an NWI / F 207, an accessory I / F 208, and an engine I / F 209. It also includes a printer engine 210 and a paper feed unit 211. The respective components are connected via a system bus 212.

[0020] A CPU (Central Processing Unit) 201 controls each unit in the image forming apparatus 101 and performs calculations via a system bus 212. The CPU 201 also executes programs stored in a storage unit 205 by loading the programs into a RAM (Random Access Memory) 202. The RAM 202 is a type of general volatile storage device that the CPU 201 can directly access, and is used as a work area for the CPU 201 or other temporary data storage area. The storage unit 205 also functions as a temporary storage area and work memory when the print unit 111 is in operation.

[0021] An engine I / F 209 communicates with a printer engine 210 and controls the printer engine 210. A paper feed unit I / F 204 communicates with a paper feed unit 211 and controls the paper feed unit 211. The paper feed unit 211 includes paper feed decks 103 and 104 and an option deck 105.

[0022] The UI panel 102 is a user interface for performing general operations on the image forming apparatus 101. In the image forming apparatus 101, the CPU 201 receives input from a user, displays the printing or apparatus status, and the like, via the UI panel 102.

[0023] The network interface (NWI / F) 207 is connected to the NWI / F 238 of the information processing apparatus 109 via a cable 213. The NWI / F 207 performs communication between the information processing apparatus 109 and the image forming apparatus 101.

[0024] 2, the NWI / F 207 connected to the system bus 212 in the print unit 111 of the image forming apparatus 101 and the NWI / F 238 connected to the system bus 239 in the information processing apparatus 109 are shown as being directly connected to each other. Alternatively, the information processing apparatus 109 and the image forming apparatus 101 may be connected via a network or the like, and the form of connection between the information processing apparatus 109 and the image forming apparatus 101 is not limited.

[0025] The video I / F 206 is connected to a video I / F 233 of the information processing device 109 via a video cable 241, and communicates image data between the information processing device 109 and the image forming device 101. The connection interface between the information processing device 109 and the image forming device 101 may be a type that integrates the functions of the NWI / F 207 and the video I / F 206. In that case, the connection interface between the information processing device 109 and the image forming device 101 may be a type that integrates the functions of the NWI / F 238 and the video I / F 233.

[0026] The accessory I / F 208 is connected to an accessory I / F 214 of the inspection unit 106 and an accessory I / F 220 of the large-capacity stacker 107 via a cable 225. The printing unit 111, the inspection unit 106, and the large-capacity stacker 107 communicate with each other via the accessory I / Fs 208, 214, and 220, respectively.

[0027] [Control configuration of the inspection unit of the image forming device] The inspection unit 106 of the image forming apparatus 101 includes an accessory I / F 214, an inspection apparatus I / F 215, a CPU 216, a RAM 217, an imaging unit 218, and a storage unit 247. The respective components are connected via a system bus 219.

[0028] The CPU 216 controls each part in the inspection unit 106 and performs calculations via a system bus 219. The CPU 216 also executes programs stored in a storage unit 247 by loading the programs into a RAM 217. The RAM 217 is a general volatile storage device that can be directly accessed by the CPU 216, and is used as a work area for the CPU 216 or other temporary data storage areas. The storage unit 247 also functions as a temporary storage area and work memory during the operation of the inspection unit 106.

[0029] The inspection device I / F 215 is connected to an inspection unit I / F 231 of the inspection device 108 via a cable 250. The inspection unit 106 is configured to be able to communicate with the inspection device 108 via the inspection device I / F 215 and the inspection unit I / F 231.

[0030] The photographing unit 218 is a paper reading unit equipped with a conduct image sensor (hereinafter, CIS) and having a photographing function. The photographing unit 218 photographs paper (printed matter) that has been subjected to a print process and passes through the inspection unit 106. The read image photographed by the photographing unit 218 is transmitted to the inspection device 108 via the inspection device I / F 215. Note that the CIS constituting the photographing unit 218 is an example of a reading sensor, and may be another type of reading sensor such as a CCD image sensor, and the reading method (photographing method) by the photographing unit 218 is not limited.

[0031] [Control configuration of large capacity stacker of image forming device] The large-capacity stacker 107 of the image forming apparatus 101 includes an accessory I / F 220, a CPU 221, a RAM 222, a paper discharge unit 223, and a storage unit 248. The respective components are connected via a system bus 224.

[0032] The CPU 221 controls each unit in the large-capacity stacker 107 and performs calculations via a system bus 224. The CPU 221 also loads programs stored in a storage unit 248 into a RAM 222 and executes the programs. The RAM 222 is a general volatile storage device that can be directly accessed by the CPU 221 and is used as a work area for the CPU 221 or other temporary data storage areas. The storage unit 248 also functions as a temporary storage area and a work memory.

[0033] Paper discharge unit 223 performs the paper discharge operation to main tray 324 (see FIG. 3) and top tray 320 (see FIG. 3), and monitors and controls the loading status of main tray 324 and top tray 320.

[0034] [Control configuration of the inspection device] The inspection device 108 has a CPU 226, a RAM 227, a storage unit 228, a PDL analysis unit 229, an inspection unit I / F 231, an NWI / F 232, a display unit 245, and an operation unit 249. The respective components are connected via a system bus 230.

[0035] The CPU 226 controls and performs calculations on each unit in the inspection device 108 via a system bus 230. The CPU 226 also loads a program stored in a storage unit 228 into a RAM 227 and executes the program. The RAM 227 is a general volatile storage device that can be directly accessed by the CPU 226 and is used as a work area for the CPU 226 or other temporary data storage area. The storage unit 228 also functions as a temporary storage area and work memory when the inspection device 108 is operating.

[0036] The PDL analysis unit 229 receives PDL data (e.g., PDF, PostScript, PCL, etc.) that is print data transmitted from the client computer 110 or the information processing device 109, reads the received PDL data, and executes interpretation processing. Note that the PDL analysis unit 229 may be realized by hardware, or may be realized by the CPU 226 of the inspection device 108 expanding the program code stored in the storage unit 228 into the RAM 227 and executing it.

[0037] The display unit 245 is, for example, a liquid crystal display, and displays the state of the inspection device 108 to the user. The operation unit 249 is, for example, composed of a keyboard, a mouse, and a joystick, and inputs various instructions to the CPU 226 in response to operations by the user. The display unit 245 and the operation unit 249 may be configured as one body, such as a touch panel. The CPU 226 also operates as a display control unit that controls the display unit 245 and an operation control unit that controls the operation unit 249. The display unit 245 and the operation unit 249 may not be included in the inspection device 108, and may be connected to the inspection device 108 as external devices.

[0038] [Control configuration of information processing device] The information processing device 109 includes a CPU 234, a RAM 235, a storage unit 236, an NWI / F 237, and a video I / F 233. These components are connected via a system bus 239.

[0039] The CPU 234 controls each part in the information processing device 109 and performs calculations via a system bus 239. The CPU 234 also loads a program stored in the storage unit 236 into the RAM 235 and executes the program. The RAM 235 is a general volatile storage device that can be directly accessed by the CPU 234 and is used as a work area of ​​the CPU 234 or other temporary data storage area. The storage unit 236 also functions as a temporary storage area and work memory when the information processing device 109 is operating. The NWI / F 237 is connected to the NWI / F 232 of the inspection device 108 and the NWI / F 240 of the client computer 110 via a network. The information processing device 109 communicates with the inspection device 108 via the NWI / F 237 and the NWI / F 232. The information processing device 109 also communicates with the client computer 110 via the NWI / F 237 and the NWI / F 240.

[0040] [About client computer control configuration] The client computer 110 has an NWI / F 240, a RAM 242, a CPU 243, and a storage unit 244. Each of these components is connected via a system bus 246. The CPU 243 controls and performs calculations for each unit in the client computer 110 via the system bus 246. The CPU 243 also loads a program stored in the storage unit 244 into the RAM 242 and executes the program. The RAM 242 is a general volatile storage device that can be directly accessed by the CPU 243, and is used as a work area for the CPU 243 or other temporary data storage area. The storage unit 244 also functions as a temporary storage area and work memory when the client computer 110 is operating.

[0041] [About paper transport during printing] 3 is a cross-sectional view of the mechanism showing a schematic configuration of the printing unit 111, the inspection unit 106, and the large-capacity stacker 107 that constitute the image forming apparatus 101. Using FIG. 3, the transportation of paper during a printing operation and the printing processing operation by the developing station and the fixing unit included in the printer engine 210 will be described.

[0042] First, a description will be given of the paper transport and print processing operation in the printing unit 111. The paper feed decks 103 and 104 are configured to be capable of storing various types of paper, and are configured to be capable of separating the topmost sheet of paper stored therein and transporting it to the paper transport path 305.

[0043] In order to form a color image, the developing stations 301 to 304 form toner images using the color toners of Y, M, C, and K, respectively. The toner images formed here are primarily transferred to an intermediate transfer belt 306. The intermediate transfer belt 306 rotates clockwise in FIG. 3, and the toner image is transferred to a paper sheet transported from a paper transport path 305 at a secondary transfer position 307.

[0044] First fixing unit 308 is equipped with a pressure roller and a heating roller, and as the paper passes between these rollers, the toner is melted and pressed to fix the toner image to the paper. After passing through first fixing unit 308, the paper is transported through paper transport path 309 to paper transport path 312, and then transported to inspection unit 106.

[0045] Depending on the type of paper, further fusing and pressing may be required for fixing. In this case, after passing through the first fixing unit 308, the paper is transported to the second fixing unit 310 using the upper paper transport path 311. In this case, the paper is subjected to additional fusing and pressing in the second fixing unit 310, and then transported to the paper transport path 312. If the printing mode is double-sided, the paper is transported to the paper inversion path 313. After that, after being inverted by the paper inversion path 313, the paper is transported to the double-sided transport path 314, where the image is transferred to the back side of the paper by the secondary transfer position 307.

[0046] In the inspection unit 106, the CIS 315 and CIS 316, which are the photographing section 218 in this embodiment, are arranged to face each other. The CIS 315 is a photographing section (reading section) for reading the top surface (front surface) of a printed matter, which is a sheet of paper on which an image is printed by a printing process, and the CIS 316 is a reading section for reading the bottom surface (reverse surface) of the printed matter. In the inspection unit 106, the CIS 315, 316 photograph the printed matter to read it at the timing when the printed matter transported to the paper transport path 317 reaches the photographing range of the photographing section 218. The read image of the printed matter obtained by the CIS 315, 316 photographing the printed matter is transmitted to the inspection device 108 via the inspection device I / F 215 and the inspection unit I / F 231.

[0047] The CPU 226 of the inspection device 108 determines whether or not there is a defect in the printed matter based on the received read image. The result of the inspection by the inspection device 108 is notified to the inspection unit 106 via the inspection unit I / F 231 and the inspection device I / F 215. The CPU 216 of the inspection unit 106 notifies the received determination result to the large-capacity stacker 107 via the accessory I / F 214 and the accessory I / F 220.

[0048] The paper that has passed through the inspection unit 106 is transported through a paper transport path 319 to the large-capacity stacker 107. The large-capacity stacker 107 has a main tray 324 that is a tray for stacking printed matter. The printed matter is transported from the paper transport path 319 through a paper transport path 322 and stacked on the main tray 324.

[0049] Furthermore, the large-volume stacker 107 has a top tray 320 as a paper discharge tray. The top tray 320 is a paper discharge tray used for discharging printed matter that has been determined to be defective by the inspection device 108.

[0050] The CPU 221 of the large-capacity stacker 107 controls the transport of printed matter for which defects have been detected by the inspection device 108 so that the printed matter is discharged onto the top tray 320. When discharging printed matter onto the top tray 320, the printed matter is transported from the paper transport path 319 to the top tray 320 via the paper transport path 321.

[0051] Reversing unit 323 functions to reverse a printed matter. When printed matters are loaded on main tray 324 so that the orientation of the printed matters when they are brought in and the orientation of the printed matters when they are discharged are the same, reversing unit 323 can reverse the printed matters. When transporting to top tray 320, the printed matters are not transported to reversing unit 323 because they are discharged as is without being flipped when stacked.

[0052] [Functional configuration of the inspection device] 4 is a block diagram showing the functional configuration of the inspection device 108. The inspection device 108 has an acquisition unit 401, a reference image registration unit 402, a setting unit 403, an inspection unit 404, and a display control unit 405.

[0053] The acquisition unit 401 acquires a read image obtained by the inspection unit 106 reading a printed matter obtained by printing with the printing unit 111 of the image forming apparatus 101. The reference image registration unit 402 performs processing to register a reference image. The setting unit 403 sets the inspection area, which is the area to be inspected by the inspection unit 404, and the type of inspection when the inspection unit 404 performs the inspection. The inspection unit 404 performs processing to inspect whether the printed matter has defects using the read image of the printed matter. The display control unit 405 performs control to display a screen on the display unit 245, etc.

[0054] 4 are realized by the CPU 226 of the inspection device 108 expanding program codes stored in the storage unit 228 into the RAM 227 and executing the programs. Alternatively, some or all of the functions of the units in FIG. 4 may be realized by hardware such as an ASIC or an electronic circuit.

[0055] [Overall flow] FIG. 5 is a flowchart for explaining the overall flow from the registration process of a reference image before the start of inspection in the inspection device 108 to the execution of the inspection.

[0056] Of the series of processes shown in the flowchart, the processes executed by the inspection device 108 are performed by the CPU 226 of the inspection device 108 by loading program code stored in the storage unit 228 into the RAM 227 and executing it.

[0057] In addition, the processing executed by the image forming apparatus 101, the information processing apparatus 109, and the client computer 110 is performed by the CPU of each apparatus expanding program code stored in the memory unit of each apparatus into the RAM of each apparatus and executing it.

[0058] In addition, some or all of the functions of the steps in the flowcharts may be realized by hardware such as ASICs, electronic circuits, etc. The symbol "S" in the explanation of each process indicates a step in the flowchart, and the same applies to the subsequent flowcharts.

[0059] In S501, the CPU 226 of the inspection device 108 performs a process of registering a reference image that serves as a reference for the inspection. The reference image is an image obtained by reading a defect-free printed matter on which the same image as that of the printed matter to be inspected is printed.

[0060] For example, a user operates the client computer 110 to cause the client computer 110 to generate a print job for generating a reference image and to transmit the generated print job to the image forming apparatus 101. The printing unit 111 of the image forming apparatus 101 generates a printed matter based on the print job, and the photographing unit 218 of the inspection unit 106 reads the printed matter. Then, the read image obtained by the photographing unit 218 reading the printed matter is transmitted to the inspection apparatus 108.

[0061] The inspection device 108 registers the received scanned image as a reference image. At this time, the reference image may be generated by scanning multiple printed sheets and synthesizing the resulting multiple scanned images. Alternatively, the reference image may be generated from RIP data or the like used in printing the printed material to be inspected.

[0062] In S502, the CPU 226 of the inspection device 108 performs a process of registering inspection settings that indicate the inspection areas to be inspected and the inspection contents for each inspection area based on the user's selection. In S502, various inspection parameters, setting values ​​related to the inspection areas, etc. are registered. Details will be described later.

[0063] In S503, the inspection device 108 inspects the printout based on the inspection settings registered in S502.

[0064] As a flow of the inspection, first, the user operates the client computer 110 to generate a print job for printing a printout to be inspected in the client computer 110, and transmits the generated print job to the image forming apparatus 101. The print unit 111 of the image forming apparatus 101 generates a printout based on the print job. The inspection unit 106 detects the conveyance of the printout, and causes the photographing unit 218 (CIS 315, 316) to read the conveyed printout, and transmits the resulting read image to the inspection apparatus 108. The inspection apparatus 108 is instructed by the user to start the inspection, and stores the received read image in the RAM 227 of the inspection apparatus 108. Then, in S503, the inspection apparatus 108 executes an inspection based on the inspection settings for the stored read image, and outputs the inspection result. The inspection is executed based on the setting values ​​and the like designated by the user registered in S502. Details of the inspection will be described later.

[0065] [Types of inspection for code images] In this embodiment, the printed matter includes a code image (code symbol) such as a barcode or a two-dimensional code, and the inspection device 108 inspects the code image included in the printed matter. Types of code image inspection include, for example, a decode inspection and a grade inspection. In addition, a verification inspection is performed in conjunction with the decode inspection or the grade inspection.

[0066] In this embodiment, it is assumed that at least a decode inspection or a grade inspection is performed on an inspection area, which is an area to be inspected in a scanned image of a printed matter. A grade inspection can take time, and if a grade inspection is performed on all inspection areas, the inspection time will increase. Therefore, this embodiment is configured to be able to set whether to perform a grade inspection or a decode inspection for each inspection area. This makes it possible to prevent the inspection time from increasing. Note that the type of inspection for the code image is not limited. In the inspection, if there are no abnormalities (defects) and the result is normal, the inspection is deemed OK, and if there are abnormalities (defects), the inspection is output as NG.

[0067] In a decode test, the code image to be inspected is decoded, and if the decode is successful, the test is deemed OK, and if the decode is unsuccessful, the test is deemed NG. There is no inspection to check whether the information obtained as a result of the decoding is correct. Inspection to check whether the information obtained as a result of the decoding is correct is performed in the comparison inspection described below. For example, a decode test is selected when it is desired to check whether the white lines of a 2D code have been crushed, resulting in an image that is unreadable. When there is no need to compare the decoded results, such as when printing a fixed image, a decode test is performed that does not include a comparison test.

[0068] In the grade inspection, a grade is measured, which is an evaluation value that indicates the quality of the code image. The grade is measured according to standards such as JIS-X-0510, JIS-X-0520, and JIS-X-0526. The grade is measured, for example, on a six-level scale from A to F, from highest to lowest. If the measured grade is equal to or higher than a threshold, the inspection is deemed to be OK, and if it is lower than the threshold, the inspection is deemed to be NG. The threshold is the minimum allowable grade, and is called the grade border.

[0069] Fig. 6 is a diagram showing an example of a code image measured as grade A in a grade inspection, and a code image measured as grade F. As shown in Fig. 6, if there is a stain or the like on a part of the code image, the grade is measured as low.

[0070] In the grade test, the grade is measured for multiple test items. For example, the minimum grade among the grades of the multiple test items is compared with the grade border. The multiple test items include, for example, (1) decoding, (2) contrast, (3) thickness, and (4) correction.

[0071] Decoding is a test item in which a grade of A is measured if the code image is successfully decoded, and F if decoding fails. Contrast is a test in which the higher (stronger) the black-white contrast, the higher the grade measured. Thickness is a test that measures the grade related to the thickness of the cells. In the case of 2D codes, for example, the grade is measured so that a low grade is given if the shape of the cell or the entire code is distorted when read at an angle. Correction is a test in which a parameter called decodability exists for 1D codes, and this parameter is used to measure the grade.

[0072] The decoding grade test is the same as the decoding test described above, so it can be said that the grade test includes the decoding test. Also, since the decoding test does not include any other tests than the decoding test items in the grade test, the grade test has more test items than the decoding test.

[0073] The verification test is a test to verify whether a character string obtained by decoding a code image in a test area matches a correct character string. In this embodiment, the verification test is performed as a part of a decoding test or a grade test.

[0074] The reference CSV file is an example of a file that contains correct answer strings, and is prepared in advance by the user when performing a matching test. Table 1 is a table for explaining the structure of the data stored in the reference CSV file.

[0075] [Table 1]

[0076] For example, the columns of the reference CSV file correspond to the area ID, which is a value that identifies the inspection area. In Table 1, the first row of the reference CSV file holds the correct character string of the first sheet, and the columns of the first row hold the character strings "AAAA", "1111", "aaaa", and "4444". In this case, in the verification test of the first sheet, the correct character string of the inspection area with the inspection ID "1" is "AAAA", and a test is performed to see if the character string obtained by decoding the inspection area with the area ID "1" in the first sheet matches the correct character string "AAAA". In this way, when the verification test is performed, a link is made to the reference CSV file based on the area ID, and the verification test is performed.

[0077] [About the inspection settings screen] 7 is a diagram showing an example of an inspection setting screen 700, which is a UI screen for a user to specify the contents of an inspection. In S502, an inspection setting indicating the inspection contents selected by the user on the inspection setting screen 700 is registered. When a reference image is selected by the user from among the reference images registered in S501, the CPU 226 of the inspection device 108 performs display control to display the inspection setting screen 700 on the display unit 245 of the inspection device 108.

[0078] The preview display area 701 is an area where a selected reference image is displayed in preview. When a printed matter of multiple pages is to be inspected, reference images for multiple pages are selected. In this case, when a user performs an operation to switch the reference image displayed in preview, the CPU 226 accepts the operation and switches the reference image displayed in the preview display area 701. In this way, the reference image of the corresponding page can be displayed in preview.

[0079] The dotted rectangular frames arranged so as to be superimposed on the reference image previewed in the preview display area 701 represent inspection areas 702a-d set by the user. The inspection areas 702a-d are areas of the printed matter that are to be inspected. Fig. 7 shows an example in which the inspection areas 702a-d are set in four areas where a two-dimensional code is present on the reference image.

[0080] When the user presses the inspection area placement button 703, the inspection areas 702a to 702d are placed on the reference image displayed in preview. Specifically, when the user presses the inspection area placement button 703 by clicking the mouse, a pull-down menu is displayed. When the user selects a type of inspection area from the pull-down menu, a dotted rectangular frame for setting the inspection area corresponding to the type is displayed. In this embodiment, it is assumed that a code image is selected as the type of inspection area. The user can change the size and position of the dotted rectangular frame by dragging the mouse. The user places the dotted rectangular frame in the area on the preview display area 701 that the user wants to set as the inspection area, by dragging the mouse, and the setting of the inspection area is accepted.

[0081] The file selection area 704 is an area for selecting data to be used in the verification test by a file selection method. As described above, the data for the verification test is a reference CSV file that holds the correct answer string when the verification test is performed.

[0082] The inspection content setting area 705 is an area for the user to select the inspection content when inspecting the currently selected inspection area. The inspection area for which the inspection content is to be selected is selected by clicking on one of the inspection areas 702a to 702d arranged on the preview display area 701. The user can select the inspection method for each inspection area. The inspection content setting area 705 includes an ID display area 707, a pull-down 708, a pull-down 709, a consumption inspection point display area 710, a pull-down 711, and a check box 712.

[0083] The ID display area 707 is an area where the ID (called area ID) of the currently selected inspection area is displayed. In Fig. 7, of the four inspection areas 702a to 702d on the preview display area 701, inspection area 702a with area ID "1" is selected.

[0084] The pull-down menu 708 is used to select the type of inspection to be performed on the currently selected inspection area. The user can select either a grade inspection or a decode inspection from the pull-down menu 708 as the type of inspection. During inspection, the type of inspection selected from the pull-down menu 708 is performed on the currently selected inspection area. For example, in FIG. 7, a grade inspection is selected from the pull-down menu 708 for the inspection area 702a with an area ID of "1". Therefore, when the enter button 706 is pressed on the inspection setting screen 700 in FIG. 7, a grade inspection is performed on the inspection area with an area ID of "1".

[0085] The next pull-down 709 and consumed inspection point display area 710 are areas where input or display is enabled when grade inspection is selected with the pull-down 708 .

[0086] Pull-down 709 is a pull-down for selecting a grade border, which is the minimum grade value permitted during grade inspection. The grade border is selected for each inspection area. For example, in FIG. 7, the grade border for inspection area 702a with inspection ID "1" is selected as "C." Therefore, when inspecting inspection area 702a with inspection ID "1", a grade inspection is performed, and if the grade calculated in the grade inspection is C or higher, the inspection is OK. On the other hand, if the grade calculated in the grade inspection is less than C, the inspection is NG.

[0087] The inspection point consumption display area 710 is an area that displays the amount of inspection points consumed when the currently selected inspection area is inspected. The amount of inspection points consumed will be described later.

[0088] A pull-down menu 711 is used to select the type (code type) of the code image included in the currently selected inspection area. Examples of the code type (code standard) include Code39, Code93, ITF, NW-7, JAN, QR Code (registered trademark) which is a two-dimensional code, and Data Matrix.

[0089] A check box 712 is used to select whether or not to perform a comparison inspection. If this check box 712 is checked, a comparison inspection is performed using the area ID and the reference CSV file when the currently selected inspection area is inspected.

[0090] The remaining inspection points display area 713 is an area for holding a value obtained by subtracting the total amount of inspection points consumed for each selected inspection area from the previously given inspection points. Details will be described later.

[0091] When the enter button 706 is pressed by the user, the CPU 226 terminates the display of the examination setting screen 700. Then, the CPU 226 saves in the RAM 227 the examination setting indicating the examination area selected on the examination setting screen 700 and the contents of the examination for each examination area.

[0092] [Inspection points] The amount of inspection points consumed, which is displayed in the consumed inspection point display area 710 in Fig. 7, is a value calculated according to the time required for inspection of the selected inspection area. The amount of inspection points consumed is calculated assuming that the time required for decoding inspection of one inspection area is 1. In other words, when decoding inspection is selected from the pull-down menu 708, the amount of inspection points consumed is determined to be 1.

[0093] Grade inspection can take several times longer than decode inspection, so the number of inspection points consumed can be greater than 1. For example, if the code type is Code39, the time required for grade inspection is about the same as for decode inspection, so the number of inspection points consumed is calculated as 1, just like decode inspection. On the other hand, for 2D codes, grade inspection takes time, so the number of inspection points consumed is calculated as 5. This means that when a grade inspection is performed on a 2D code, it takes 5 times longer than when a decode inspection is performed.

[0094] In this way, in the case of grade inspection, the time required for inspection differs depending on the type of code image to be inspected, and so the amount of inspection points consumed varies. Therefore, when the code type of the currently selected inspection area is selected in the pull-down 711, the amount of inspection points consumed is calculated and displayed in the consumed inspection point display area 710. The amount of inspection points consumed for grade inspection is determined, for example, using a table that takes into account the code type.

[0095] In this manner, in this embodiment, when a grade inspection is selected, the calculated amount of inspection points consumed is displayed in the inspection point consumption display area 710. A grade inspection can take several times longer than a decode inspection. For this reason, the amount of inspection points consumed is also used as an index showing how many times longer a grade inspection will take than a decode inspection. When a decode inspection is selected, the amount of inspection points consumed does not have to be displayed in the inspection point consumption display area 710.

[0096] Next, the values ​​displayed in the remaining inspection points display area 713 will be described. In this embodiment, control is performed so that the discharge destination of the printed matter is changed in the large-capacity stacker 107 depending on the inspection result. For this reason, the inspection device 108 needs to finish the inspection within the inspection time from when the photographing section 218 of the inspection unit 106 reads the printed matter of the page to be inspected to when the printed matter is discharged. It is assumed that the inspection points corresponding to the inspection time that can be spent on inspecting this one page are calculated in advance. For example, 30 inspection points are assigned. The assigned inspection points are calculated, similarly to the consumption of inspection points, assuming that the time required to perform a decode inspection on one inspection area is 1.

[0097] As described above, when an inspection area is selected on the inspection setting screen 700 in Fig. 7 and the inspection details for the selected inspection area are selected, the consumption of inspection points, which indicates the time required for the inspection, is calculated for each inspection area. The remaining inspection points display area 713 displays a value obtained by subtracting the consumption of inspection points from the assigned inspection points.

[0098] Four inspection areas 702a to d are set in the preview display area 701 of the inspection setting screen 700 in FIG. 7. When grade inspection is selected as the type of inspection for each of the four inspection areas 702a to d and a two-dimensional code is selected as the code type, the amount of inspection points consumed in one inspection area is calculated as 5. Therefore, the total amount of inspection points consumed when inspecting a printed matter having the four inspection areas 702a to d displayed in the preview display area 701 is 5×4=20. If 30 inspection points are assigned as the inspection time that can be spent on inspecting one page, the remaining inspection points are calculated as 30−20=10. Therefore, 10 is displayed in the remaining inspection points display area 713 in FIG. 7.

[0099] If the number of points displayed in the remaining inspection points display area 713 is 0 or more, it indicates that the inspection can be completed within the inspection time that can be spent on one page of inspection. For this reason, if the number of points displayed in the remaining inspection points display area 713 is 0 or more, the CPU 226 is configured to accept the contents of the inspection displayed on the inspection setting screen 700.

[0100] [Flowchart of inspection setting registration process] FIG. 8 is a flowchart for explaining details of the examination setting registration process in S502.

[0101] In S801, the CPU 226 displays the examination setting screen 700 on the display unit 245. Then, the CPU 226 enables input to the file selection area 704 of the examination setting screen 700. For example, the CPU 226 changes from a state in which user input has been disabled by graying out to a state in which the user can input. When the user selects a comparison examination, the user inputs the file name of a reference CSV file to be used for the comparison examination in the file selection area 704.

[0102] In S802, the CPU 226 accepts an input by the user to the inspection setting screen 700. The following flowchart will be described assuming that the user either presses the decision button 706 or inputs an inspection area. An input related to the inspection area is an input of a new setting of an inspection area by pressing the inspection area placement button 703, or an input of selecting an inspection area that has already been set in the preview display area 701.

[0103] In S803, the CPU 226 determines whether the user input received in S802 is a press of the decision button 706 or an input related to the inspection area. If the CPU 226 determines that the input received in S802 is an input related to the inspection area (NO in S803), the CPU 226 transitions the process to S804.

[0104] In S804, the CPU 226 temporarily disables the decision button 706 and does not accept the user's pressing of the decision button 706. This is to prevent the inspection details from being saved while they are being edited.

[0105] In S805, the CPU 226 selects an inspection area to be processed. When the depression of the inspection area placement button 703 is accepted in S802, the CPU 226 places and sets a new inspection area in the preview display area 701 at a position and size specified by a user operation. The CPU 226 then selects the newly set inspection area as the inspection area to be processed. When an inspection area that has already been set in the preview display area 701 is selected, the CPU 226 selects that inspection area as the inspection area to be processed. When an inspection area to be processed has already been selected, such as when transitioning from S810 to S805, S805 may be skipped. In S805, a change of the inspection area to be processed, cancellation of the inspection area, etc. may be accepted.

[0106] In S806, the CPU 226 accepts input of inspection details when inspecting the inspection area to be processed. That is, input is accepted within the inspection details setting area 705 corresponding to the inspection area to be processed. Details of the processing in S806 will be described with reference to FIG.

[0107] In S807, the CPU 226 determines whether input has been made for all items in the inspection content setting area 705. If the CPU 226 determines that input has not been made for all items in the inspection content setting area 705 (NO in S807), the process returns to S806 and accepts input for items in the inspection content setting area 705 again.

[0108] When the CPU 226 determines that all items in the examination content setting area 705 have been input (YES in S807), the process proceeds to S808. In S808, the CPU 226 determines whether the remaining number of granted examination points displayed in the remaining examination point display area 713 on the examination setting screen 700 is 0 or more.

[0109] When the CPU 226 determines that the remaining number of the assigned inspection points is less than 0 (NO in S808), the process proceeds to S810. As described above, the remaining number of the assigned inspection points being less than 0 means that the inspection content selected on the inspection setting screen 700 cannot be completed within the inspection time available for inspecting the printed matter. For this reason, the inspection content input in S806 cannot be registered as an inspection setting. Therefore, in S810, the CPU 226 displays a warning on the display unit 245 as a predetermined notification that the remaining number of the assigned inspection points is less than 0 and that prompts the user to review the inspection content. Then, the CPU 226 returns the process to S805, and a process of accepting input of the inspection content again is performed so that the remaining number of the assigned inspection points becomes 0 or more.

[0110] When the CPU 226 determines that the remaining inspection points are equal to or greater than 0 (YES in S808), the process proceeds to S809. In S809, the CPU 226 enables the decision button 706, which has been disabled. Then, the process transitions to S802.

[0111] When the CPU 226 determines that the input received in S802 is a press of the decision button 706 (YES in S803), the process proceeds to S811. In S811, the CPU 226 saves the inspection settings, including the inspection areas and the inspection contents for each inspection area, that have been input so far, in the RAM 227, and ends this flowchart.

[0112] FIG. 9 is a flowchart for explaining details of the process of accepting input in the inspection content setting area 705 in the inspection area to be processed in S806.

[0113] In S901, the CPU 226 enables the area ID to be input in the ID display area 707.

[0114] In S902 , the CPU 226 enables the pull-down menu 708 in the examination content setting area 705 to allow the user to select the type of examination from the pull-down menu 708 .

[0115] In S903, the CPU 226 determines whether or not the type of examination selected from the pull-down menu 708 is a grade examination. If the CPU 226 determines that the type of the selected examination is a grade examination (YES in S903), the CPU 226 advances the process to S904.

[0116] In S904, the CPU 226 enables the pull-down menu 709 in the examination content setting area 705, so that the user can select the grade to be used as the grade border from the pull-down menu 709. Then, the process proceeds to S905.

[0117] On the other hand, if the CPU 226 determines that the grade inspection has not been selected from the pull-down menu 708 (NO in S903), the CPU 226 skips S904 and advances the process to S905.

[0118] In S905, the CPU 226 enables the pull-down menu 711 in the inspection content setting area 705, so that the user can select, from the pull-down menu 711, the code type of the code image included in the inspection area to be processed.

[0119] In S906, the CPU 226 determines whether the code type of the code image included in the inspection area to be processed has been selected. If the CPU 226 determines that the code type of the code image has been selected (YES in S906), the CPU 226 advances the process to S907.

[0120] In S907, the CPU 226 calculates the amount of inspection points consumed when the inspection area to be processed is inspected, and then displays the calculated amount of inspection points consumed in the consumed inspection point display area 710. Since the amount of inspection points consumed varies depending on the code type in the case of a grade inspection, the amount of inspection points consumed displayed in the consumed inspection point display area 710 is displayed after the code type of the inspection area is selected.

[0121] If it is determined that the chord type has not been selected (NO in S906), the CPU 226 skips S907 and transitions the process to S908.

[0122] In S908, the CPU 226 enables the check box 712 in the inspection content setting area 705 so that the check box 712 can be input, thereby allowing the user to select whether or not to perform a verification inspection.

[0123] In S909, the CPU 226 calculates the remaining assigned inspection points, and displays the calculated value in the remaining inspection points display area 713. If a grade inspection is selected in S903 and a code type is not selected in S906, the amount of inspection points consumed cannot be calculated, and therefore the display is controlled so that no numerical value is displayed in the remaining inspection points display area 713, such as "code type not selected."

[0124] In S910, the CPU 226 waits for the user to input settings, and then this flow chart ends.

[0125] For example, if the flowchart in FIG. 9 ends without a chord type being selected in S906, a NO determination is made in S807 in FIG. 8, and the process returns to S806, and the process in the flowchart in FIG. 9 is performed again.

[0126] [Inspection process flow chart] FIG. 10 is a flowchart for explaining the details of the inspection process in S503.

[0127] In S1001, the CPU 226 acquires the inspection settings that are stored in S502 and that correspond to the printed material to be inspected.

[0128] In S1002, the CPU 226 determines whether the CISs 315 and 316 of the image forming apparatus 101 have received a scanned image obtained by scanning a printed material to be inspected.

[0129] When it is determined that the scanned image of the print material to be inspected has been received (YES in S1002), the CPU 226 advances the process to S1003.

[0130] In S1003, the CPU 226 sets the variable InspectID to "1."

[0131] In S1004, the CPU 226 selects an inspection area associated with an area ID that matches the current value of InspectID as an inspection target. Then, the CPU 226 acquires an image of the inspection area of ​​the inspection target from the received scanned image of the printed matter based on the position and size of the inspection area of ​​the inspection target among the inspection areas included in the inspection setting.

[0132] In S1005, the CPU 226 determines whether the type of inspection for the inspection area to be inspected is a grade inspection based on the inspection settings acquired in S1001.

[0133] If the type of inspection for the inspection area of ​​the inspection target is determined to be a grade inspection (YES in S1005), the process proceeds to S1006. In S1006, the CPU 226 executes a grade inspection on the image of the inspection area of ​​the inspection target acquired in S1004. The process of S1006 will be described in detail later.

[0134] When it is determined that the type of inspection for the inspection area of ​​the inspection target is a decode inspection (NO in S1005), the process proceeds to S1007. In S1007, the CPU 226 executes a decode inspection for the image of the inspection area of ​​the inspection target acquired in S1004. The process of S1007 will be described in detail later.

[0135] In S1008, the CPU 226 determines whether the inspection result for the inspection area of ​​the inspection target is inspection OK or inspection NG. If the CPU 226 determines that the inspection result is inspection NG (NO in S1008), the process proceeds to S1009.

[0136] In S1009, the CPU 226 displays on the display unit 245 that the inspection result of the inspection area of ​​the inspection target is NG. The CPU 226 also notifies the CPU 221 of the large-capacity stacker 107 in the image forming apparatus 101 that the inspection result is NG. Then, the process proceeds to S1010. When the CPU 221 of the large-capacity stacker 107 receives from the inspection device 108 that the inspection result is NG, it controls transport so that the printed material including the inspection target that has the inspection result of NG is discharged to the top tray 320.

[0137] On the other hand, if the CPU 226 determines that the inspection result is OK (YES in S1008), it skips S1009 and proceeds to S1010. If the CPU 221 of the large-capacity stacker 107 does not receive a notification from the inspection device 108 that the inspection result is NG, it controls the transport so that the printed matter to be inspected is discharged to the main tray 324.

[0138] In S1010, the CPU 226 determines whether inspection has been completed for all inspection areas set for the printed material currently being inspected. If the CPU 226 determines that inspection has not been completed for all inspection areas in the print unit (NO in S1010), the process proceeds to S1011. In S1011, the CPU 226 changes the value of InspectID to the next largest value. Then, the process returns to S1004, and the CPU 226 selects an inspection area associated with an area ID that matches the changed value of InspectID as a new inspection target, and proceeds to inspection of the inspection area of ​​the new inspection target.

[0139] When the CPU 226 determines that inspection has been completed for all inspection areas in the printed matter (YES in S1010), the process returns to S1002 and waits for reception of a scanned image of the next printed matter to be inspected.

[0140] When the CPU 226 determines that a new read image has not been received (NO in S1002), the process proceeds to S1012.

[0141] In S1012, the CPU 226 determines whether an instruction to end the inspection has been received from the user. If the CPU 226 determines that an instruction to end the inspection has not been received (NO in S1012), the CPU 226 returns to S1002 and waits for the reception of a scanned image of the next print to be inspected.

[0142] When the CPU 226 determines that the inspection of all the printed matter has been completed and an instruction to end the inspection has been received (YES in S1012), the process proceeds to S1013. In S1013, the CPU 226 displays the inspection result on the display unit 245.

[0143] In S1014, the CPU 226 stores the inspection results in the RAM 227, and ends this flowchart.

[0144] [Grade inspection flow chart] FIG. 11 is a flowchart for explaining the details of the grade inspection of the inspection area of ​​the inspection target, which is executed in S1006.

[0145] In S1101, the CPU 226 measures the grade of a code image included in an inspection area of ​​an inspection target.

[0146] In S1102, the CPU 226 determines whether the grade obtained as a result of the measurement in S1101 is equal to or higher than the grade border set to be associated with the inspection area of ​​the inspection target. As described above, the grade border is the minimum value (threshold value) of the allowable grade.

[0147] When the CPU 226 determines that the measured grade is lower than the grade border (NO in S1102), the process proceeds to S1105, where the CPU 226 determines that the inspection result for the inspection area of ​​the inspection target is NG. Then, this flow chart is ended.

[0148] If the measured grade is equal to or above the grade border, the inspection result for the grade inspection will be OK. However, if a matching inspection is selected to be performed in addition to the grade inspection, if the inspection result of the matching inspection is also OK, the CPU 226 determines that the inspection result of the inspection area to be inspected is OK. If the CPU 226 determines that the measured grade is equal to or above the grade border (YES in S1102), the process proceeds to S1103. In S1103, the CPU 226 determines whether the inspection area to be inspected is an inspection area for which a matching inspection was selected.

[0149] If it is determined that the inspection area is not the one selected for the comparison inspection (NO in S1103), the inspection result of the previous grade inspection is OK, and the inspection result is determined. Therefore, the process proceeds to S1106, and the CPU 226 determines that the inspection result for the inspection area to be inspected is OK.

[0150] When the CPU 226 determines that the inspection area is the one selected for the comparison inspection (YES in S1103), the process proceeds to S1104. In S1104, the CPU 226 performs a comparison inspection on the inspection area of ​​the inspection target. Then, the CPU 226 compares the correct answer character string corresponding to the inspection area of ​​the inspection target, which is included in the reference CSV file specified by the user when registering the inspection settings, with the character string obtained by decoding the inspection area of ​​the inspection target, to determine whether the character strings match.

[0151] If it is determined that the character strings match as a result of the comparison test (YES in S1104), the comparison test result is also OK, so the process proceeds to S1106, where the CPU 226 determines that the test result for the test area of ​​the test target is OK. Then, the process of this flowchart ends.

[0152] If it is determined that the character strings do not match as a result of the comparison test (NO in S1104), the result of the comparison test is NG. Therefore, the process proceeds to S1105, where the CPU 226 determines that the result of the test for the test area of ​​the test target is NG. Then, the process of this flowchart ends.

[0153] [Decode inspection flow chart] FIG. 12 is a flowchart for explaining the details of the decode inspection for the inspection area of ​​the inspection target, which is executed in S1007.

[0154] In S1201, the CPU 226 decodes a code image included in the inspection area of ​​the inspection target.

[0155] In S1202, the CPU 226 determines whether the code image included in the inspection area of ​​the inspection target has been successfully decoded as a result of S1101.

[0156] If it is determined that the decoding has failed (NO in S1202), the CPU 226 advances the process to S1205, and determines that the inspection result for the inspection area of ​​the inspection target is NG. Then, this flowchart ends.

[0157] If the decoding of the code image is successful, the result of the decoding inspection will be inspection OK. However, if a comparison inspection is selected to be performed in addition to the decoding inspection, if the comparison inspection result is also OK, the CPU 226 will determine that the inspection result of the inspection area to be inspected is inspection OK. Therefore, if the CPU 226 determines that the decoding of the code image is successful (YES in S1202), it proceeds to S1203 and determines whether the inspection area to be inspected is an inspection area for which a comparison inspection has been selected.

[0158] If it is determined that the inspection area to be inspected is not the one selected (NO in S1203), the inspection result of the previous decode inspection is inspection OK, and this determines the inspection result, so proceed to S1206 and determine the inspection result for the inspection area to be inspected as inspection OK.

[0159] If it is determined that the inspection area is the one selected for the verification inspection (YES in S1203), the process proceeds to S1204. Since S1204 is the same process as S1104, the description thereof will be omitted.

[0160] If it is determined that the character strings match as a result of the comparison test (YES in S1204), the comparison test result is also OK, so the process proceeds to S1206, where the CPU 226 determines that the test result for the test area of ​​the test target is OK. Then, the process of this flowchart ends.

[0161] If the comparison test determines that the character strings do not match (NO in S1204), the comparison test result is NG. Therefore, the process proceeds to S1205, where the CPU 226 determines that the test result for the test area of ​​the test target is NG. Then, the process of this flowchart ends.

[0162] As described above, according to the present embodiment, the grade inspection is performed on the code images that require the grade inspection, and the other code images are not subjected to the grade inspection. Therefore, the required inspection can be performed on each inspection area while suppressing the decrease in productivity of the printed matter due to the longer inspection time.

[0163] In the above description, the inspection area and inspection contents included in the inspection settings are registered by the user selecting them via the inspection settings screen 700 in Fig. 7. Alternatively, the inspection area and code type may be automatically set by determining the area and code type of the code image from the print job based on image analysis. Also, the type of inspection may be automatically set based on a predetermined rule so that the inspection points consumed are 0 or more.

[0164] <Second embodiment> In the grade inspection, a process of inspecting a plurality of inspection items is performed. In the first embodiment, when the grade inspection is performed, the grade inspection is performed for all predetermined inspection items. In the present embodiment, a method is described that enables the selection of an inspection item to be inspected from among a plurality of inspection items when the grade inspection is performed. By limiting the inspection items to be inspected, the inspection time in the grade inspection can be reduced. Therefore, the inspection area to be inspected in the grade inspection can be increased, and the inspection performance can be improved.

[0165] 13 is a diagram showing an example of an examination setting screen 1300 displayed in the examination setting registration process of S502 in this embodiment. The same components as those in the examination setting screen 700 in FIG. 7 are denoted by the same reference numerals and will not be described.

[0166] The inspection content setting area 705 further includes a group of check boxes 1301 for selecting inspection items in the grade inspection. The group of check boxes 1301 is made up of check boxes 1301a to 1301d. Each of the check boxes 1301a to 1301d corresponds to an inspection item for which a grade is to be measured in the grade inspection. In this embodiment, when a grade inspection is selected as the type of inspection, the grade of the inspection item corresponding to a checked check box among the check boxes 1301a to 1301d is measured. In other words, even when a grade inspection is selected, the grade of the inspection item corresponding to an unchecked check box is not measured in the grade inspection.

[0167] When check box 1301a is checked, the grade of the inspection item "decoding" is measured. When check box 1301b is checked, the grade of the inspection item "contrast" is measured. When check box 1301c is checked, the grade of the inspection item "thickness" is measured. When check box 1301d is checked, the grade of the inspection item "correction" is measured.

[0168] 13, the check box 1301c corresponding to the inspection item "thickness" is not checked for the inspection area 702a with the area ID "1." Therefore, when a grade inspection is performed on the inspection area 702a with the area ID "1," the inspection result is determined to be "OK" if the grades of the inspection items of decoding, contrast, and correction are equal to or higher than the grade border C.

[0169] 7, it has been explained that the amount of inspection points consumed in the grade inspection when the code type is a two-dimensional code is 5. That is, when all of the check boxes 1301a to 1301d are checked, the amount of inspection points consumed is calculated as 5.

[0170] 13, check box 1301c out of check boxes 1301a to 1301d is not checked, and so the amount of inspection points consumed during the grade inspection displayed in inspection point consumption display area 710 is reduced from 5 to 4. By reducing the number of inspection items in this way, the time required for inspection is shortened, and so the amount of inspection points consumed is also reduced. The time required for inspection of each inspection item may be determined using a table generated in advance, or may be determined by means of inspecting a registered reference image and taking actual measurements.

[0171] FIG. 14 is a flowchart for explaining details of the grade inspection of the inspection area of ​​the inspection target, which is executed in S1006 in this embodiment.

[0172] In S1401, the CPU 226 measures the grade of each inspection item specified in the inspection settings for a code image included in an inspection area of ​​an inspection target.

[0173] In S1402, it is determined whether the minimum grade among the grades of each examination item specified in the examination setting is equal to or greater than the grade border. Since S1403 to S1406 are the same processes as S1103 to S1106, the description thereof will be omitted.

[0174] As described above, according to this embodiment, it is possible to execute a grade inspection so that a grade is measured for a pre-specified inspection item. By selecting an appropriate inspection item for each inspection area, it is possible to shorten the time required for the grade inspection, and therefore it is possible to increase the number of inspection areas that are the targets of the grade inspection.

[0175] <Other embodiments> The present disclosure can also be realized by a process in which a program for implementing one or more functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that implements one or more functions.

[0176] The disclosure of the above-described embodiment includes the following configurations.

[0177] (Configuration 1) a setting means for setting a type of inspection for a code image on a printed matter on which the code image is printed, for each inspection area including the code image to be inspected; An acquisition means for acquiring a read image obtained by reading the printed matter; an inspection means for performing an inspection of the type set by the setting means for each of the inspection areas in the read image, The types of tests include a first type and a second type having more test items than the first type. An inspection device characterized by:

[0178] (Configuration 2) The setting means is Obtaining information regarding the time available for the inspection means to inspect the read image and information regarding an inspection time corresponding to the type of inspection, Based on the information, control is performed to set the type of inspection so that the inspection means can inspect the read image within the available time. 2. The inspection device according to configuration 1,

[0179] (Configuration 3) The setting means is As information on the inspection time corresponding to the type of inspection, at least information on the inspection time when a code image corresponding to the type of the code image included in the inspection area is inspected by the second type is acquired. 3. The inspection device according to configuration 2.

[0180] (Configuration 4) The setting means is The type of inspection for each of the inspection areas is preset before the inspection means performs the inspection. 4. The inspection device according to any one of configurations 1 to 3.

[0181] (Configuration 5) The setting means is Obtaining the type of inspection selected by the user for each of the inspection areas; When an inspection is performed using the type of inspection selected by the user, a calculation is made based on the information as to whether the inspection means can inspect the read image within the available time, and if it is determined that the inspection means can inspect the read image within the available time, Setting the type of inspection for each of the inspection areas based on the user's selection 3. The inspection device according to configuration 2.

[0182] (Configuration 6) The setting means is When it is calculated that the inspection means cannot execute the inspection within the available time, the type of inspection selected by the user is not set. 6. The inspection device according to configuration 5,

[0183] (Configuration 7) The setting means is When the type of examination selected by the user is controlled not to be set, a predetermined notice is displayed on a display unit. 7. The inspection device according to configuration 6,

[0184] (Configuration 8) The method further includes display control means for displaying a screen for the user to select the type of the inspection for each of the inspection areas. 7. The inspection device according to configuration 5 or 6,

[0185] (Configuration 9) At least information regarding the time available for the inspection means to inspect the scanned image and information regarding the inspection time corresponding to the type of inspection selected by the user are displayed on the screen. 9. The inspection device according to configuration 8,

[0186] (Configuration 10) The image processing device further includes a registration unit for registering a reference image corresponding to the printed matter, The setting means sets a region selected in the reference image displayed on the screen as the inspection region. 10. The inspection device according to configuration 8 or 9,

[0187] (Configuration 11) The second type of inspection is a grade inspection in which the code image is inspected by measuring an evaluation value of the code image. 11. The inspection device according to any one of configurations 1 to 10,

[0188] (Configuration 12) The setting means is When the grade inspection is set as the type of the inspection, an inspection item to be inspected in the grade inspection is set from among a plurality of inspection items. 12. The inspection device according to claim 11,

[0189] (Configuration 13) The setting means is acquiring the type of inspection selected by the user for each of the inspection areas, and, if the type of inspection selected by the user is a grade inspection, the inspection item selected by the user; calculating whether the inspection means can execute the inspection within a time available for inspecting the read image when the inspection means performs the inspection of the type of inspection and the inspection item selected by the user; When it is calculated that the inspection means can perform the inspection within the available time, the type of inspection and the inspection items for each of the inspection areas are set based on the selection of the user. 13. The inspection device according to claim 12,

[0190] (Configuration 14) The first type of test is a decode test. 14. The inspection device according to any one of configurations 1 to 13,

[0191] (Configuration 15) a printing means for printing at least a code image on a recording medium to generate a printed matter; a reading means for reading the printed matter and generating a read image of the printed matter; A transmitting means for transmitting the read image to the inspection device according to any one of configurations 1 to 14 so that the read image is inspected; An image forming apparatus comprising:

[0192] (Configuration 16) A conveying means for conveying the printed matter; a receiving unit for receiving an inspection result of the read image corresponding to the printed matter from the inspection device, The conveying means conveys the printed matter so that a discharge destination of the printed matter is switched in accordance with the inspection result received by the receiving means. 16. The image forming apparatus according to claim 15,

[0193] (Configuration 17) a setting step of setting a type of inspection for a code image on a printed matter on which the code image is printed, for each inspection area including a code image to be inspected; an acquisition step of acquiring a read image obtained by reading the printed matter; an inspection step of performing an inspection of the type set by the setting step for each of the inspection areas in the read image, The types of tests include a first type and a second type having more test items than the first type. 23. A method for controlling an inspection apparatus comprising:

[0194] (Configuration 18) A program for causing a computer to execute each of the means of the inspection device according to any one of configurations 1 to 14. [Explanation of symbols]

[0195] 108 Inspection Equipment 226 CPU 401 Acquisition Department 403 Settings 404 Inspection Department

Claims

1. a setting means for setting a type of inspection for a code image on a printed matter on which the code image is printed, for each inspection area including the code image to be inspected; An acquisition means for acquiring a read image obtained by reading the printed matter; an inspection means for performing an inspection of the type set by the setting means for each of the inspection areas in the read image, The types of tests include a first type and a second type having more test items than the first type. An inspection device characterized by:

2. The setting means is Obtaining information regarding the time available for the inspection means to inspect the read image and information regarding an inspection time corresponding to the type of inspection, Based on the information, control is performed to set the type of inspection so that the inspection means can inspect the read image within the available time.

2. The inspection apparatus according to claim 1 .

3. The setting means is As information on the inspection time corresponding to the type of inspection, at least information on the inspection time when a code image corresponding to the type of the code image included in the inspection area is inspected by the second type is acquired.

3. The inspection apparatus according to claim 2.

4. The setting means is The type of inspection for each of the inspection areas is preset before the inspection means performs the inspection.

2. The inspection apparatus according to claim 1 .

5. The setting means is Obtaining the type of inspection selected by the user for each of the inspection areas; When an inspection is performed with the type of inspection selected by the user, it is calculated based on the information whether the inspection means can inspect the read image within the available time, and when it is calculated that the inspection means can inspect the read image within the available time, the type of inspection for each inspection area is set based on the user's selection.

3. The inspection apparatus according to claim 2.

6. The setting means is When it is calculated that the inspection means cannot execute the inspection within the available time, the type of inspection selected by the user is not set.

6. The inspection apparatus according to claim 5.

7. The setting means is When the type of examination selected by the user is controlled not to be set, a predetermined notice is displayed on a display unit.

7. The inspection apparatus according to claim 6.

8. The method further includes display control means for displaying a screen for the user to select the type of the inspection for each of the inspection areas.

6. The inspection apparatus according to claim 5.

9. At least information regarding the time available for the inspection means to inspect the scanned image and information regarding the inspection time corresponding to the type of inspection selected by the user are displayed on the screen.

9. The inspection apparatus according to claim 8.

10. The image processing device further includes a registration unit for registering a reference image corresponding to the printed matter, The setting means sets a region selected in the reference image displayed on the screen as the inspection region.

9. The inspection apparatus according to claim 8.

11. The second type of inspection is a grade inspection in which the code image is inspected by measuring an evaluation value of the code image.

2. The inspection apparatus according to claim 1 .

12. The setting means is When the grade inspection is set as the type of the inspection, an inspection item to be inspected in the grade inspection is set from among a plurality of inspection items.

12. The inspection apparatus according to claim 11.

13. The setting means is acquiring the type of inspection selected by the user for each of the inspection areas, and, if the type of inspection selected by the user is a grade inspection, the inspection item selected by the user; Calculating whether the inspection means can execute the inspection within the time available for inspecting the read image when the inspection means executes the inspection with the type of inspection and the inspection item selected by the user, and if it is calculated that the inspection means can execute the inspection within the available time, setting the type of inspection and the inspection item for each inspection area based on the user's selection.

13. The inspection apparatus according to claim 12.

14. The first type of check is a decode check.

2. The inspection apparatus according to claim 1 .

15. a printing means for printing at least a code image on a recording medium to generate a printed matter; a reading means for reading the printed matter and generating a read image of the printed matter; A transmitting means for transmitting the scanned image to the inspection device according to any one of claims 1 to 14 so that the scanned image can be inspected; An image forming apparatus comprising:

16. A conveying means for conveying the printed matter; a receiving unit for receiving an inspection result of the read image corresponding to the printed matter from the inspection device, The conveying means conveys the printed matter so that a discharge destination of the printed matter is switched in accordance with the inspection result received by the receiving means.

16. The image forming apparatus according to claim 15.

17. a setting step of setting a type of inspection for a code image on a printed matter on which the code image is printed, for each inspection area including a code image to be inspected; an acquisition step of acquiring a read image obtained by reading the printed matter; an inspection step of performing an inspection of the type set by the setting step for each of the inspection areas in the read image, The types of tests include a first type and a second type having more test items than the first type.

23. A method for controlling an inspection apparatus comprising:

18. A program for causing a computer to execute each of the means of the inspection apparatus according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Code symbol evaluation device

    JP2015212873A