Information processing device and information processing method
The information processing device simplifies label inspection by generating and applying inspection parameters automatically, reducing the need for manual settings and enhancing efficiency in inspecting diverse label types.
Patent Information
- Application Number
- JP2019123581
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2019-07-02
- Publication Date
- 2024-10-03
- Estimated Expiration
- 2039-07-02
AI Technical Summary
The complexity of settings for inspecting printed content on labels, particularly when switching between different types of labels, is cumbersome and requires manual parameter adjustments in existing systems.
An information processing device that generates and stores object data for labels, automatically sets inspection parameters based on user-defined layouts, and displays preview images, allowing for simplified inspection of printed content without manual parameter adjustments.
Reduces the complexity of settings for inspecting printed content by automating the generation of inspection parameters and previewing the inspection process, enabling efficient inspection of various label types without manual intervention.
Smart Images

Figure 0007560942000001 
Figure 0007560942000002 
Figure 0007560942000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device and an information processing method. [Background technology]
[0002] It has been known for some time that medical materials are managed by attaching labels to them (Patent Document 1). Since strict accuracy is required for the printed content of labels (printing media) used for specific purposes such as medical materials, it has become common practice to inspect whether the printed content of the label is appropriate. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 10-10978 Summary of the Invention [Problem to be solved by the invention]
[0004] However, when inspecting whether the contents printed on a label are appropriate, there is a problem that the settings for inspecting the contents printed on the label are complicated. Conventionally, when a label to be inspected is added after the operation of an inspection system is started, that is, when a label of a different type from the labels inspected up until now (for example, a label with a different layout, item, or a different type of character string printed thereon) is newly inspected, there is a problem that the settings for the inspection are complicated. When inspecting labels by image processing using a camera, an operator must set parameters for the inspection every time a new type is inspected, and when inspecting a small number of labels of various types using one inspection system, it may be necessary to set many parameters.
[0005] SUMMARY OF THE PRESENT EMBODIMENT An object of the present invention is to reduce the complexity of settings required for inspecting the printed contents when inspecting issued print media. [Means for solving the problem]
[0006] One aspect of the present invention is A plurality of object data relating to each of a plurality of objects, each object comprising: The printing medium is defined by a predetermined area within the effective printing range, and includes at least one of a character string and a code as a printing target within the predetermined area. , multiple A storage unit for storing object data; a setting unit that sets an object to be inspected by the inspection device among the plurality of objects in response to an instruction from a user; In response to a user's instruction, Multiple Object data and data indicative of the object to be inspected; The Multiple A first data generating unit that generates issuance data including data on the number of issued sheets of print media based on the object data, and a second data generating unit that generates inspection reference data that serves as a reference for inspection by the inspection device based on the issuance data. a display unit that displays a preview image corresponding to a print result on the print medium before the inspection by the inspection device in response to an instruction from the user, the preview image being displayed in a manner that enables the object to be inspected among the plurality of objects to be recognized; and Equipped with and when a variable associated with each of the plurality of objects is defined, if character information in a format preset by the user is input corresponding to a variable name, the setting unit sets data in the object corresponding to the variable name as a target for inspection. It is an information processing device. Effect of the Invention
[0007] According to an aspect of the present invention, when inspecting issued print media, the complexity of settings for inspecting the print contents can be reduced. [Brief description of the drawings]
[0008] [Figure 1] 1 is a system configuration diagram of an inspection system according to an embodiment. [Diagram 2] 1 is a diagram showing an example of a continuous paper used in an inspection system according to an embodiment; [Diagram 3] FIG. 1 is a block diagram of an inspection system according to an embodiment. [Figure 4] FIG. 13 is a diagram showing a layout file creation screen of the information processing apparatus according to the embodiment. [Diagram 5] FIG. 11 is a diagram illustrating a procedure for creating a layout file. [Figure 6] FIG. 11 is a diagram illustrating a procedure for creating a layout file. [Figure 7] FIG. 4 is a diagram showing a label printing screen of the information processing apparatus according to the embodiment. [Figure 8]FIG. 13 is a diagram showing an inspection screen of the information processing apparatus according to the embodiment. [Figure 9] FIG. 13 is a diagram showing an inspection screen of the information processing apparatus according to the embodiment. [Figure 10] FIG. 4 is a diagram illustrating an example of a data configuration of issuance data. [Figure 11] 4 is a sequence chart showing an operation of the inspection system according to the embodiment. [Figure 12] 4 is a sequence chart showing an operation of the inspection system according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] In the following description, an "object" is, for example, an object that is defined by a specified area within the effective printing range of the print medium and that includes at least one of a character string and a code as the printing target within the specified area. When the user determines the printing content on the print medium, it is preferable that the object is movable within the effective printing range. When the object moves within the effective printing range, the character string or code included in the object also moves. The printing target included in the object is not limited to a character string or a code, and may also include figures, symbols, marks, etc. In the following description, "inspection reference data" refers to data that serves as a reference for inspecting the print result corresponding to an object, for example. The inspection reference may be, for example, data relating to the position of the object in the effective print range of the print medium, or a character string or code included in the object. Here, the data relating to the position of the object in the effective print range of the print medium may be defined by the relative positional relationship between the reference position of the effective print range and the reference position of the above-mentioned specified area corresponding to the object. The data relating to the character string included in the object may include, for example, data such as the size and font of the character string. The data relating to the code included in the object may include, for example, data specifying one of various standards to which the barcode or two-dimensional code complies.
[0010] In the inspection system of this embodiment, the contents to be printed on the print medium are defined by object data related to one or more objects. In the following embodiment, when designing the contents to be printed on a label as the print medium, a layout file including object data related to one or more objects is generated. That is, the print contents for the label and the layout file are associated with each other. Then, when inspecting the print contents of the label, inspection parameters are automatically generated based on the layout file as inspection reference data that is the basis for inspecting the print contents, and the inspection is performed by the inspection device based on the inspection parameters. Therefore, the user does not need to be aware of the setting work of the inspection device when inspecting the print contents of the label. For example, even when labels with different print contents (i.e., labels of different types) are inspected by one inspection device, the user does not need to set inspection reference data for each type of label, so the complexity of the setting for inspecting the print contents is greatly reduced. The inspection system of this embodiment is particularly useful when inspecting a wide variety of labels in small quantities.
[0011] (1) Inspection system (1-1) System Overview An inspection system 1, which is one embodiment of the inspection system of the present invention, will be described below with reference to Figs. 1 to 10. Fig. 1 is a system configuration diagram of the inspection system 1 according to the embodiment. Fig. 2 is a diagram showing an example of a continuous paper CP used in the inspection system 1 according to the embodiment. Fig. 3 is a block diagram of the inspection system 1 according to the embodiment.
[0012] 1, the inspection system 1 includes an information processing device 2, a printer 3, a camera inspection device 4, and a winding machine 6. The winding machine 6 is configured to wind up the continuous paper CP that has passed through the camera inspection device 4 into a roll. The information processing device 2 is communicatively connected to the printer 3 and the camera inspection device 4. The printer 3 and the camera inspection device 4 are communicatively connected. There are no limitations on the communication form or communication standard, and they may be wired or wireless. In one example, the information processing device 2 and the camera inspection device 4 are connected by a LAN (Local Area Network; may be wired or wireless), the information processing device 2 and the printer 3 are connected by a USB (Universal Serial Bus) cable, and the printer 3 and the camera inspection device 4 are connected by a DIO (Digital Input Output) interface.
[0013] As shown in Fig. 2, the continuous paper CP comprises a strip-shaped backing paper PM and a plurality of labels PL (an example of a print medium) temporarily attached at predetermined intervals on the backing paper PM. The continuous paper CP is stored in the printer 3 in the form of rolled paper wound in a roll, and is pulled out from the roll when printing is to be performed. Note that Fig. 2 shows each label PL in a state in which printing has been performed. Since the labels PL are affixed to, for example, the packaging of medical supplies, strict accuracy is required for the printed contents. Therefore, the inspection system 1 inspects all the labels PL to determine whether the printed contents are appropriate.
[0014] In the inspection system 1, the inspection of the printed contents of the printed label PL is performed by the camera inspection device 4. That is, the camera inspection device 4 inspects at least a portion of the image data obtained by capturing an image of the print result of the label PL issued by the printer 3, based on inspection parameters that serve as the inspection standard. The camera inspection device 4 receives the inspection parameters from the information processing device 2, Specific inspection contents by the camera inspection device 4 will be described later.
[0015] Next, an overview of the components included in the inspection system 1 will be described with reference to FIG.
[0016] (1-2) Information processing device 2 3, the information processing device 2 includes a control unit 21, a storage unit 22, an operation input unit 23, a display unit 24, and a communication interface (communication I / F) 25. The communication interface 25 communicates with the printer 3 and the camera inspection device 4. The information processing device 2 is, for example, a personal computer, a tablet computer, or the like.
[0017] The control unit 21 is mainly configured with a microprocessor, and controls the entire information processing device 2. For example, the microprocessor included in the control unit 21 loads a label program and an inspection program recorded in the storage unit 22 and executes them. The control unit 21 is an example of a first data generating unit and a second generating unit. In this embodiment, the first data generating unit executes a label program to generate issuance data including a layout file and data on the number of labels to be issued based on the layout file in response to a user's instruction. The second data generating unit executes an inspection program to generate inspection parameters (an example of inspection reference data) that serve as the standard for inspection by the camera inspection device 4 based on the issuance data. The control unit 21 is an example of a data changing unit that changes the layout file stored in the storage unit 22.
[0018] The processes performed by executing the label program include, for example, the following processes. (1-i) Providing a GUI (Graphical User Interface) on the label printing screen, creating layout files according to user operations, and saving them Creating a layout file includes, for example, the following processes based on a user operation. -Placing one or more objects within the effective printing range of the label Define the string and / or code properties contained within each object For example, the properties of a string are the size, font type, etc., and the properties of a code are the code type, etc. Create, modify and save layout files based on the placement of objects and the properties of strings and / or codes within the objects (1-ii) Creating print data based on the input results of the strings and / or codes in the layout file (1-iii) Creating and modifying publication data (described below)
[0019] The processes performed by executing the inspection program include, for example, the following processes. (2-i) Obtaining information necessary for inspection and generating inspection parameters based on the layout file and the printing data. (2-ii) In response to a user's issuing instruction, a preview image based on the print data is displayed on the display unit 24 in such a manner that the object to be inspected can be recognized. (2-iii) Providing inspection parameters to the camera inspection device 4 for inspection settings of the camera inspection device 4 (2-iv) Controlling the timing of printing the labels by the printer 3 so that the labels are printed one by one by the printer 3 and can be inspected by the camera inspection device 4. (2-v) Obtaining the inspection results from the camera inspection device 4 and counting the number of OK sheets and the number of NG sheets. (2-vi) Recording a log of the inspection results (inspection log) in the memory unit 22
[0020] Display unit 24 includes, for example, a liquid crystal display panel, and displays the execution results of the label program and the inspection program. When display unit 24 is equipped with a display panel for touch panel input, display unit 24 constitutes a part of operation input unit 23. The execution results of the label program and the inspection program may be displayed in separate windows. The communication interface 25 communicates with at least one of the printer 3, the camera inspection device 4, and the barcode inspection device 5.
[0021] The storage unit 22 is a non-volatile memory, and may be, for example, a solid state drive (SSD) such as a flash memory, etc. The storage unit 22 stores a layout file, issuance data, and an inspection log. The operation input unit 23 includes, for example, an input device such as a pointing device or a touch panel.
[0022] Here, examples of screens that are displayed on the display unit 24 when the label program and the inspection program are executed will be described with reference to FIGS. Fig. 4 is a diagram showing a layout file creation screen of the information processing device 2 according to this embodiment. Figs. 5 and 6 are diagrams for explaining the procedure for creating a layout file. Fig. 7 is a diagram showing a label issuance screen of the information processing device 2 according to this embodiment. Figs. 8 and 9 are diagrams showing an inspection screen of the information processing device 2 according to this embodiment.
[0023] 4 shows a layout file creation screen that is displayed when the label program is executed in the information processing device 2. On the layout file creation screen, the user can design the label to be printed by the printer 3 by setting objects to be placed in the effective printing area of the label. 4 is displayed when tab T3 ("Design") is selected. Screen G1 includes an edit button group 101, a layout setting button group 102, an object setting section 201, a property setting section 202, a variable setting section 203, and a label design display section 301. The label design display section 301 corresponds to the editing area of the label, and the label is designed by arranging objects in this editing area. In the example of this embodiment, a case is shown in which a label is designed including four objects consisting of an object corresponding to the "product name" category, an object corresponding to the "expiration date" category, an object corresponding to the "serial number" category, and an object corresponding to a barcode.
[0024] The object setting section 201 is a section for performing an operation to set a new object, and allows selection of a character string, a barcode, a two-dimensional code, a figure, etc. as data contained in the object. The position of the object and the contents of the data contained in the object can be set in the property setting section 202. In the example shown in FIG. 4, in the case of an object containing a character string, the font, size, etc. of the character string can be changed in the "basic setting" of the property setting section 202. In addition, the print position of the object (i.e., the print start position), the rotation angle of the object with respect to the horizontal plane, the print color of the character string in the object, etc. can be set in the "attribute setting" of the property setting section 202. The print position of the object is, for example, the position of the top left vertex of the object defined by a predetermined rectangular area, and this position indicates the relative position with respect to the reference point of the effective print range.
[0025] By operating the buttons in the edit button group 101, it is possible to cut, copy, paste, delete, or select all objects. By operating the buttons in the layout setting button group 102, it is possible to change the position of an object or rotate an object. When a button in the layout setting button group 102 is operated, the result is also reflected in the attribute setting in the property setting section 202.
[0026] The variable setting section 203 (an example of a setting section) is a section that defines variables to be associated with each object. In this example, "item name", "expiration date", "serial number", and "JAN" are set as variable names by user operation. In this example, the names of the various items match the variable names. Note that JAN (Japanese Article Number) means JAN code (bar code). The property setting unit 202 is configured so that when an "item name" field in "basic settings" is entered in the format "inspection_***", it is interpreted that the data in the corresponding object is to be inspected. That is, in this example, since an "item name" field in "basic settings" corresponding to the "expiration date" item is entered in the format "inspection_***", the "expiration date" item is to be inspected. Similarly, for objects corresponding to the items such as "Expiration Date", "Serial Number", and "JAN", whether or not they are to be inspected can be set in the property setting unit 202. This allows the user to narrow down the items that he or she wishes to inspect from among the multiple items printed on the label, which has the advantage of improving inspection efficiency.
[0027] The method of setting the items to be inspected from among the items corresponding to each of the multiple objects, i.e., multiple items, is not limited to the method of changing the item name. For example, a GUI may be configured to provide a "Set inspection item" button or the like so that the user can select from among the options of "Item name", "Expiration date", "Serial number", and "JAN". The number of digits of each variable's value and the variable's category are set by the user. When the variable category is "input", it indicates that the variable's value is directly input by the user. Although not described here, for example, a consecutive number can be set as the variable category, in which case the count-up number (for example, one by one) can be set.
[0028] To create a layout file corresponding to the print content of the label PL shown in FIG. 2, the following procedure is performed. As shown in Fig. 5A, for a label design in which a category and frame of a predetermined format are preset, the user operates the object setting unit 201 to create a new object and place an object OBJ1 containing a character string that corresponds to the "product name" category. Similarly, as shown in Fig. 5B, an object corresponding to the "expiration date" category and an object corresponding to the "serial number" are created and placed. Fig. 5B shows the state in which the placement of object OBJ2 corresponding to the "serial number" has been completed. 6A, the user creates and places a new object OBJ3 corresponding to the barcode by operating the object setting section 201. This completes the basic design of the label. Next, when the tab is switched from tab T4 ("Design") to tab T5 ("Input definition") in the label design display area 301, the input setting area 302 in Fig. 6B is displayed. In the input setting area 302, the user directly inputs values for the variables and the number of copies to be printed corresponding to each item.
[0029] Next, when the tab T3 ("Design") is switched to the tab T2 ("Home") on the screen G1 (see FIG. 4), the screen G2 in FIG. 7 is displayed. The screen G2 includes a publish button group 401, a data display section 402, a date setting section 403, and a preview display section 404. The data display section 402 displays the values input in the input setting section 302 in FIG. 6B. The date setting section 403 is a section for setting a reference date. When the "Preview" button in the issue button group 401 is operated, a preview of the label design in a state in which the data displayed in the data display area 402 has been entered for the corresponding item is displayed in the preview display area 404. Note that the data can also be changed by entering new data in the data display area 402. When the label design is complete, a layout file based on the label design can be saved in the storage unit 22 by operating the "File" button in the group of issue buttons 401. Note that by operating the "File" button, it is also possible to selectively read out a layout file saved in the storage unit 22 and display it on the layout file creation screen for editing or printing.
[0030] 7, when the "Start printing" button of the printing button group 401 is operated, print data is generated based on the layout file and sent to the printer 3. Note that at the stage when the "Start printing" button is operated, the print data is simply sent to the printer 3, and printing by the printer 3 does not start. Furthermore, when the "Start printing" button is operated, printing data is generated. As shown in Fig. 10, the printing data is data consisting of the fields "Date", "Time", "Layout file", "Number of copies printed", "Reference date", and "Data for each item". Here, the "Layout file" field is the layout file currently being executed.
[0031] Next, the user switches the screen from the label issuing screen to the inspection screen. The inspection screen includes a button b1 ("Inspection setting"), a button b2 ("Start inspection"), a button b3 ("Stop inspection"), and an inspection result display section 501, as shown in screen G3 in FIG. In the screen G3, by operating the button b1 ("Test Settings"), a screen G31 for test settings is displayed as a separate window. The screen G31 includes a preview display section 502 in which a preview image corresponding to a layout file is displayed, and a test setting section 503 in which information required for the test obtained from the layout file is displayed. The preview image in the preview display section 502 is displayed in such a manner that the part to be tested is recognized by the user with a thick frame based on the layout file. In this example, the predetermined area determined by the object is displayed in a state in which it is surrounded by a thick frame, but this is not limited thereto. For example, the predetermined area determined by the object may be displayed in a predetermined color. With such a display mode, the user can recognize the type to be tested before issuing the label.
[0032] If there is no problem with the examination settings on screen G31, the examination settings are finalized by operating button b4 ("Reflect"). To start the inspection, the button b2 ("Start inspection") is operated on screen G4 in Fig. 9. This causes inspection parameters reflecting the inspection settings to be sent from the information processing device 2 to the camera inspection device 4 and set in the camera inspection device 4. Then, the labels corresponding to the number of labels to be issued, displayed on the data display section 402 of screen G2 in Fig. 7, are printed and issued one by one by the printer 3, and inspected by the camera inspection device 4. In this case, the preview display unit 504 displays the preview images (images of each label) obtained by image processing of the images captured by the camera inspection device 4 in a manner that allows the user to recognize the parts to be inspected. Note that in this example, the preview images are displayed in a manner in which the predetermined area determined by the object is surrounded by a thick frame, but this is not limiting.
[0033] When the inspection starts, the status changes from "Initializing" to "Inspecting" in the inspection result display area 501 of screen G4, and the inspection results for each label are displayed in the "Inspection result" column. The "Number of inspections" column for the label displays information about which label is being inspected. The "Log" column contains data entered by the user on the label issuance screen (i.e., the data displayed in the data display area 402 of screen G2 in FIG. 7). The camera inspection device 4 compares the image within the bold frame displayed in the preview display area 504 with the input data on the label issuance screen, which is included in the "Log" column.
[0034] (1-3) Printer 3 Refer again to FIG. 3, the printer 3 includes a control unit 31, a transport unit 32, a printing unit 33, a storage unit 34, and a communication interface (communication I / F) 35. The communication interface 35 communicates with the information processing device 2 and the camera inspection device 4. The printer 3 contains a roll of paper around which the continuous paper CP is wound. The printer 3 may be a stationary printer or a portable printer, and is, for example, a thermal printer such as a thermal printer or a thermal transfer printer.
[0035] The control unit 31 is mainly configured with a microprocessor, and controls the entire printer 3. For example, the microprocessor included in the control unit 31 realizes various functions by loading and executing firmware recorded in the storage unit 34. For example, the control unit 31 interprets print data received from the information processing device 2 to generate bitmap data, and controls the transport unit 32 and the printing unit 33 based on the bitmap data to perform printing. In the inspection system 1 of this embodiment, printing and issuing of each label is performed in response to an issuing instruction from the camera inspection device 4. Note that issuing of a label means discharging a printed label from the printer 3 toward the camera inspection device 4.
[0036] The storage unit 34 is a non-volatile memory, and may be, for example, an SSD such as a flash memory. The storage unit 34 also functions as a buffer that temporarily stores the print data received from the information processing device 2.
[0037] The transport unit 32 includes a platen roller, a motor drive circuit, and a stepping motor (not shown), and transports the continuous paper within the printer 3. For example, based on a transport request from the control unit 31, the motor drive circuit drives the stepping motor that controls the rotation of the platen roller, thereby transporting the continuous paper CP.
[0038] The control unit 31 sequentially sends line data, which is data for each line of bitmap data corresponding to the print data, to the printing unit 33. The printing unit 33 includes a thermal head and a head drive circuit (not shown). The thermal head includes a plurality of heating elements arranged in a line, and the head drive circuit selectively supplies current to each heating element of the thermal head based on line data sequentially sent by the control unit 31, thereby performing printing on the label PL.
[0039] (1-4) Camera inspection device 4 As shown in FIG. 3, the camera inspection device 4 includes a control unit 41, an image processing unit 42, a light source 43, a storage unit 44, and a communication interface (communication I / F) 45. The camera inspection device 4 inspects each label on the continuous paper discharged from the printer 3 based on the inspection parameters received from the information processing device 2, and transmits the inspection result of either "Inspection OK" (inspection passed) or "Inspection NG" (inspection failed) to the information processing device 2. Communication with the information processing device 2 is performed via a communication interface 45. The image processing unit 42 includes, for example, a CCD (Charge Coupled Device) type image sensor. Light emitted by the light source 43 illuminates the label PL, and the reflected light forms an image on the image sensor. The image sensor converts the reflected light into an electrical signal that represents the intensity of the light. The electrical signal is sent to the control unit 41 and converted into digital image data. The storage unit 44 is a non-volatile memory, and may be, for example, an SSD such as a flash memory. In the storage unit 44, the inspection parameters received from the information processing device 2 are recorded.
[0040] The inspection parameters (an example of inspection reference data) include at least the following information: - Events subject to testing - The position of a specific area of an object corresponding to each item to be inspected within the effective printing range of the label The type of data (character string or code) contained in the object corresponding to each item being inspected String properties (e.g. size, font) if the object contains a string If the object contains a code, the code properties (e.g., the code type)
[0041] The control unit 41 inspects the image data of each label based on the inspection parameters, and determines whether each label passes or fails the inspection. When the data included in the object to be inspected is a character string, the control unit 41 extracts (cuts out) the character information character by character from a predetermined area defined by the object in the image data, and performs character recognition processing. At that time, if character recognition is not possible because a character is missing or a line is overlapping a character, it is determined that the inspection has failed. A similar character recognition processing is also performed on the visible characters (human readable) printed below the barcode, and if character recognition is not possible, it is determined that the inspection has failed. Furthermore, the control unit 41 determines the similarity between the characters recognized from the image data and the characters that serve as the inspection standard included in the inspection parameters, and determines that the correct characters have been printed if the similarity is greater than or equal to a predetermined value.
[0042] When the data included in the object to be inspected is a barcode, the control unit 41 extracts the barcode from a predetermined area defined by the object in the image data and inspects whether the barcode can be read. If the barcode cannot be read, the inspection is failed. Alternatively, the control unit 41 may inspect the contrast, read rate, etc. of the barcode, and determine a grade of the readability of the barcode (for example, a barcode grade according to standards such as JIS and ANSI). In that case, the control unit 41 may determine that the inspection is failed if the grade is below a predetermined grade. Furthermore, the control unit 41 determines that the inspection has been passed if the data read from the barcode and the visible characters match. Alternatively, the control unit 41 may perform a three-point comparison between the data read from the barcode, the visible characters, and character strings corresponding to the item such as "expiration date" and "serial number" (character strings that serve as the inspection standard), and determine that the inspection has been passed if the comparison results match.
[0043] As a result of the above inspection, the inspection result of a printed label is judged as pass only if the inspections corresponding to all objects for the printed label pass. If the inspections corresponding to at least one object for the printed label fail, the inspection result of the printed label is judged as fail. The inspection performed by the camera inspection device 4 may include an inspection as to whether or not there is a label on the mount, and an inspection as to whether or not there is printing on the label. As described above, in this embodiment, when one label contains multiple objects to be inspected (for example, a character string and a barcode), inspection parameters are created for each object, and each object is inspected based on the corresponding inspection parameters. Therefore, it is possible to set optimal parameters according to the characteristics of the object.
[0044] (2) Operation of Inspection System 1 Next, the operation of the inspection system 1 will be described with reference to Fig. 11 and Fig. 12. Fig. 11 and Fig. 12 are each a sequence chart showing the operation of the inspection system 1 according to this embodiment. In FIG. 11, the operation of the information processing device 2 is described separately for processing performed by executing a label program and processing performed by executing an inspection program.
[0045] First, it is assumed that the user executes the label program to create a layout file (step S2) and has already saved it (step S4). It is also assumed that a layout file created by another user has been acquired and recorded in the information processing device 2. Then, when a layout file is selected and read out from the memory unit 22 of the information processing device 2 (step S6), the information processing device 2 executes the label program and inspection parameters, and as a result, a label issuance screen and an inspection screen are displayed on the display unit 24 (steps S10, S12). Next, on the label printing screen (see screen G2 in FIG. 7), a printing instruction is issued by operating the "Start printing" button of the printing button group 401 (step S16). Note that before operating the "Start printing" button, new data may be entered into any of the categories in the data display section 402 to change the data. When the "Start issuing" button is operated, the information processing device 2 generates print data and issuing data (see FIG. 10) (step S18), and transmits the print data to the printer 3 (step S20). When the printer 3 receives the print data, it records it in the memory unit 34 as a buffer (step S22), but does not perform printing at this point.
[0046] The information processing device 2 generates inspection parameters based on the issued data (step S26). As described above, the inspection parameters are data that serve as a reference when performing an inspection, such as the positions of objects corresponding to each item and data included in the objects. When the button b1 ("Test Settings") is operated on the test screen (see screen G3 in FIG. 8), a test setting window (see screen G31 in FIG. 8) is displayed based on the test parameters. Also, the information processing device 2 displays a preview image in the window based on the print data. (Step S28) . When the button b2 ("Start Examination") is operated on the examination screen (Step S30: YES), the examination process starts (Step S32). Details of the examination process are as shown in the sequence chart of FIG.
[0047] That is, in the inspection process, the information processing device 2 transmits the inspection parameters to the camera inspection device 4 (step S100), and the camera inspection device 4, having received the inspection parameters, sets the parameters (step S102). That is, a standard for performing the inspection is set based on the received inspection parameters. The timing of issuing the label and the timing of the inspection are controlled by executing an inspection program in the information processing device 2. That is, the information processing device 2 controls the timing of transmitting the inspection parameters to the camera inspection device 4, thereby controlling the timing of issuing the label and the timing of the inspection. After receiving the inspection parameters, the camera inspection device 4 transmits an issuance instruction to the printer 3. Upon receiving the issuance instruction, the printer 3 prints and issues one label based on the print data recorded in the memory unit 34 (the print data saved in step S22) (step S106). Upon completing the issuance of one label, the printer 3 transmits an issuance completion notification to the camera inspection device 4 (step S108). When the camera inspection device 4 receives a printing completion notification from the printer 3, it performs an inspection on the printed label (step S110) and transmits the inspection result (inspection passed (inspection OK) or inspection failed (inspection NG)) to the information processing device 2 (step S112). The above series of processes is repeated every time the information processing device 2 transmits the inspection parameters to the camera inspection device 4, the number of times corresponding to the number of sheets to be issued.
[0048] In one example, the information processing device 2 that has received the inspection result counts the number of OK sheets and the number of NG sheets. That is, if the inspection result is inspection OK (step S114: YES), the number of OK sheets is counted up (step S116), and if the inspection result is inspection NG (step S114: NO), the number of NG sheets is counted up (step S120). Preferably, the inspection process may be repeated until the number of OK labels reaches the number of labels to be issued (number of labels requested to be issued) (step S118). When issuance and inspection of one label is completed, the process returns to step S100, and the information processing device 2 again transmits the inspection parameters to the inspection device 4, and the processes of steps S100 to S112 are repeated. Therefore, the timing of printing the labels by the printer 3 is controlled by the information processing device 2 so that the number of labels to be issued is issued one by one by the printer 3 and can be inspected by the camera inspection device 4.
[0049] As described above, in the inspection system 1 according to this embodiment, a layout file is generated that includes object data related to objects whose contents to be printed on a label correspond to one or more types. When inspecting the printed contents of a label, inspection parameters are automatically generated based on the layout file, and inspection is performed by the camera inspection device 4 based on the inspection parameters. Therefore, the user does not need to be aware of the setting work of the camera inspection device 4 when inspecting the printed contents of a label. For example, when inspecting labels with different printed contents (i.e., labels of different types) using the camera inspection device 4, the user does not need to set inspection parameters for each type of label, which significantly reduces the complexity of settings for inspecting the printed contents.
[0050] In the inspection system 1 according to the present embodiment, when a user changes a layout file by executing a label program, printing data is created based on the changed layout file, and inspection parameters are generated based on the printing data. For example, even if the layout file is changed by changing the positions of multiple objects within the effective print area and / or by changing the character size and character font within the objects (i.e., when the label layout or characters are changed), the inspection parameters are automatically set according to the changes. Also, even if an object corresponding to a new category is added, the inspection parameters corresponding to the added object are automatically set. Therefore, the user does not need to set inspection parameters every time the layout file is changed, and is freed from the cumbersome task of setting inspections.
[0051] Although an embodiment of the information processing device and information processing method of the present invention has been described in detail above, the present invention is not limited to the above embodiment. Furthermore, the above embodiment can be improved or modified in various ways without departing from the spirit of the present invention. For example, in steps S114 to S118 of the sequence chart in Fig. 12, the printer 3 is configured to print labels until the number of OK labels reaches the requested number of labels, but this is not limited to this. Regardless of the inspection result, the printer 3 may stop printing labels when the requested number of labels has been printed. In the above embodiment, the label program and the inspection program are both executed by the information processing device 2, but this is not limited to the above. Each program may be executed by a different device. In this case, one device that executes the inspection program may obtain issuance data from the other device that executes the label program, and generate inspection parameters based on the obtained issuance data. [Explanation of symbols]
[0052] 1. Inspection system 2. Information processing device 21...Control unit 22...Storage section 23...Operation input section 24...Display section 25...Communication interface 3. Printer 31...Control unit 32...Transportation section 33...Printing section 34...Storage section 35…Communication interface 4. Camera inspection device 41...Control unit 42...Image processing unit 43…Light source 44...Storage section 45…Communication interface 6…Winding machine 101...Edit buttons 102...Layout setting buttons 201…Object setting section 202…Property setting section 203... Variable setting section 301…Label design display section 302... Input setting section 401...Submit buttons 402...Data display section 403…Date setting section 404…Preview display area 501...Test result display unit 502, 504…Preview display area 503...Inspection setting section G1~G4,G31…Screen T1~T5…Tab b1~b4…Buttons PL…Label PM…Paper CP: Continuous paper
Claims
1. An information processing device capable of communicating with an inspection device that inspects a print medium issued by a printer, a storage unit that stores a plurality of object data related to each of a plurality of objects, each object being defined by a predetermined area within an effective print range of the print medium, the object data including at least one of a character string and a code as a print target within the predetermined area; a setting unit that sets an object to be inspected by the inspection device among the plurality of objects in response to an instruction from a user; a first data generating unit that generates printing data including the plurality of object data, data indicating the object to be inspected, and data on the number of printing sheets of the print medium based on the plurality of object data in response to an instruction from a user; a second data generating unit that generates inspection reference data serving as a reference for inspection by the inspection device based on the issued data; a display unit that displays a preview image corresponding to a print result on the print medium before inspection by the inspection device in response to an instruction from the user, the preview image being displayed in a manner that enables an object to be inspected among the plurality of objects to be recognized; the setting unit, when a variable associated with each of the plurality of objects is defined, and character information in a format preset by the user is input corresponding to a variable name, sets data in the object corresponding to the variable name as a target for inspection; Information processing device.
2. a data modification unit that modifies the object data stored in the storage unit; When the object data is changed by the data change unit, the first data generation unit generates issuance data based on the changed object data, and the second data generation unit generates inspection reference data that is a reference for inspection by the inspection device based on the issuance data.
2. An information processing device according to claim 1.
3. a control unit that controls a timing of printing of the printing medium by the printer so that the printing medium of the number of printing sheets can be printed and inspected one by one; 3. An information processing device according to claim 1 or 2.
4. The recognizable aspect is an aspect in which the object to be inspected among the plurality of objects is surrounded by a thick frame or colored with a predetermined color.
4. An information processing device according to claim 1.
5. the plurality of objects are associated with each of a plurality of events; The setting unit sets an event designated by the user among the plurality of events to the test reference data.
5. An information processing device according to claim 1.
6. The inspection reference data includes data on the position of the object in the effective printing range of the print medium, or data on a character string or code included in the object.
6. An information processing device according to claim 1.
7. An information processing method in an information processing device capable of communicating with an inspection device that inspects a print medium issued by a printer, comprising: storing in advance a plurality of object data relating to each of a plurality of objects, each object being defined in a predetermined area within an effective print range of a print medium, the plurality of object data including at least one of a character string and a code as a print target within the predetermined area; In response to an instruction from a user, an object to be inspected by the inspection device is set among the plurality of objects; generating printing data including the plurality of object data, data indicating the object to be inspected, and data on the number of print media to be printed based on the plurality of object data in response to a printing instruction from a user; displaying a preview image corresponding to a print result on the print medium, the preview image being displayed in such a manner that an object to be inspected among the plurality of objects can be recognized, before the inspection by the inspection device, in response to an instruction from the user; generating inspection reference data that serves as a reference for inspection by the inspection device based on the issued data; When a variable associated with each of the plurality of objects is defined, if character information in a format preset by the user is input corresponding to a variable name, data in the object corresponding to the variable name is set as a target for inspection. Information processing methods.
Citation Information
Patent Citations
Medical material and management of the sane
JP1998010978A
Printing check system
JP2005022266A
Visual inspection device and visual inspection method
JP2010071951A
Printed matter inspection device
JP2011158421A
Printer sheet authenticity determination system
JP2017141065A
