Information processing device, inspection system, method for controlling information processing device, and method for controlling inspection system
The information processing device addresses margin area issues in inspection by visibly displaying necessary spaces, enhancing data readability and reducing defective products.
Patent Information
- Application Number
- JP2023063237
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-10
- Publication Date
- 2024-10-23
AI Technical Summary
Existing inspection methods struggle with ensuring sufficient margin areas for reading character strings and barcodes, leading to incorrect data recognition and defective products due to insufficient setup of inspection areas.
An information processing device that displays the required margin areas for data inspection visibly, allowing users to adjust inspection settings accurately to prevent errors.
Reduces the occurrence of defective products by ensuring adequate margin areas are set before inspection, improving data recognition accuracy.
Smart Images

Figure 2024150027000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing apparatus, an inspection system, a control method for an information processing apparatus, and a control method for an inspection system. [Background technology]
[0002] Conventionally, inspections (quality checks) to check whether printed matter is printed correctly have been performed manually, but in recent years, devices that perform inspections automatically have been used as post-processing for printing machines. Such inspection devices inspect variable areas (variable data) such as character strings and barcodes in variable printing. Examples include data readability inspections that check whether character strings and barcodes are readable, and data matching inspections that check the results of reading character strings and barcodes against the correct answer. Hereinafter, data readability inspections and data matching inspections will be referred to as data inspections.
[0003] In Patent Document 1, a first area and a second area of different types can be set in a variable area whose contents are variable, and different inspection processes are executed in each area to inspect the data. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 7148012 Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the method of Patent Document 1, when setting the inspection area, the area to be inspected can be recognized, but it is difficult for the user to recognize whether the margin area required for reading character strings and barcodes has been secured. In data inspection, a certain margin area is necessary to accurately read character strings and barcodes, and if sufficient margin area is not secured in the inspection area specified when setting the inspection, the recognition rate may decrease and the data may not be read correctly. If a comparison inspection is performed between data that has not been correctly recognized and correct data, there is a problem that the comparison does not match, the inspection is judged to be NG, and defective products are generated. [Means for solving the problem]
[0006] The information processing device of the present invention comprises an extraction means which reads printed materials transported sequentially from an image forming means using a reading means and performs an extraction process to extract data from the image formed on the printed materials, a display control means which displays the received image on a display unit, and a setting means which sets an area in which the extraction process is to be performed on the image displayed on the display unit, and is characterized in that the display control means displays a margin area required for the extraction process in a identifiable manner for the area set by the setting means. Effect of the Invention
[0007] According to the present invention, it is possible to provide an inspection system that can identifiably display the margins required for data inspection before the inspection is carried out, thereby reducing the occurrence of defective products due to setting errors. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing an example of a system configuration including an inspection apparatus according to an embodiment of the present invention. [Diagram 2] FIG. 1 is an example of an internal configuration diagram of an image forming apparatus 100 according to an embodiment of the present invention. [Diagram 3] 1 is an example of an internal configuration diagram of an inspection device 110 according to the present embodiment. [Figure 4] 1 is a flowchart showing an example of an entire inspection process according to the present embodiment. [Diagram 5] An example of a UI screen for job management in this embodiment. [Figure 6] An example of a UI screen for test settings in this embodiment [Figure 7] An example of a flowchart for setting an inspection in step S403 in this embodiment [Figure 8] An example of an inspection frame display in this embodiment [Figure 9] An example of margin information in this embodiment [Figure 10] An example of a warning screen according to this embodiment [Figure 11] An example of a flowchart for test settings in embodiment 2 [Figure 12] Example of print position misalignment in embodiment 2 [Figure 13] An example of an inspection frame display in the second embodiment [Figure 14] An example of inspection frame display for character string area in embodiment 2 [Figure 15] An example of a flowchart for test setting in embodiment 3 [Figure 16] An example of an inspection frame display in the third embodiment DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Each embodiment of the present invention will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the invention according to the claims, and not all of the combinations of features described in each embodiment are necessarily essential to the solution of the present invention.
[0010] In the following description, the image forming apparatus may also be called a multifunction device, a multifunction peripheral, or an MFP (Multi Function Peripheral).
[0011] (Embodiment 1) 1 is a diagram showing a system configuration including an inspection device according to an embodiment of the present invention, in which 100 indicates an image forming apparatus, 110 indicates an inspection device, 120 indicates a finisher, 130 indicates a client PC, 140 indicates a print server, and 150 indicates a network.
[0012] The image forming apparatus 100 performs print output based on various input data, for example, print data sent from a client PC 130 or a print server 140 .
[0013] In this embodiment, the image forming apparatus will be described, but the present invention is not limited to this and may be any apparatus that prints on a recording medium. For example, the apparatus may be an apparatus that prints on metal. The inspection system in this embodiment is configured with at least an image forming apparatus 100 that prints on a sheet and an inspection apparatus 110 that inspects the printed matter.
[0014] The inspection device 110 inspects whether there are defects in the printed matter conveyed in sequence from the image forming device 100. Here, a defect is something that reduces the quality of the printed matter, such as stains caused by color material adhering to unintended locations during printing, or color loss caused by insufficient color material adhering to intended locations.
[0015] Furthermore, the inspection device 110 inspects the variable area portion of a variable print including a variable area portion such as a one-dimensional code such as a character string or a barcode, or a two-dimensional code such as a QR code (registered trademark). For example, a data readability inspection is performed to check whether the character string or the barcode is readable, and a data matching inspection is performed to match the read result of the character string or the barcode with a correct answer. That is, the inspection device 110 performs a print image inspection to detect an abnormality in the picture portion of the printed matter, and a data inspection including a data readability inspection and a data matching inspection. Note that the inspection device 110 does not necessarily have to have an inspection processing unit that performs the print image inspection and the data inspection inside the inspection device 110, and may be configured to perform the inspection processing by, for example, an information processing device (not shown) as an inspection PC that is communicably connected to the inspection device 110. Note that in this embodiment, the barcode inspection refers to an inspection that can also inspect two-dimensional codes such as a QR code.
[0016] The finisher 120 receives the output paper inspected by the inspection device 110, switches the paper discharge destination based on the inspection result of the inspection device 110, performs post-processing (such as binding and stapling) as necessary, and discharges the paper.
[0017] Image forming apparatus 100 is connected to client PC 130 and print server 140 via network 150, and is further connected to inspection apparatus 110 and finisher 120 via communication cables. In addition to image forming apparatus 100, inspection apparatus 110 is also connected to finisher 120 via communication cables. This embodiment will be described using an in-line inspection machine that performs image formation, inspection, post-processing, and paper discharge in an integrated manner, as an example, but this is not intended to limit the present invention.
[0018] [Image forming device configuration] FIG. 2 is a diagram showing the internal configuration of the image forming apparatus 100 according to the present embodiment.
[0019] The controller 200 receives images and documents from the network 150 and converts the received images and documents into print data. The printer unit 210 generates a printout by printing the print data on a recording sheet (paper, sheet). The UI unit 220 displays a screen and accepts instructions from the user to the image forming apparatus 100, such as selection of paper information. The image forming apparatus 100 is composed of the above-mentioned controller 200, printer unit 210, and UI unit 220.
[0020] The controller 200 includes components 201 to 208.
[0021] A network I / F (interface) unit 201 transmits and receives data to and from the client PC 130 and the print server 140 via the network 150. A CPU 202 controls the image forming apparatus 100 as a whole.
[0022] The RAM 203 is a work area when the CPU 202 executes various commands, and the ROM 204 stores program data executed by the CPU 202 at startup, setting data for the controller 200, and the like.
[0023] An image processing unit 205 performs RIP (Raster Image Processor) processing to convert image and document data received from the network 150 into print data.
[0024] In this embodiment, the RIP process does not have to be performed by the image processing unit 205, and may be performed by, for example, an information processing device (not shown) communicably connected to the image forming apparatus 100.
[0025] An engine I / F (interface) unit 206 transmits print data to a printer unit 210 .
[0026] A communication I / F unit 207 communicates with the inspection device 110 and the finisher 120. Reference numeral 208 denotes an internal bus (system bus).
[0027] Images and documents created on client PC 130 or print server 140 on network 150 are transmitted as PDL data to image forming apparatus 100 via a network (e.g., a local area network). Note that a print job for an image, document, etc. may be transmitted to an information processing device (not shown) via the network and managed by the information processing device. The print job may then be transmitted from the information processing device to image forming apparatus 100 via network 150, and image forming apparatus 100 may perform processing to print on paper.
[0028] The transmitted PDL data is stored in the RAM 203 via the network I / F unit 201. A print instruction from the user of the UI unit 220 is also stored in the RAM 203 via the internal bus 208. A print instruction from the user is, for example, a selection of a paper type.
[0029] The image processing unit 205 acquires the PDL data stored in the RAM 203 and performs image processing to convert it into print data. The image processing to convert it into print data means, for example, rasterizing the PDL data, converting it into multi-value bitmap data, and converting it into binary bitmap data by performing screen processing or the like. The binary bitmap data obtained by the image processing unit 205 is transmitted to the printer unit 210 via the engine I / F unit 206.
[0030] The printer unit 210 prints the received binary bitmap data on a recording sheet using color materials. The CPU 202 issues instructions to the printer unit 210 based on a print instruction from a user stored in the RAM 203. For example, when a user instructs to print on coated paper, the CPU 202 issues an instruction to the printer unit 210 to output paper from a paper cassette (not shown) in the image forming apparatus 100 in which coated paper is stored. The various processes from receiving the above-mentioned PDL data to printing on paper are controlled by the CPU 202, and a full-color toner image is formed on the paper.
[0031] [Internal configuration of inspection device 110] FIG. 3 is a diagram showing the internal configuration of the inspection device 110. As shown in FIG.
[0032] The inspection control unit 300 controls the entire inspection device 110 and controls the inspection process to check whether or not there are defects in the printed matter.
[0033] The image reading unit 310 reads the printed material conveyed from the image forming apparatus 100. The image reading unit 310 generates a scanned image (read sheet) by reading the printed material.
[0034] The UI unit 320 is a UI unit for the user to set the inspection device 110 and display the inspection results to the user. The setting of the inspection device 110 performed by the user here refers to the items of defects to be inspected when inspecting a printed matter. The inspection items are, for example, round defects (spots) and linear defects (streaks). The inspection device 110 is composed of the above-mentioned inspection control unit 300, image reading unit 310, and UI unit 320. In this embodiment, the UI unit 320 is composed of a display unit that displays a screen and a display control unit that controls the screen displayed on the display unit. The setting of the inspection device 110 and the display of the inspection results performed by the UI unit 320 may be displayed and instructions may be received by an external device such as the UI unit 220 of the image forming device 100 described above, an inspection PC (not shown), or an information processing device (not shown).
[0035] Reference numerals 301 to 306 are components of the inspection control unit 300. The communication I / F (interface) unit 301 transmits and receives data to and from the image forming apparatus 100, the finisher 120, and the inserter 160. The CPU 302 controls the entire inspection device 110. The RAM 303 is a work area when the CPU 302 executes various commands, and the ROM 304 stores program data executed by the CPU 302 at startup, setting data for the inspection control unit 300, and the like. A correct answer CSV file, which will be described later, is also stored in the ROM 304. The inspection processing unit 305 inspects whether or not there is a defect in the printed matter. The internal bus 306 is a system bus.
[0036] (Print image inspection) An overview of the print image inspection performed by the inspection device 110 will be described. The inspection device 110 uses the image reading unit 310 to read the printed material conveyed from the image forming device 100 and acquires a scanned image (scanned image) of the inspection target. The acquired scanned image of the inspection target is stored in RAM 303. Next, the inspection device 110 uses the inspection processing unit 305 to acquire a difference value between a reference image previously stored in RAM 303 as a correct image and the scanned image of the inspection target.
[0037] Next, the inspection device 110 performs the inspection by comparing the calculated difference value with the inspection threshold value of each inspection item (contrast, size, etc.) for each pixel. The inspection results are stored in the RAM 303, and include, for example, information on whether or not there is an abnormality in the printout, the type of abnormality detected (such as a dot or a streak), and position information of the abnormality when displayed on the UI unit 320.
[0038] (Data Inspection) The data inspection performed by the inspection device 110 will be outlined below. The inspection device 110 reads the printed matter conveyed from the image forming device 100 in sequence by the image reading unit 310, and acquires a scanned image of the inspection target. The acquired scanned image of the inspection target is stored in the RAM 303. Next, the inspection processing unit 305 of the inspection device 110 first performs an extraction process to extract data from the character string, barcode, or QR code in the scanned image. This is performed using a character font for character recognition (OCR) that is set in advance, and a barcode standard, and OCR processing is performed on the character. Decoding processing is performed on the barcode. In the data inspection, an inspection is performed to check whether the character string or barcode in the area set for data inspection can be read. If it can be read, an OK judgment is made, and if it cannot be read, an NG judgment is made. It is also possible to perform a data comparison inspection to check whether the extracted data, that is, the read character string or barcode result, matches the corresponding data (correct data) of a correct CSV file prepared in advance. Here too, if the data matches as a result of the comparison, an OK judgment is made, and if it does not match, an NG judgment is made. The results of the inspection are stored in RAM 303, such as the results of character strings and barcodes read from printed matter, the results of matching with correct data, and position information of the read characters and barcodes when displayed on the UI section 320.
[0039] Next, inspection device 110 instructs UI unit 320 to display the inspection results stored in RAM 303 via CPU 302. The inspection results are displayed on UI unit 320, allowing the user to recognize the inspection results.
[0040] Furthermore, when a defective printed product occurs or a certain number of defective printed products occur consecutively, the inspection device 110 causes the CPU 302 to transmit the above information to the image forming device 100 via the communication I / F unit 301 .
[0041] The information that a defective printed matter has occurred is received by controller 200 via communication I / F unit 207. When controller 200 receives the above information, CPU 202 instructs printer unit 210 to stop printing. Image forming apparatus 100 stops the printing operation when printer unit 210 is instructed to stop printing.
[0042] Furthermore, the inspection device 110 also transmits information to the finisher 120 via the communication I / F unit 301 based on the inspection results stored in the RAM 303 by the CPU 302. The information transmitted to the finisher 120 is information on whether or not there is a defect in the printed matter. Using the received information, the finisher 120 discharges printed matter without defects to a normal paper discharge tray, and discharges printed matter with defects to a tray other than the normal paper discharge tray.
[0043] <Overall inspection flow> Next, the overall flow from the registration work before the start of the inspection in the inspection device 110 to the execution of the inspection will be described with reference to the flowchart of FIG.
[0044] This flowchart is implemented by the CPU 302 loading program code stored in the ROM 304 onto the RAM 303, and reading and executing the program code loaded onto the RAM.
[0045] In step S401, the CPU 302 registers a character font. The registered character font is used during data inspection. A character font is data that associates character images and character codes required for character recognition (OCR) performed during data inspection.
[0046] The procedure for creating a character font is as follows: first, the inspection device 110 waits in a character font image reading mode and receives a print job for creating a character font from the client PC 130. The inspection device 110 receives the character font job from the client PC 130 and reads the character font image. When printing is executed, the inspection device 110 detects the conveyance of a printed matter from the image forming device 100, scans the printed matter with the image reading unit 310, and stores the scanned image in the RAM 303 of the inspection device 110. A character to be OCR is extracted one by one from the scanned image, and a character code for the extracted character image is input by the user, thereby creating a character font. The created character font is stored in the RAM 303 of the inspection device 110. Here, the method for creating a character font in this embodiment has been described, but it is not limited to this, and any method may be used as long as it is possible to create data in which a character code is associated with each character image extracted from a scanned image. Note that there may be a case where only a print image inspection is performed without performing data inspection. In this case, the process proceeds to S402 without performing S401.
[0047] In step S402, CPU 302 registers a reference image that is to be a correct image for inspection. Inspection device 110 waits in a reference image reading mode, and executes a print job for registering the reference image from client PC 130. When printing is executed, inspection device 110 detects the conveyance of the printed matter and scans the printed matter with image reading unit 310, and the scanned image is stored in RAM 303 of inspection device 110 as a reference image.
[0048] In this embodiment, the reference image is registered by scanning it with the image reading unit 310, but this is not limited to this. For example, an image RIP-processed by the print server 140 or the image processing unit 205 of the image forming apparatus 100 may be registered as the reference image.
[0049] In step S403, the CPU 302 stores various inspection setting values such as the inspection area and the inspection level in the RAM 303 of the inspection device 110 according to the user's inspection settings. Details of S403 in this embodiment will be described later.
[0050] In step S404, CPU 302 receives an inspection print job from client PC 130, detects the transport of paper, scans the paper with image reading unit 310, and stores the scanned image in RAM 303 of inspection device 110. Then, pattern inspection is performed using the image obtained by scanning the inspection job and the reference image registered in S402, using the inspection setting values set in S403. Also, data inspection is performed using the character font registered in step S401 and the inspection settings set in step S403. The processing of this flowchart ends.
[0051] FIG. 5 shows an example of a job management screen 500 displayed on the UI unit 320.
[0052] The job management screen 500 is displayed when the inspection device 110 is started up, or when an application is started up from the UI unit 320 by a user operation.
[0053] From the job management screen 500, it is possible to transition to each process of font registration, reference image registration, inspection setting, and inspection.
[0054] A button 501 is used to turn off the display on the screen 500 .
[0055] A button 502 is used to create a new inspection job and to register a reference image.
[0056] Button 503 is a button for duplicating an inspection job that has already been created. An inspection job selected in the inspection job list 508 is duplicated. By making a duplicate, it is possible to duplicate the reference image and inspection settings and perform a new inspection. Pressing button 503 transitions to the inspection setting screen shown in FIG. 6.
[0057] A button 504 is a delete button, which deletes an inspection job selected in the inspection job list 508. Here, it is also possible to delete multiple inspection jobs simultaneously by selecting multiple inspection jobs and pressing the button 504.
[0058] A button 505 is an inspection setting button, which is used to perform inspection settings for an inspection job for which reference image registration has been completed.
[0059] A button 506 is an inspection button, which performs an inspection of an inspection job for which reference image registration and inspection settings have been completed.
[0060] A button 507 is a font registration button for registering a character font.
[0061] [Inspection Settings] Next, the test settings will be described with reference to FIG.
[0062] FIG. 6(a) shows an example of an examination setting screen 600 displayed on the UI unit 320 of the examination device 110 for making examination settings.
[0063] A button 601 is a reference image change button, and is used when changing the reference image.
[0064] A button 602 is an inspection area selection button, which is pressed by the operator when he or she wishes to select an area that has already been set.
[0065] A button 603 is an inspection area delete button, which is pressed by the operator when desiring to delete a selected area.
[0066] A button 604 is a button for rotating the image displayed in an area 605 .
[0067] An area 605 is a display area for displaying the loaded reference image. When multiple sheets are loaded, the image to be displayed is switched using a button 610. The front and back sides of the loaded sheets are also switched using the button 610.
[0068] A button 611 is an OK button for saving the settings of the screen 600 and transitioning to the job management screen 500 shown in Fig. 5. In addition, pressing the button 611 may transition to an inspection screen (not shown) so that an inspection can be performed.
[0069] A button 612 is a cancel button for not saving the settings on the screen 600 and for transitioning to the job management screen 500 shown in FIG.
[0070] A button 621 is pressed by the operator when creating a new print image inspection area. After pressing the button, the operator sets the inspection area for the reference image displayed in area 605. Area 606 shows an example of setting the print image inspection area.
[0071] Button 622 is a button that is pressed by the operator when creating a new character inspection or barcode inspection area. After pressing the button, the operator sets the inspection area on the reference image displayed in area 605. Character area 607 shows an example of a set character inspection area. Area 608 shows an example of a set barcode inspection area. Note that in FIG. 6, areas 606, character area 607, and area 608 are drawn with the same black dotted line, but they may be displayed so that they are distinguishable as areas where different processes are performed. For example, the frames of areas where different processes are performed may be displayed in different colors or with dashed lines. Also, the display color of these frames may be selectable by the user.
[0072] Button 623 is pressed by the operator when creating a new area for serial number inspection. After pressing the button, the operator sets the inspection area for the reference image displayed in area 605. The serial number inspection is a data inspection based on a predetermined rule. The predetermined rule is the start number, end number, increment / decrement value, etc.
[0073] Setting item 631 is a setting for misalignment inspection, and sets the allowable amount of misalignment of the print position from the reference image. In this embodiment, an example is shown in which the amount of misalignment is specified by the operator when detecting a misalignment of 2 mm or more. In other words, the value specified by the operator here corresponds to the threshold value for misalignment detection. If a misalignment equal to or greater than the threshold value set here is detected, the inspection is determined to be NG.
[0074] The setting area 632 is a group of UI for making settings for the area currently selected in the area 605 .
[0075] Setting item 633 sets the scope of the selected area. If nothing is selected, the selected inspection area will be placed only on the page currently displayed in area 605. If "Same side as current page" is selected, the selected inspection area will be placed on the same side of the page depending on whether the selected inspection area is placed on the front or back side of the sheet. If "All pages" is selected, the selected inspection area will be placed on all pages.
[0076] Setting item 634 is for setting a detection level for a round defect (dot) or a linear defect (streak). The detection level is a parameter that is set in stages for determining the size of a detected defect for each feature of the defect. For example, there are five stages, from level 1 to level 5, and level 5 can detect thinner and smaller defects than level 1. Also, a level can be set for each inspection item, such as inspection level 5 for dots and inspection level 4 for streaks. Setting item 634 shows that the operator has selected level 4 for the inspection level setting for defects (dots) and level 4 for the inspection level setting for defects (streaks).
[0077] FIG. 6(b) is an example of the inspection setting screen when the currently selected setting area is a data area.
[0078] The setting area 641 is a group of UIs for making settings for the data inspection area that is displayed when the data inspection area is selected in the area 605 .
[0079] In this example, the currently selected area is assumed to be character area 607, but similar settings are also made for character area 609. Note that area 605 displays selected areas so that they can be distinguished from unselected areas.
[0080] The settings area 642 sets the scope of the selected area. If nothing is selected, the selected inspection area will be placed only on the page currently displayed in area 605. If "Same Side as Current Page" is selected, the selected inspection area will be placed on the same side page depending on whether the selected inspection area is located on the front or back side of the sheet. If "All Pages" is selected, the selected inspection area will be placed on all pages.
[0081] The setting area 643 is an area for setting the correct answer CSV file to be verified when performing a verification test. A file is selected by pressing a button 644, and the selected file name is displayed. The specification of the correct answer CSV file is common to both character inspection and barcode inspection.
[0082] The currently selected data inspection area is set in a setting area 645. Here, the orientation, selection of the character area or barcode inspection area, font type, barcode type, whether or not to perform a comparison inspection, and column designation of the correct answer CSV file for the comparison inspection are specified.
[0083] A setting item 646 sets the character orientation of the character area 607 .
[0084] Setting items 647 and 638 specify whether the selected area is to be inspected for a character string or a barcode.
[0085] A setting item 649 sets a font for performing OCR processing on the character area 607 .
[0086] A setting item 650 sets the type of barcode when barcode inspection is selected in the setting item 648 .
[0087] Whether or not to perform a comparison check is set in setting item 651. If a comparison check is set to "Yes," OCR processing is performed on the character area 607 using the correct answer CSV file specified in setting area 643 and the column number specified in setting item 652, and a comparison check is performed between the read character string and the character string specified in the correct answer CSV.
[0088] Here, the data inspection is exemplified by a data readability inspection to check whether a character string or a barcode can be read, and a data verification inspection to verify the results of reading the character string or barcode with the correct answer, but is not limited to these. For example, it may be a serial number inspection to verify whether the read results are serial numbers, or a front and back inspection to verify whether the read results on the front and back match, and may be any inspection that reads a character string or a barcode and performs the inspection.
[0089] <Test setting flow> Next, the flow of the test setting in S403 will be described with reference to the flowchart in FIG.
[0090] This flowchart is realized by the CPU 302 of the inspection device 110 loading program code stored in the ROM 304 into the RAM 303, and reading and executing the program code loaded into the RAM.
[0091] In step S701, the CPU 302 receives a notification of a UI operation by the user from the UI unit 320.
[0092] In step S702, CPU 302 determines whether or not an inspection setting has been made. Specifically, it determines whether an inspection area has been newly created, or whether the setting of an already created inspection area has been changed. If an inspection setting has been made (YES in step S702), the process proceeds to step S703. If an operation other than inspection setting has been performed (NO in step S702), the process proceeds to step S706.
[0093] In step S703, CPU 302 determines whether the area set for inspection in step S702 is a data inspection area or a sequential number inspection area. If a data inspection area or a sequential number inspection area is set (YES in step S703), the process proceeds to step S704. If an area other than a data inspection area or a sequential number inspection area is set (NO in step S703), the process returns to step S701 and waits for notification of a UI operation.
[0094] In step S704, the CPU 302 acquires margin information required for data inspection or serial number inspection stored in the ROM 304. When performing OCR processing on a character string or decoding processing on a barcode, a certain amount of margin is required around the character string or barcode. If there is no margin, the character string or barcode may not be read correctly. FIG. 9 shows an example of margin information required according to the type of character string or barcode. The margin information may be a size standardized according to the code type, or a margin amount defined in a program performing OCR processing or barcode decoding processing, and is not limited to this. 901 is a margin amount read out when character string inspection is set in the setting item 647. 902 to 906 are margin amounts read out when barcode inspection is set in the setting item 648, and one of 902 to 906 is read out according to the barcode type set in the setting item 650. 902 to 904 are for one-dimensional barcodes, and 905 to 906 are for two-dimensional barcodes.
[0095] In step S705, the CPU 302 updates the area frame display of the area set for inspection based on the margin information acquired in step S704. FIG. 8 shows an example of the area frame display. In FIG. 8, a two-dimensional barcode is used as an example for explanation, but the same applies to the left and right margin areas of a one-dimensional barcode. Area 801 indicates the position where the user sets the inspection area on the UI unit 320. Area 802 shows the area frame expanded outside the inspection area set by the user by the margin information acquired in step S704 based on the inspection area set by the user. Note that area 802 is referred to as the peripheral area of the inspection frame. If there is no image data in the area where the inspection frame is expanded (the peripheral area of the inspection frame), it is possible to determine that the margin required for the reading process is secured. Here, the area is expanded in the same color as the inspection frame set by the user, but it may be expanded in a color different from the inspection frame. In addition, as a method for displaying the area frame, not only the inspection frame is expanded as in area 802, but the expanded area may be displayed with transparency such as semi-transparency as shown in area 803. This makes it easier to visually check whether image data is present in the expanded area. Also, the area to be expanded may be displayed in a pattern such as a mesh pattern as in area 804. Also, the area to be expanded may be displayed in a double frame that draws the outline of the area to be expanded as in area 805. Also, the display position may be changed so that only the outline of the area to be expanded is drawn as in area 806, and the display method is not limited to these as long as it allows the necessary blank area to be confirmed.
[0096] In this embodiment, the region frame is expanded from the inspection region set by the user to the outside, but this is not limited to this, and may be expanded inward. Or, the selected region may be expanded both inward and outward. In this embodiment, the timing of switching from the display of the region 801 to the display of the regions 802 to 806 has been described in S705, but is not particularly limited. When the region is set in the examination setting screen 600 described in FIG. 6, the display may be changed to the display of the regions 802 to 806. In addition, the display may be changed from the display of the region 801 to the display of the regions 802 to 806 according to the user pressing a switching button (not shown) displayed in the examination setting screen 600. In addition, the display method of the regions 802 to 806 may be changed by a display method switching button (not shown) displayed in the examination setting screen 600.
[0097] FIG. 10 shows a screen that displays a warning when an object such as image data exists in the expanded inspection frame area in step S705. 1001 in FIG. 10-(a) is an icon that is displayed when image data exists in the expanded inspection frame area. When the mouse hovers over the icon 1001, a tool tip 1002 as shown in FIG. 10-(b) is displayed. When image data exists in the expanded inspection frame area in this way, the user can recognize before the inspection is performed that the amount of margin required for reading has not been secured and there is a possibility of reading failure. Here, an icon or tool tip is displayed as a warning, but this is not limited to this, and a dialog box or the display form of the inspection frame may be changed (e.g., blinking), as long as it is possible to notify the user that image data exists in the expanded inspection frame area.
[0098] In this way, by displaying the inspection frame according to conditions related to the margins required for data inspection before the inspection is carried out, it is possible to check whether the necessary margins have been secured before the inspection, thereby reducing the occurrence of defective products due to incorrect setting of the inspection area.
[0099] Returning to the explanation of Figure 7.
[0100] When the display update is completed in step S705, the process returns to step S701 and waits for notification of a UI operation.
[0101] Next, in step S706, CPU 302 determines whether the setting of the inspection area is complete. Here, this determination is made based on whether the button (OK button) 611 shown in Fig. 6(a) has been pressed. If the button 611 has been pressed (YES in step S706), it is determined that the inspection setting is complete, and the process proceeds to step S707. If the OK button has not been pressed (NO in step S706), the process returns to step S701 and waits for notification of a UI operation.
[0102] In step S707, the CPU 302 saves the setting values set on the examination setting screen in the RAM 303, and ends the examination setting process.
[0103] This concludes the description of the examination setting flow in step S403.
[0104] As described above, according to this embodiment, by displaying an inspection frame according to conditions related to the margins required for data inspection before the inspection is carried out, it is possible to check whether the necessary margins have been secured before the inspection, and it is possible to reduce the occurrence of defective products due to incorrect setting of the inspection area.
[0105] (Embodiment 2) In the first embodiment, a method was described in which an inspection frame is displayed according to conditions related to the margin required for data inspection, allowing the user to check whether the required margin is secured before the inspection is performed, thereby reducing the possibility of setting the inspection area. However, in the method of the first embodiment, if a print position shift occurs on the read image side and the size of the print position shift changes from the margin area added to the reference image, reading of character strings or barcodes may fail. Print position shift is a shift in the output position of an image relative to the paper, and the difference between the output position relative to the paper registered in the reference image and the position shift of the read image relative to the paper is compared with a threshold value.
[0106] In this embodiment, a method of displaying an inspection frame taking into consideration the misalignment of printing positions will be described.
[0107] Fig. 12 shows an example of print position misalignment in this embodiment. Fig. 12-(a) shows a reference image, and area 1201 shows a preprint area that is printed on paper in advance. Area 1202 is an area where variable data is printed, and is an area where a different barcode is printed for each sheet. In this embodiment, the data is written as a barcode, but it may also be a character string, a sequential number, etc.
[0108] Figure 12-(b) shows an example of a scanned image read during inspection where the preprint area has been misaligned to the left and the variable area to the right. In the reference image, the margin between area 1201, which is the preprint area, and area 1202, which is the variable area, is 5 mm, and if area 1201 is misaligned 1 mm to the left and the variable area is misaligned 1 mm to the right, the margin between the areas will be 3 mm. If the margin required to read the variable area is 3.5 mm, there may not be enough margin, and reading of the barcode, etc. may fail. For this reason, it is necessary to display the inspection frame taking into account the misalignment of the print area.
[0109] The following describes this embodiment in terms of the differences from the above-described embodiment 1. Note that the parts not described in detail are the same as embodiment 1.
[0110] <Test setting flow> Next, the flow of test setting in the second embodiment will be described with reference to the flowchart of FIG.
[0111] This flowchart is realized by the CPU 302 of the inspection device 110 loading program code stored in the ROM 304 into the RAM 303, and reading and executing the program code loaded into the RAM.
[0112] Step S1101 is similar to step S701 shown in FIG. 7, and therefore a description thereof will be omitted.
[0113] In step S1102, CPU 302 determines whether misalignment inspection has been set. Specifically, it determines whether the setting of setting item 631 shown in FIG. 6 has been changed. If the setting of setting item 631 has been changed (YES in step S1102), the process proceeds to step S1103. If the setting item 631 has not been changed (NO in step S1102), the process proceeds to step S1107. Here, the determination is made based on whether the numerical value of the misalignment inspection has been changed, but the ON / OFF setting of the misalignment inspection function itself can be set separately, and it may be determined that the ON / OFF setting has been switched.
[0114] In step S1103, the CPU 302 determines whether or not there is a data inspection area among the created inspection areas. If there is a data inspection area (YES in step S1103), the process proceeds to step S1104. If there is no data inspection area (NO in step S1103), the process returns to step S1101 and waits for a notification of a UI operation.
[0115] In step S1104, the CPU 302 acquires margin information of the created data inspection areas, that is, margin information regarding all data inspection areas that have already been created.
[0116] Next, in step S1105, CPU 302 calculates the size of the margin area to be displayed based on the setting value of the misalignment inspection set in step S1102 and the margin information acquired in step S1103. For example, if the setting for misalignment inspection in setting item 631 is set to 2 mm vertically and horizontally, and the margin information acquired in step S1103 is margin information 901, the margin area size is calculated using the following formula: inner misalignment amount (2 mm) + outer misalignment amount (2 mm) + margin amount (5 mm) = 9 mm.
[0117] Here, the margin area size for all data inspection areas that have already been created is calculated. Note that if the position deviation inspection function is set to ON / OFF, the calculation will be performed with 0 mm when it is set to OFF.
[0118] In step S1106, the CPU 302 updates the area frame display of the area set for inspection based on the margin area size acquired in step S1105.
[0119] Here, the area frame displays for all data inspection areas that have already been created are updated.
[0120] FIG. 13 shows an example of an examination frame display in the second embodiment.
[0121] Figure 13-(a) shows the inner misalignment area and the outer misalignment area with respect to the reference image, with 1301 indicating the inner misalignment area and 1302 indicating the outer misalignment area. 1303 indicates the margin area required depending on the code type for data inspection. The inner misalignment area 1301 is an area assuming a case where printing of the variable data portion is misaligned, and the outer misalignment area is an area assuming a case where printing of the preprint area is misaligned.
[0122] FIG. 13-(b) shows an inspection frame 1304 calculated from an inner positional deviation area 1301, an outer positional deviation area 1302, and a margin area 1303 required according to the code type of the data inspection.
[0123] Figure 13-(c) shows an example of the scanned image read during inspection, where the preprint area has been misaligned to the left. In Figure 13-(c), the image of the preprint area falls into the outer misaligned area 1302. The image used to read the data processes the area including the data area, the inner misaligned area, and the margin area required for data inspection as the processed image area 1305. As a result, if it can be confirmed that there is no image data in the inspection frame 1304, the margin area is guaranteed in the processed image area used for data inspection, making it possible to prevent reading failures.
[0124] FIG. 14 shows an example of an inspection frame display for a character string region in the second embodiment.
[0125] The margin area required for character string inspection is not standardized, but depends on the performance of OCR processing. For this reason, as shown in Fig. 14-(a), the required margin area is not displayed, and the inspection frame may be displayed taking into account only the amount of misalignment. Here, the margin area size is calculated using an inner inspection area 1401 and an outer inspection area 1402. Fig. 14-(b) shows an inspection frame 1403 calculated using the inner misalignment area 1401 and the outer misalignment area 1402.
[0126] Figure 14-(c) shows an example of a scanned image read during inspection where the preprint area has been misaligned to the right. In Figure 14-(c), the image of the preprint area falls into the outer misaligned area 1402. For the image used to read the data, the area from the data area to the inner misaligned area is set as the cut-out area 1404, and a margin area 1405 is added outside the cut-out area 1404 by the amount of margin information acquired in step S1104. By reading and processing the processed image area 1406 with this margin area 1405 added, if it can be confirmed that there is no image data in the inspection frame 1403, the margin area is guaranteed in the processed image area used for data inspection, making it possible to prevent reading failures.
[0127] Returning to the explanation of Figure 11.
[0128] When the display update is completed in step S1106, the process returns to step S1101 and waits for notification of a UI operation.
[0129] Steps S1107 to S1109 are similar to steps S702 to S704 shown in FIG. 7, and therefore the description thereof will be omitted.
[0130] In step S1110, CPU 302 calculates the size of the margin area to be displayed based on the margin information acquired in step S1109 and the setting value of the misalignment inspection of setting item 631. The calculation method is the same as in step S1105, so a description thereof will be omitted.
[0131] In step S1111, the CPU 302 updates the area frame display of the area set for inspection based on the margin area size acquired in step S1110, and returns to step S1101 to wait for notification of a UI operation.
[0132] The processes in steps S1112 and S1113 are similar to those in steps S706 and S707 shown in FIG. 7, and therefore will not be described.
[0133] This concludes the description of the test setting flow in step S403 in the second embodiment.
[0134] In this embodiment, the inspection frame is displayed taking into account printing position misalignment, but this is not limited to this, and the inspection frame may be displayed taking into account skew that occurs during inspection reading, or it may be displayed in a way that suits the characteristics of the image forming device 100 and the inspection device 110.
[0135] In addition, in the second embodiment, the necessary margin amount is calculated based on the setting value of the misalignment inspection setting item 631. However, a setting item may be provided that allows the setting of the amount of misalignment to be taken into account in the margin amount calculation, separate from the setting of the misalignment inspection.
[0136] As described above, according to this embodiment, even if printing position misalignment occurs, the amount of position misalignment is taken into account when displaying the inspection frame, making it possible to check whether the necessary margins have been secured before inspection, and reducing the occurrence of defective products due to incorrect setting of the inspection area.
[0137] (Embodiment 3) In the second embodiment, a method was explained that makes it possible to check whether the necessary margins have been secured before inspection by displaying an inspection frame taking into account the amount of misalignment even if printing misalignment occurs, thereby reducing the occurrence of defective products due to incorrect setting of the inspection area.
[0138] However, in the methods of the first and second embodiments, since the user manually selects the area, more blank space than necessary may be required.
[0139] In this embodiment, a method will be described in which a circumscribing rectangle of a print area is automatically detected from an inspection area manually set by a user, and an inspection frame is displayed from the detected position, taking into account the amount of margin.
[0140] The following describes this embodiment in terms of the differences from the above-described embodiments 1 and 2. Note that the parts not described in detail are the same as those in embodiments 1 and 2.
[0141] The flow of the test setting in the third embodiment will be described with reference to the flowchart of FIG.
[0142] This flowchart is implemented by the CPU 302 loading program code stored in the ROM 304 onto the RAM 303, and reading and executing the program code loaded onto the RAM.
[0143] Steps S1501 to S1504 are similar to steps S701 to S704 shown in FIG. 7, and therefore the description will be omitted.
[0144] In step S1505, CPU 302 automatically calculates a circumscribing rectangle of an area in which a character string or a barcode is printed from the inspection area set by the user in step S1502. The calculation of the circumscribing rectangle is performed by performing binarization processing on the image of the inspection area set by the user and extracting the coordinate positions of the outermost black pixels, but the method is not limited to this as long as it is a method for extracting a circumscribing rectangle.
[0145] In step S1506, the CPU 302 updates the display of the inspection frame based on the circumscribing rectangle coordinates calculated in step S1505 and the margin information obtained in step S1504.
[0146] FIG. 16 shows an example of an examination frame display in the third embodiment.
[0147] FIG. 16-(a) shows an inspection area 1601 selected by the user. FIG. 16-(b) shows a circumscribing rectangular area 1602 calculated in step S1505. FIG. 16-(c) shows an inspection frame 1603 in the third embodiment. In the inspection area specified by the user in FIG. 16-(a) as described above, the user sets the inspection area so that the barcode portion and the inspection frame do not overlap, resulting in a margin between the inspection frame and the barcode. This results in a margin larger than the amount of margin that would actually be required. In response to this, it is possible to eliminate the need for extra margin by extracting a circumscribing rectangle and setting the inspection frame from it.
[0148] Steps S1507 and S1508 are similar to steps S706 and S707, and therefore the description thereof will be omitted.
[0149] This concludes the description of the test setting flow in step S403 in the third embodiment.
[0150] In the third embodiment, a circumscribing rectangle is extracted from an inspection area set by the user, but it is also possible to extract an area of a character string or barcode from the entire image and set an inspection frame from the extracted area.
[0151] As described above, according to this embodiment, the area where data inspection is to be performed is automatically detected, and an inspection frame is displayed from the detected position taking into account the amount of margin, thereby making it possible to prevent the allocation of unnecessary margin.
[0152] (Other embodiments) Although various examples and embodiments of the present invention have been shown and described above, the spirit and scope of the present invention are not limited to the specific descriptions within this specification.
[0153] This embodiment can also be realized by supplying a program that realizes one or more functions of the above-mentioned embodiment to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that realizes one or more functions.
Claims
1. An information processing device, an extraction means for performing an extraction process of reading the printed matter sequentially conveyed from the image forming means by a reading means and extracting data from the image formed on the printed matter; A display control means for displaying the received image on a display unit; A setting means for setting an area to be subjected to the extraction process on the image displayed on the display unit; having The display control means displays a blank area required for the extraction process in a identifiable manner with respect to the area set by the setting means.
23. An information processing apparatus comprising:
2. The display control means displays the blank area required by the extraction means in a manner that allows the blank area to be identified by one or more of the following display methods: thickness of the inspection frame, transparent display of the inspection frame, pattern display, double frame display, and change of the display position of the inspection frame.
2. The information processing apparatus according to claim 1,
3. The display control means displays the margin area required by the extraction means in a manner that allows the margin area to be identified by one or more of the following display methods: changing the color of the peripheral area of the inspection frame; displaying the peripheral area of the inspection frame in a transparent manner; or displaying the peripheral area of the inspection frame in a pattern.
2. The information processing apparatus according to claim 1,
4. The information processing device includes: The method further includes inspecting the printed matter based on a comparison between the data extracted by the extraction process and correct answer data prepared in advance.
2. The information processing apparatus according to claim 1,
5. The extraction process by the extraction means includes at least a first processing method and a second processing method, The setting means sets an area after selecting either the first processing method or the second processing method.
2. The information processing apparatus according to claim 1,
6. The blank space required by the extraction means and displayed by the display control means differs between the first processing method and the second processing method.
6. The information processing apparatus according to claim 5,
7. The first processing method is decoding barcodes and QR codes 6. The information processing apparatus according to claim 5,
8. The second processing method is OCR processing for a character area.
6. The information processing apparatus according to claim 5,
9. 1. An inspection system comprising: an image forming means for forming an image on a recording medium; a reading means for obtaining a read image by reading the recording medium on which the image is formed; A verification means for extracting data from an image formed on the read image by an extraction process and verifying whether the extracted data matches with preregistered correct answer data; A display control means for displaying at least the image on a display unit; a setting means for setting an inspection frame for inspection by the inspection means on the image displayed on the display unit; The display control means displays the inspection frame set by the setting means under conditions related to a blank space required for the extraction process.
1. An inspection system comprising:
10. The inspection frame displayed by the display control means under conditions related to the margin area required in the extraction process is displayed in one or more display methods selected from the following: thickness of the inspection frame, transparent display of the inspection frame, pattern display, double frame display, and change of the display position of the inspection frame.
10. The inspection system of claim 9.
11. The inspection frame displayed under conditions related to the margin area required for the extraction process by the display control means is displayed in one or more of the following display methods: changing the color of the peripheral area of the inspection frame, transparent display of the peripheral area of the inspection frame, and pattern display.
10. The inspection system of claim 9.
12. The prepared correct answer data is a CSV file.
10. The inspection system of claim 9.
13. The display control means displays a warning when another object is displayed overlapping a blank space required for the extraction process.
10. The inspection system of claim 9.
14. The display control means displays the inspection frame set by the setting means, and when a predetermined button is operated for displaying the inspection frame under conditions related to a margin area required in the extraction process, displays the inspection frame under conditions related to a margin area required in the extraction process.
10. The inspection system of claim 9.
15. The inspection means judges the inspection result as NG when the extracted data does not match with the preregistered correct answer data.
10. The inspection system of claim 9.
16. an image forming means for forming an image on a recording medium; a reading means for obtaining a read image by reading the recording medium on which the image is formed; an extracting means for extracting data from an image formed on the read image; a first inspection means for inspecting whether the data extracted by the extraction means matches with preregistered correct answer data; A display control means for displaying at least the image on a display unit; a first setting means for setting an inspection frame that specifies an area from which data is to be extracted by the extraction means on the image displayed on the display unit; a second setting means for setting an allowable positional deviation amount of the image formed by the image forming means as a threshold value; an inspection system characterized in that the display control means displays the inspection frame set by the first setting means under conditions related to the margin required for data extraction by the extraction means and the threshold value set by the second setting means.
17. The inspection system further comprises: a second inspection means for inspecting a positional deviation of an image formed by the image forming means using the threshold value set by the second setting means; 17. The inspection system of claim 16, further comprising:
18. The inspection frame displayed by the display control means under conditions related to the margin required for data extraction by the extraction means and the inspection threshold set by the second setting means is displayed in one or more display methods of the thickness of the inspection frame, or transparent display of the inspection frame, pattern display, double frame display, and change of the display position of the inspection frame.
17. The inspection system of claim 16.
19. The inspection frame displayed by the display control means under conditions related to the margin required for data extraction by the extraction means and the inspection threshold set by the second setting means is displayed by one or more display methods including changing the color of the peripheral area of the inspection frame, transparent display of the peripheral area of the inspection frame, and pattern display.
17. The inspection system of claim 16.
20. A method for controlling an information processing device, comprising: The information processing device includes: A display unit that displays the received image on a screen; a control unit that performs an extraction process of reading the printed matter sequentially conveyed from the image forming unit by the reading unit and extracting data from the image formed on the printed matter; having A setting step of setting an area in which the extraction process is to be performed on the image displayed on the display unit; The method for controlling an information processing device, wherein the display unit identifiably displays a margin area required in the extraction process with respect to the area set in the setting step.
21. 1. A method for controlling an inspection system, comprising: an image forming step of forming an image on a recording medium; a reading step of acquiring a read image by reading the recording medium on which the image is formed; A setting step of setting an area from which data is to be extracted on the image displayed on a display unit; an inspection step of extracting data from the image formed on the read image and inspecting whether the extracted data matches with preregistered correct data; Equipped with The set area is displayed under conditions related to the margin area required in the inspection process.
23. A method for controlling an inspection system comprising:
Citation Information
Patent Citations
Image inspection device and image inspection program
JP7148012B2
Cited By
Information processing system, program product, and information processing method
CN123067802A
Information processing system, program, and information processing method
EP4838350A1
Information processing systems and programs
JP2026182052A
