WO2023171456A1 - Determination system, terminal device, determination method, and program - Google Patents

Determination system, terminal device, determination method, and program Download PDF

Info

Publication number
WO2023171456A1
WO2023171456A1 PCT/JP2023/007169 JP2023007169W WO2023171456A1 WO 2023171456 A1 WO2023171456 A1 WO 2023171456A1 JP 2023007169 W JP2023007169 W JP 2023007169W WO 2023171456 A1 WO2023171456 A1 WO 2023171456A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
slip
error
determination
areas
Prior art date
Application number
PCT/JP2023/007169
Other languages
French (fr)
Japanese (ja)
Inventor
将司 山本
裕樹 小林
Original Assignee
パナソニックIpマネジメント株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by パナソニックIpマネジメント株式会社 filed Critical パナソニックIpマネジメント株式会社
Publication of WO2023171456A1 publication Critical patent/WO2023171456A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/12Detection or correction of errors, e.g. by rescanning the pattern
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/412Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables

Definitions

  • the present disclosure relates to a determination system, a terminal device, a determination method, and a program.
  • Patent Document 1 discloses a system in which information such as a postal code, address, name, or telephone number of a slip is registered in a correct database, and the read content is corrected using the information in the correct database. Further, Patent Document 2 discloses a configuration in which an address character string is corrected by comparing the result of reading an address on a slip with correct address data stored in advance.
  • the present disclosure was devised in view of the above-mentioned conventional circumstances, and provides a determination system, a terminal device, a determination method, which recognizes character strings entered on a slip, and notifies a worker in the case of nonconformity and prompts the operator to make corrections. and programs.
  • the present disclosure is a determination system that determines the contents filled in a slip in the delivery of a package, and includes an image acquisition unit that obtains a slip image in which the slip is photographed, and a unit that indicates entry fields in the slip from the slip image. or a detection unit that detects a plurality of areas; a character recognition unit that performs character recognition on each of the one or more areas to identify written character information; and character information specified by the character recognition unit; an error determination unit that determines an error based on predefined entry rules for the one or more areas; and a notification unit that notifies the area determined to be an error based on the determination by the error determination unit.
  • the present invention provides a determination system that has the following features.
  • the present disclosure also includes a photographing unit that photographs a voucher image of a voucher in the delivery of a package, a requesting unit that requests a server to make an error determination for the voucher image, and one or more areas included in the voucher image.
  • a receiving unit that receives from the server the result of the error determination of the character information entered in the text information, a receiving unit that notifies the area determined to be an error by the error determination and receives correction information for the area, and the receiving unit and a transmitter that transmits correction information received at the server to the server.
  • the present disclosure provides that the processor cooperates with the memory to acquire a slip image in which a slip for delivery of a package is photographed, and detects one or more areas indicating entry fields in the slip from the slip image; Performing character recognition on each of the one or more areas, identifying written character information, and based on the identified character information and writing rules predefined for the one or more areas, A determination method is provided in which an error determination is performed and an area determined as an error is notified by the error determination.
  • the present disclosure also provides a process for a computer to acquire a slip image in which a slip for delivery of a package is photographed, a process for detecting from the slip image one or more areas indicating entry fields in the slip; or a process of performing character recognition on each of a plurality of areas and specifying written character information, and based on the specified character information and writing rules predefined for the one or more areas,
  • a program is provided for executing a process of determining an error and a process of notifying an area determined to be an error.
  • Block diagram illustrating an example configuration of a system according to Embodiment 1 Block diagram showing an example of functional configuration of each device according to Embodiment 1 External perspective view for explaining the terminal device according to Embodiment 1
  • Conceptual diagram showing a schematic structure of a slip according to Embodiment 1 Conceptual diagram showing a configuration example of a prohibition rule DB according to Embodiment 1
  • Sequence diagram of processing according to Embodiment 1 Schematic diagram showing a configuration example of a UI screen according to Embodiment 1
  • Schematic diagram showing a configuration example of a UI screen according to Embodiment 1 Schematic diagram showing a configuration example of a UI screen according to Embodiment 1
  • Schematic diagram showing a configuration example of a UI screen according to Embodiment 1 Schematic diagram showing a configuration example of a UI screen according to Embodiment 1
  • FIG. 1 is a block diagram showing a configuration example of a determination system 1 according to the present embodiment.
  • the determination system 1 according to this embodiment is configured to include a terminal device 100 and a server 200.
  • the terminal device 100 and the server 200 are communicably connected via a network 300.
  • one terminal device 100 and one server 200 are shown to simplify the explanation, but the present invention is not limited to this.
  • a plurality of terminal devices 100 may be configured to be able to communicate with the server 200.
  • the server 200 may be composed of a plurality of information processing devices from the viewpoint of load distribution, function distribution, and the like.
  • the terminal device 100 is a device used by a user such as a delivery person, and may be, for example, a POS (Point of Sales) terminal, a smartphone, a mobile terminal such as a tablet terminal, or the like.
  • the terminal device 100 includes a control section 101, a memory 102, a camera 103, an input section 104, a display section 105, and a communication section 106.
  • the control unit 101 controls the entire processing of the terminal device 100, and includes, for example, a CPU (Central Processing Unit), an MPU (Micro Processing Unit), a DSP (Digital Signal Processor), and a GP.
  • U Graphical Processing Unit
  • FPGA Field Programmable Gate
  • the memory 102 is a storage area for storing and holding various data and programs, and includes, for example, ROM (Read Only Memory), which is a nonvolatile storage area, and RAM (Random Access Memory), which is a volatile storage area. Consists of etc.
  • the camera 103 is a photographing unit for photographing the surroundings of the terminal device 100.
  • the input unit 104 accepts operations from the user of the terminal device 100.
  • the display unit 105 displays a screen presenting various information. Note that a touch panel display in which the input section 104 and the display section 105 are integrated may be used.
  • the communication unit 106 communicates with an external device via the network 300.
  • the communication method by the communication unit 106 is not particularly limited, and may be compatible with a plurality of communication methods. For example, WAN (Wide Area Network), LAN (Local Area Network), power line communication, short-range wireless communication (eg, Bluetooth (registered trademark)), etc. may be used.
  • the server 200 is an information processing device that executes the processing according to this embodiment in response to a request from the terminal device 100.
  • the server 200 includes a control section 201, a storage section 202, a UI (User Interface) section 203, and a communication section 204.
  • the control unit 201 controls the entire processing of the server 200, and may be configured using, for example, a CPU, an MPU, a DSP, a GPU, or an FPGA.
  • the storage unit 202 is a storage area for storing and holding various data and programs, and includes, for example, a ROM or HDD (Hard Disk Drive) that is a nonvolatile storage area, and a RAM that is a volatile storage area. be done.
  • the UI unit 203 accepts operations from the user of the server 200 and outputs various information.
  • the communication unit 204 communicates with an external device via the network 300.
  • the communication method used by the communication unit 204 is not particularly limited, and may be compatible with a plurality of communication methods. For example, WAN, LAN, power line communication, short-range wireless communication, etc. may be used.
  • FIG. 2 is a block diagram showing an example of the functional configuration of the terminal device 100 and the server 200 according to the present embodiment. Note that the configuration shown in FIG. 2 is an example, and each part may be divided into more detailed parts, or a plurality of parts may be grouped together. Each part shown in FIG. 2 is realized by each device shown in FIG. 1 working together.
  • FIG. 2(a) shows an example of the functional configuration of the terminal device 100 according to the present embodiment.
  • the image acquisition unit 151 acquires an image of a slip (hereinafter also referred to as a "slip image") captured by the camera 103 according to a user's operation.
  • the image transmitter 152 transmits the slip image acquired by the image acquirer 151 to the server 200.
  • the determination result acquisition unit 153 acquires the determination result for the slip image transmitted by the image transmission unit 152. Details of the determination process according to this embodiment will be described later.
  • the determination result display unit 154 displays a screen showing the determination result obtained by the determination result acquisition unit 153 via the display unit 105.
  • the character information correction unit 155 receives an input of correction information for resolving the error, and transmits it to the server 200 .
  • the correction information may be information other than character strings, such as a correct character string that conforms to the entry rules of the slip, but an instruction to ignore portions that violate the entry rules.
  • FIG. 2(b) shows an example of the functional configuration of the server 200 according to the present embodiment.
  • the image receiving unit 251 receives a slip image from the terminal device 100.
  • the image correction unit 252 performs correction processing on the slip image received by the image reception unit 251.
  • the correction processing here is not particularly limited, for example, trapezoidal correction, color correction, noise removal, etc. may be performed. Note that the correction process may be omitted if the slip image is in a sufficient state for subsequent processing.
  • the item area detection unit 253 detects a plurality of item areas from the slip image based on predefined format information of the slip. It is assumed that the format information of the slip is information that defines the position, size, number, etc.
  • the item area is an area where some information (more specifically, a character string) is entered by handwriting or the like by the user of the slip. Note that depending on the item, a single character may be input, or a character string composed of multiple characters may be input, but this is not particularly limited.
  • the character recognition unit 254 recognizes written characters in each of the plurality of item areas detected by the item area detection unit 253. Character recognition here is not particularly limited, and may use, for example, a well-known OCR (Optical Character Recognition) function or a learned model generated by machine learning.
  • the error determination unit 255 performs error determination based on the character string recognized by the character recognition unit 254 and the prohibition rule set for the item area in which the character string has been entered.
  • the prohibition rule corresponds to the entry rule set for each item of the actual slip. It is assumed that the prohibition rules according to this embodiment are defined in advance and stored in the storage unit 202 of the server 200 or the like. The prohibition rules may be managed in association with the format information described above. A specific example of the prohibition rule according to this embodiment will be described later using FIG. 5.
  • the determination result notification unit 256 transmits the determination result by the error determination unit 255 to the terminal device 100 as a response to the received slip image.
  • the determination result here may include information on the characters recognized in each item area, in addition to information regarding the presence or absence of an error.
  • the determination result aggregation unit 257 totals the determination results by the error determination unit 255. In this calculation, correction information received from the terminal device 100 in response to the determination result notified by the determination result notification unit 256 may be taken into consideration.
  • the character information output unit 258 receives correction information from the terminal device 100 in response to the content notified by the determination result notification unit 256, and registers it as corrected information in association with the item area. Further, the character information output unit 258 outputs the recognized or corrected and registered character information.
  • the output destination of the character information output unit 258 may be a slip management server (not shown) that manages the information written on the slip, a delivery management server (not shown) that manages the delivery status of the slip, or the like.
  • each server may treat the received character information as correct information written on the slip, regardless of whether or not it has been corrected.
  • FIG. 3 is an external perspective view showing an example in which the terminal device 100 according to the present embodiment photographs a slip 400 and obtains an image of the slip.
  • the user of the terminal device 100 photographs the slip 400 so that the entire slip 400 is included in the slip image.
  • the shooting settings of the slip 400 are not particularly limited, and may be predefined or may be adjustable by the user of the terminal device 100.
  • the terminal device 100 may be configured to present a UI screen (not shown) prompting the user to take a photograph of the slip 400.
  • FIG. 4 is a diagram showing a configuration example of a slip 400 according to the present embodiment.
  • the structure of the slip shown here is an example, and the structure is not limited to this.
  • information regarding the structure of the slip 400 is defined as format information.
  • format information corresponding to each of a plurality of types of slips may be defined.
  • prohibition rules corresponding to each of the plurality of item areas included in the slip 400 are defined.
  • an example of a slip used for delivery by cash on delivery is shown.
  • Item 401 is an entry field for entering the postal code of the delivery destination of the package.
  • Item 402 is an entry field for entering the contact information (more specifically, the telephone number) of the delivery destination of the package.
  • Item 403 is an entry column for entering the address and name of the delivery destination of the package.
  • Item 404 is an entry field for entering the postal code of the shipping source of the package.
  • Item 405 is an entry column for entering the address and name of the destination of the package.
  • Management information 406 is inquiry information used when inquiring about the status of the actual delivery.
  • Item 407 is an entry column for entering the desired delivery date of the package.
  • Item 408 is an entry column for entering the contents (items) of the package.
  • Item 409 is an entry column for entering the cash on delivery amount.
  • the prohibition information 410 is information indicating precautions and prohibitions when filling in a predetermined item.
  • FIG. 5 is a diagram showing an example of prohibition rules according to the present embodiment.
  • Prohibition rules serving as entry rules are set corresponding to each item (entry field) included in the slip 400.
  • the item names are just examples and are not limited to these.
  • a plurality of prohibition rules may be set for one item, or no prohibition rule may be set.
  • the prohibition rule "Check two or more options” is set for the item "Delivery time zone". This is when the item “Delivery time zone” is configured to select one from multiple options (for example, "No specification”, “Morning", “14:00 to 16:00”, etc.). The condition is that the above selections are prohibited. As a result of character recognition, if two or more selections are detected from the item area of the item "Delivery time zone", an error occurs. Note that the check may be detected by treating and recognizing a symbol indicating "check" as character information.
  • the prohibition rule "Less than 7 digits” is set for the item "Postal code”. This is based on the condition that if the item "zip code” has a frame so that seven digits can be entered, entry of character strings of less than seven digits is prohibited. As a result of character recognition, if a character string of less than 7 digits is detected from the item area of the item "zip code", an error occurs.
  • the prohibition rule "Characters other than numbers” is set for the item "Delivery date”. This is on the condition that the entry of characters other than numbers in the item "desired delivery date” is prohibited. As a result of character recognition, an error occurs if characters other than numbers are detected in the item area of the item "Delivery date”.
  • the prohibition rule "Date and time before the current date” is set for the item "Delivery date”. This is on the condition that entry of a date before the check date is prohibited in the item "desired delivery date”.
  • the current date set in the terminal device 100 may be used as the current date, or the current date may be obtained from the server 200.
  • checking may be performed in even more detailed units such as hours and minutes. Alternatively, the check may be performed in units of time slots such as morning and afternoon. The unit to be checked may differ depending on the type of slip.
  • the prohibition rule "If the sender's or recipient's address is on a remote island, the current date" is set. This is based on the condition that in the item ⁇ Desired delivery date'', if the item ⁇ Delivery destination'' is a remote island, entry of a date before the check date is prohibited. In other words, conditions are set assuming that delivery is not realistically possible due to distance or time constraints. As a result of character recognition, if the item "Delivery destination” is a remote island (or a certain distance or more), and the date detected from the item area of the item "Delivery date” is before the check date. An error occurs if the date is a date.
  • the prohibition rule “Size too small/too large compared to the size inferred from the product name” is set. This assumes that there is a correlation between the item “Size” and the item “Product Name”, and if a size range corresponding to the product name is defined in advance, the size for the product name will be prohibited from exceeding the range. It is a condition. As a result of character recognition, an error occurs if the size detected from the item area of the item "Size” is larger or smaller than the size range set corresponding to the character string detected from the item area of the item "Product name”. becomes. Note that if the correlation between "size” and "product name” cannot be estimated, such as when an unknown product name is recognized, it may not be handled as an error.
  • the configuration may be such that one of the plurality of items is referred to first, and the next item is determined based on the reference result.
  • a configuration may be adopted in which priorities are set for the items and the items are determined in order of priority.
  • calendar information, map information, etc. may be used to determine the above-mentioned prohibition rule.
  • the priority may be, for example, the same as the priority of the determination described above.
  • the priority of errors that are less susceptible to misrecognition of character information may be given higher than other errors. This is because if the character information is misrecognized, there may be no need to correct the slip. Specifically, if an error that the number of digits in the postal code is insufficient and an error that the character type of the postal code is incorrect occur at the same time, the error related to the number of digits is displayed preferentially.
  • FIG. 6 shows a processing sequence of determination processing according to this embodiment.
  • the processing in each step of this processing sequence is realized by the control section of each device reading and executing various programs stored in the storage device.
  • the processing subject is shown as a device. Note that the content and timing of data transmitted and received between the terminal device 100 and the server 200 are not limited to those shown in FIG. 6, and data can be further transmitted and received between the devices according to requests. good.
  • the terminal device 100 Based on the user's operation, the terminal device 100 performs an operation of photographing the slip 400 using the camera 103 (step S601).
  • the photographing of the slip 400 may be performed after operating a predetermined application.
  • the configuration may be such that the user is prompted to adjust the shooting range and shooting settings so that an appropriate slip image can be obtained for character recognition.
  • the terminal device 100 transmits the slip image photographed in the photographing operation of step S601 to the server 200 (step S602). At this time, various information on the terminal device 100 may be transmitted to the server 200 together with the photographed image.
  • the server 200 receives the slip image transmitted from the terminal device 100 in step S602 (step S603).
  • the server 200 performs a correction process on the slip image received in step S603 (step S604).
  • the content of the correction process here is not particularly limited, and may be omitted depending on the quality of the received slip image.
  • the server 200 detects a plurality of item areas corresponding to the entry fields of the slip from the slip image (step S605).
  • the server 200 specifies the type of slip that is photographed as a slip image, and further detects an item area based on format information predefined for the specified type of slip. The size, arrangement, number, etc. of item areas are defined depending on the type of slip. At this time, if the type of slip or item area cannot be detected from the slip image, the terminal device 100 may be notified and instructed to transmit the slip image again.
  • the server 200 performs character recognition processing on each of the plurality of item areas detected in step S605 (step S606).
  • the character recognition method is not particularly limited, and a trained model generated by known OCR technology or machine learning may be used.
  • the server 200 associates and stores item areas and character strings recognized through character recognition.
  • the server 200 uses the result of the character recognition in step S606 and the prohibition rule as shown in FIG. 5 to determine an error in the entry content in each item area (step S607).
  • the error determination here may be performed sequentially starting from a predetermined item area, or may be performed according to the order in which the prohibition rules are applied.
  • step S607 the server 200 determines whether there is at least one item area that corresponds to the prohibition rule (step S608). If there is an item area that corresponds to the prohibition rule (step S608; YES), the process of the server 200 proceeds to step 609. On the other hand, if there is no item area that corresponds to the prohibition rule (step S608; NO), the process of the server 200 proceeds to step S615.
  • the server 200 Based on the fact that an error occurred in the error determination process in step S607, the server 200 notifies the terminal device 100 of the error contents for each item (step S609). If a plurality of errors occur due to a prohibition rule, the contents of the plurality of errors may be notified at once. Additionally, the server 200 also notifies the character information recognized in the item area corresponding to the error.
  • the terminal device 100 receives the error details notified from the server 200 in step S609 (step S610).
  • the terminal device 100 displays a UI screen according to the error content received in step S610 (step S611).
  • a configuration example of the UI screen will be described later using FIG. 7.
  • the terminal device 100 presents the character information recognized in the item area corresponding to the error via the UI screen, and accepts correction information for the character information (step S612).
  • a configuration example of the UI screen will be described later using FIG. 8.
  • the terminal device 100 transmits the correction information received in step S612 to the server 200 (step S613).
  • the server 200 receives the correction information transmitted from the terminal device 100 in step S613, and stores it as character information in the corresponding item area (step S614). Then, the server 200 returns to step S607, executes the error determination process again based on the correction information, and repeats the subsequent process.
  • the server 200 transfers the character information corresponding to each of the plurality of item areas to a predetermined transfer destination (step S615).
  • the transfer destination here may be, for example, a slip management server (not shown) that manages the information written on the slip, a delivery management server (not shown) that manages the delivery status of the slip, or the like. Note that if the server 200 is configured to be integrated with these servers, this step may be omitted. Further, the server 200 may be configured to notify the terminal device 100 that the character recognition of the slip has been successfully completed together with the recognition result. Then, this processing sequence ends.
  • each UI screen shown below may be configured as a web screen displayed on a web browser (not shown) included in the terminal device 100, or may be configured as a web screen that is installed on the terminal device 100 and executed by the control unit 101. It may be configured as a screen of a functioning application.
  • FIG. 7 is an example of the configuration of a UI screen 700 for notifying error details, for example, in the process of step S611 in FIG. 6.
  • a UI screen 700 for notifying error details, for example, in the process of step S611 in FIG. 6.
  • information 701 of the corresponding prohibition rule is displayed.
  • Information 702 regarding more detailed contents of the prohibition rule is also shown.
  • the OK button 703 is pressed, the UI screen 700 is closed. In this case, you may transition to a UI screen 800 shown in FIG.
  • FIG. 8 is a configuration example of a UI screen 800 for receiving correction information, for example, in the process of step S612 in FIG. 6.
  • FIG. 8(a) shows a display example when character recognition has failed
  • FIG. 8(b) shows a display example when character recognition has succeeded.
  • the item "zip code" will be explained as an example.
  • an item area 801 detected from the slip image is displayed.
  • "9650072” is entered.
  • character information 802 obtained by performing character recognition on the item area 801 is displayed in an area that can be modified.
  • "965A072” is recognized as the character information 802. Error determination processing is performed based on the items in item area 801 and the content of character information 802, which is the result of character recognition.
  • the character "A" which is not normally used in postal codes, is included, it is determined as an error that it falls under the prohibition rule.
  • an item area 811 detected from the slip image is displayed.
  • "965A072" is entered.
  • character information 812 obtained by performing character recognition on the item area 811 is displayed in an area that can be modified.
  • "965A072" is recognized as the character information 802.
  • Error determination processing is performed based on the items in item area 811 and the content of character information 812, which is the result of character recognition.
  • the character "A" which is not normally used in postal codes, is included, it is determined as an error that it falls under the prohibition rule.
  • the user can send the corrected information to the server 200 by correcting the content of the text information 812, checking the check box 813, and pressing the OK button 814.
  • the UI screen 810 may be closed.
  • FIG. 9 shows a configuration example of a UI screen 900 as a result of aggregation processing based on error determination results according to the present embodiment.
  • the execution timing of the aggregation process is not particularly limited, but it may be performed based on instructions from the administrator of the server 200, or may be performed by the user of the terminal device 100 inquiring the server 200. Alternatively, the configuration may be such that the aggregation process is performed at the timing of step S615 in FIG.
  • the UI screen 900 may be displayed on the display unit 105 of the terminal device 100 or may be displayed on the UI unit 203 of the server 200.
  • the UI screen 900 On the UI screen 900, the total results based on the items and prohibition rules are shown in a table format.
  • the UI screen 900 may be configured to be able to switch the tally results depending on the type of slip, or may display the tally results of multiple types of slips all at once.
  • Item 901 indicates each entry column in the slip 400.
  • Item 902 indicates the priority of the entry fields included in the slip 400. For example, depending on the priority value, it indicates which items are prioritized when there is a mismatch between the entries in the entry fields.
  • Item 903 indicates the prohibition rule that was applicable at the time of error determination.
  • Item 904 indicates a count value of the number of times an error has occurred.
  • the determination system 1 includes the image receiving unit 251 that acquires a slip image in which the slip is photographed from the terminal device 100, and detects one or more item areas indicating entry fields in the slip from the slip image.
  • a character recognition unit 254 that performs character recognition on each of one or more areas to identify written character information; and character information identified by the character recognition unit 254, and one or more an error determination unit 255 that performs an error determination based on a prohibition rule predefined for the item area; and a determination result notification that notifies the terminal device 100 of the area determined as an error by the error determination unit 255. 256.
  • the determination result notification unit 256 can select whether the error is caused by a mistake in filling out the slip or a recognition error by the character recognition unit 254. Display and accept. This makes it possible to perform appropriate aggregation processing even if a misrecognition occurs on the system side.
  • the determination result notifying unit 256 receives correction information for the area determined to be an error by the determination by the error determining unit 255. Further, the determination system 1 includes a character information output unit 258 that corrects the character information of a corresponding area among one or more areas based on the received correction information. As a result, it is possible to receive correction information indicating the content of correction for an item on a slip in which an error has occurred, and furthermore, based on the correction information, it is possible to appropriately utilize information related to the slip.
  • prohibition rules are defined for each type of slip. This makes it possible to define entry prohibition rules depending on the type of slip.
  • the prohibition rule is defined for each of one or more item areas included in the slip. This makes it possible to define entry prohibition rules corresponding to each item area included in the slip.
  • the fed-back tally results can be used as hints for correcting the form to a format that is less prone to errors, such as changing the explanation of entry rules for error-prone items to easier-to-understand content.
  • the information may be displayed on the terminal device 100 so that items that are likely to cause errors are checked in a focused manner. In this case, on the UI screen that notifies the user of the error, information (for example, a thick frame, etc.) indicating items that should be checked with priority may be displayed superimposed on the slip image.
  • the configuration can be configured to display the error details one by one and accept corrections based on the above-mentioned priority. Alternatively, the configuration may be such that corrections are accepted all at once.
  • the server may be configured to estimate the correction content.
  • the estimation result as the correction content may be displayed on the UI screen, and the user may select whether or not to perform the correction based on the estimation result.
  • the system is configured to support the user's correction work by linking with a device for correcting the slip, depending on the result.
  • the device here includes, for example, a printing device that prints documents such as stickers, and is configured to correct the target part of the slip by printing and outputting a sticker with the content based on the correction result. It's fine.
  • the corrected character information is provided to the slip management server and delivery management server, but in this state, even if the correct contents of the slip are recorded as data in the server, the characters of the slip itself are It remains as it was before the correction.
  • a delivery person who visually checks the characters written on the slip and makes the delivery cannot directly recognize the corrected information. Therefore, if a correction occurs, by correcting the slip itself using the sticker, the contents recorded on the server and the contents visually checked by the delivery person can be aligned.
  • a sticker is printed as a document for correcting a mistake in entry, but other documents may be printed, such as reprinting the entire slip. If a sticker is used, the size of the printing device can be reduced by printing the sticker only on the portion corresponding to the corrected area. However, if the user pastes the sticker in the wrong place, or if the sticker peels off during shipping, there is a risk that the corrected information will be lost.
  • the format of the printed document may be any other format as long as the revised content is directly or indirectly communicated to the delivery person. For example, there may be a document stating that there are corrections, or a document on which a URL, two-dimensional code, etc. for accessing a server where correct data is recorded is printed.
  • a slip for delivery of a package has been described as an example.
  • the idea of the above embodiments may be applied to slips and documents other than delivery of packages.
  • documents submitted to government offices have rules for filling out fields, such as fields in which corrections are prohibited.
  • the idea of this embodiment is applied to documents other than package delivery slips, it may be possible to deal with rules that do not need to be considered in package delivery.
  • the user is prompted to input correction information.
  • a check result indicating that the determination could not be made may be further output. By doing so, it is possible to prompt the user to make additional confirmations.
  • a specific example of a case where the determination cannot be made is when the item is unknown when checking the correlation between the item and the size.
  • the configuration is not limited to this, and a configuration in which these parts are provided on the terminal device 100 side may be used. In such a case, the content of data transmitted and received between the terminal device 100 and the server 200 may be changed depending on the division of processing by each part.
  • programs and applications for realizing the functions of one or more embodiments described above may be supplied to a system or device using a network or a storage medium, and one or more processors in a computer of the system or device may This can also be achieved by reading and executing a program.
  • circuit that realizes one or more functions (for example, an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array)).
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • the above functions may be configured on a network using cloud computing technology.
  • the terminal device can utilize the various functions described above via the network.
  • the present disclosure is useful as a determination system, terminal device, determination method, and program that can improve convenience in processing slips for users.
  • Judgment system 100 Terminal device 101... Control section 102... Memory 103... Camera 104... Input section 105... Display section 151... Image acquisition section 152... Image transmission section 153... Judgment result acquisition section 154... Judgment result display section 155... Character information correction unit 200...Server 201...Control unit 202...Storage unit 203...UI unit 204...Communication unit 251...Image reception unit 252...Image correction unit 253...Item area detection unit 254...Character recognition unit 255...Error determination unit 256 ...Judgment result notification section 257...Judgment result aggregation section 258...Character information output section 300...Network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Character Input (AREA)
  • Character Discrimination (AREA)

Abstract

This determination system has: an image acquisition unit for acquiring a voucher image in which a voucher is imaged; a detection unit for detecting, from the voucher image, one or more regions indicating entry columns in the voucher; a character recognition unit for performing character recognition on each of the one or more regions and specifying entered character information; an error determination unit for performing error determination on the basis of the character information specified by the character recognition unit and an entry rule defined in advance for each of the one or more regions; and a notification unit for providing notification of a region determined as an error by the determination by the error determination unit.

Description

判定システム、端末装置、判定方法、およびプログラムJudgment system, terminal device, judgment method, and program
 本開示は、判定システム、端末装置、判定方法、およびプログラムに関する。 The present disclosure relates to a determination system, a terminal device, a determination method, and a program.
 特許文献1には、伝票の郵便番号、住所、氏名、または電話番号の情報を正解データベースに登録し、正解データベースの情報を利用して読み取り内容の補正を行うシステムが開示されている。また、特許文献2では、伝票における住所の読み取り結果と、事前に蓄積した住所の正解データとを照合して、住所文字列を訂正する構成が開示されている。 Patent Document 1 discloses a system in which information such as a postal code, address, name, or telephone number of a slip is registered in a correct database, and the read content is corrected using the information in the correct database. Further, Patent Document 2 discloses a configuration in which an address character string is corrected by comparing the result of reading an address on a slip with correct address data stored in advance.
日本国特開2020-009323号公報Japanese Patent Application Publication No. 2020-009323 日本国特開平3-257693号公報Japanese Patent Application Publication No. 3-257693
 本開示は、上述した従来の事情を鑑みて案出され、伝票にて記入された文字列を認識し、不適合な場合には作業者に通知、訂正を促す判定システム、端末装置、判定方法、およびプログラムを提供することを目的とする。 The present disclosure was devised in view of the above-mentioned conventional circumstances, and provides a determination system, a terminal device, a determination method, which recognizes character strings entered on a slip, and notifies a worker in the case of nonconformity and prompts the operator to make corrections. and programs.
 本開示は、荷物の配達における伝票への記入内容を判定する判定システムであって、前記伝票が撮影された伝票画像を取得する画像取得部と、前記伝票画像から前記伝票における記入欄を示す1または複数の領域を検出する検出部と、前記1または複数の領域それぞれに文字認識を行い、記入された文字情報を特定する文字認識部と、前記文字認識部にて特定された文字情報と、前記1または複数の領域に対して予め規定された記入規則とに基づいて、エラー判定を行うエラー判定部と、前記エラー判定部の判定によりエラーと判定された領域を通知する通知部と、を有する判定システムを提供する。 The present disclosure is a determination system that determines the contents filled in a slip in the delivery of a package, and includes an image acquisition unit that obtains a slip image in which the slip is photographed, and a unit that indicates entry fields in the slip from the slip image. or a detection unit that detects a plurality of areas; a character recognition unit that performs character recognition on each of the one or more areas to identify written character information; and character information specified by the character recognition unit; an error determination unit that determines an error based on predefined entry rules for the one or more areas; and a notification unit that notifies the area determined to be an error based on the determination by the error determination unit. The present invention provides a determination system that has the following features.
 また、本開示は、荷物の配達における伝票が撮影された伝票画像を撮影する撮影部と、前記伝票画像に対するエラー判定をサーバに要求する要求部と、前記伝票画像に含まれる1または複数の領域に記入された文字情報の前記エラー判定の結果を前記サーバから受信する受信部と、前記エラー判定によりエラーと判定された領域を通知し、当該領域に対する訂正情報を受け付ける受付部と、前記受付部にて受け付けた訂正情報を前記サーバに送信する送信部と、を有する端末装置を提供する。 The present disclosure also includes a photographing unit that photographs a voucher image of a voucher in the delivery of a package, a requesting unit that requests a server to make an error determination for the voucher image, and one or more areas included in the voucher image. a receiving unit that receives from the server the result of the error determination of the character information entered in the text information, a receiving unit that notifies the area determined to be an error by the error determination and receives correction information for the area, and the receiving unit and a transmitter that transmits correction information received at the server to the server.
 また、本開示は、プロセッサがメモリと協働して、荷物の配達における伝票が撮影された伝票画像を取得し、前記伝票画像から前記伝票における記入欄を示す1または複数の領域を検出し、前記1または複数の領域それぞれに文字認識を行い、記入された文字情報を特定し、前記特定された文字情報と、前記1または複数の領域に対して予め規定された記入規則とに基づいて、エラー判定を行い、前記エラー判定によりエラーと判定された領域を通知する、判定方法を提供する。 Further, the present disclosure provides that the processor cooperates with the memory to acquire a slip image in which a slip for delivery of a package is photographed, and detects one or more areas indicating entry fields in the slip from the slip image; Performing character recognition on each of the one or more areas, identifying written character information, and based on the identified character information and writing rules predefined for the one or more areas, A determination method is provided in which an error determination is performed and an area determined as an error is notified by the error determination.
 また、本開示は、コンピュータに、荷物の配達における伝票が撮影された伝票画像を取得する処理と、前記伝票画像から前記伝票における記入欄を示す1または複数の領域を検出する処理と、前記1または複数の領域それぞれに文字認識を行い、記入された文字情報を特定する処理と、前記特定された文字情報と、前記1または複数の領域に対して予め規定された記入規則とに基づいて、エラー判定を行う処理と、エラーと判定された領域を通知する処理と、を実行させるためのプログラムを提供する。 The present disclosure also provides a process for a computer to acquire a slip image in which a slip for delivery of a package is photographed, a process for detecting from the slip image one or more areas indicating entry fields in the slip; or a process of performing character recognition on each of a plurality of areas and specifying written character information, and based on the specified character information and writing rules predefined for the one or more areas, A program is provided for executing a process of determining an error and a process of notifying an area determined to be an error.
 なお、以上の構成要素の任意の組み合わせ、本開示の表現を方法、装置、システム、記憶媒体、コンピュータプログラムなどの間で変換したものもまた、本開示の態様として有効である。 Note that any combination of the above components and the expressions of the present disclosure converted between methods, devices, systems, storage media, computer programs, etc. are also effective as aspects of the present disclosure.
 本開示によれば、ユーザの伝票処理における利便性を向上させることが可能となる。 According to the present disclosure, it is possible to improve the convenience of the user in processing slips.
実施の形態1に係るシステムの構成例を示すブロック図Block diagram illustrating an example configuration of a system according to Embodiment 1 実施の形態1に係る各装置の機能構成の例を示すブロック図Block diagram showing an example of functional configuration of each device according to Embodiment 1 実施の形態1に係る端末装置を説明するための外観斜視図External perspective view for explaining the terminal device according to Embodiment 1 実施の形態1に係る伝票の概略構成を示す概念図Conceptual diagram showing a schematic structure of a slip according to Embodiment 1 実施の形態1に係る禁止ルールDBの構成例を示す概念図Conceptual diagram showing a configuration example of a prohibition rule DB according to Embodiment 1 実施の形態1に係る処理のシーケンス図Sequence diagram of processing according to Embodiment 1 実施の形態1に係るUI画面の構成例を示す概略図Schematic diagram showing a configuration example of a UI screen according to Embodiment 1 実施の形態1に係るUI画面の構成例を示す概略図Schematic diagram showing a configuration example of a UI screen according to Embodiment 1 実施の形態1に係るUI画面の構成例を示す概略図Schematic diagram showing a configuration example of a UI screen according to Embodiment 1
(本開示に至る経緯)
 従来、荷物などを配送するために用いられる配送伝票(以下、単に「伝票」と称する)内の各記入欄(以下、「項目」とも称する)に記入された文字列を認識し、これを訂正する技術が多く知られている。一方、伝票内には様々な項目があり、項目によっては特殊な記入ルールが規定されている場合がある。この場合、記入された文字自体は正しいものであっても、その項目に対して規定されている記入ルールを満たしていない場合がある。伝票を確認する配達員などのユーザは、各項目を確認し、その内容が正しいか否かを判断しているが、項目ごとに異なる記入ルールに応じて判断を行う必要があり、手間がかかっていた。
(Circumstances leading to this disclosure)
Recognizes and corrects character strings entered in each field (hereinafter also referred to as ``items'') in delivery slips (hereinafter simply referred to as ``slips'') traditionally used to deliver packages, etc. Many techniques are known to do this. On the other hand, there are various items in a slip, and special entry rules may be prescribed depending on the item. In this case, even if the entered characters themselves are correct, they may not satisfy the entry rules prescribed for that item. Users such as delivery personnel who check the invoice check each item and decide whether the contents are correct or not, but they have to make judgments according to different entry rules for each item, which is time-consuming. was.
 以下、添付図面を適宜参照しながら、本開示に係る判定システム、端末装置、判定方法、およびプログラムを具体的に開示した実施の形態を詳細に説明する。但し、必要以上に詳細な説明は省略する場合がある。例えば、既によく知られた事項の詳細説明、あるいは、実質的に同一の構成に対する重複説明を省略する場合がある。これは、以下の説明が不必要に冗長になることを避け、当業者の理解を容易にするためである。なお、添付図面および以下の説明は、当業者が本開示を十分に理解するために提供されるものであって、これらにより特許請求の範囲に記載の主題を限定することは意図されない。 Hereinafter, embodiments specifically disclosing a determination system, a terminal device, a determination method, and a program according to the present disclosure will be described in detail with reference to the accompanying drawings as appropriate. However, more detailed explanation than necessary may be omitted. For example, detailed explanations of well-known matters or redundant explanations of substantially the same configurations may be omitted. This is to avoid unnecessary redundancy in the following description and to facilitate understanding by those skilled in the art. The accompanying drawings and the following description are provided to enable those skilled in the art to fully understand the present disclosure, and are not intended to limit the subject matter recited in the claims.
<実施の形態1>
[システム構成]
 図1は、本実施の形態に係る判定システム1の構成例を示すブロック図である。本実施の形態に係る判定システム1は、端末装置100とサーバ200を含んで構成される。端末装置100とサーバ200はネットワーク300を介して通信可能に接続される。図1においては、説明を簡単にするために、端末装置100とサーバ200をそれぞれ1台ずつ示しているが、これに限定するものではない。複数の端末装置100が、サーバ200と通信可能なように構成されてもよい。また、サーバ200は、負荷分散や機能分散などの観点から複数の情報処理装置から構成されてもよい。
<Embodiment 1>
[System configuration]
FIG. 1 is a block diagram showing a configuration example of a determination system 1 according to the present embodiment. The determination system 1 according to this embodiment is configured to include a terminal device 100 and a server 200. The terminal device 100 and the server 200 are communicably connected via a network 300. In FIG. 1, one terminal device 100 and one server 200 are shown to simplify the explanation, but the present invention is not limited to this. A plurality of terminal devices 100 may be configured to be able to communicate with the server 200. Furthermore, the server 200 may be composed of a plurality of information processing devices from the viewpoint of load distribution, function distribution, and the like.
 端末装置100は、配達員などのユーザに利用される装置であって、例えば、POS(Point Of Sales)端末やスマートフォン、タブレット端末などの携帯端末であってよい。端末装置100は、制御部101、メモリ102、カメラ103、入力部104、表示部105、および通信部106を含んで構成される。制御部101は、端末装置100の処理全体を司り、例えば、CPU(Central Processing Unit)、MPU(Micro Processing Unit)、DSP(Digital Signal Processor)、GPU(Graphical Processing Unit)、あるいはFPGA(Field Programmable Gate Array)のうちのいずれかを用いて構成されてよい。 The terminal device 100 is a device used by a user such as a delivery person, and may be, for example, a POS (Point of Sales) terminal, a smartphone, a mobile terminal such as a tablet terminal, or the like. The terminal device 100 includes a control section 101, a memory 102, a camera 103, an input section 104, a display section 105, and a communication section 106. The control unit 101 controls the entire processing of the terminal device 100, and includes, for example, a CPU (Central Processing Unit), an MPU (Micro Processing Unit), a DSP (Digital Signal Processor), and a GP. U (Graphical Processing Unit) or FPGA (Field Programmable Gate) Array).
 メモリ102は、各種データやプログラムを記憶、保持するための記憶領域であり、例えば、不揮発性の記憶領域であるROM(Read Only Memory)や、揮発性の記憶領域であるRAM(Random Access Memory)などから構成される。カメラ103は、端末装置100の周辺を撮影するための撮影部である。 The memory 102 is a storage area for storing and holding various data and programs, and includes, for example, ROM (Read Only Memory), which is a nonvolatile storage area, and RAM (Random Access Memory), which is a volatile storage area. Consists of etc. The camera 103 is a photographing unit for photographing the surroundings of the terminal device 100.
 入力部104は、端末装置100のユーザからの操作を受け付ける。表示部105は、各種情報を提示する画面を表示する。なお、入力部104と表示部105が一体となったタッチパネルディスプレイなどが用いられてもよい。通信部106は、ネットワーク300を介して外部装置と通信を行う。通信部106による通信方式は特に限定するものではなく、複数の通信方式に対応していてよい。例えば、WAN(Wide Area Network)、LAN(Local Area Network)、電力線通信、近距離無線通信(例えば、Bluetooth(登録商標))などが用いられてよい。 The input unit 104 accepts operations from the user of the terminal device 100. The display unit 105 displays a screen presenting various information. Note that a touch panel display in which the input section 104 and the display section 105 are integrated may be used. The communication unit 106 communicates with an external device via the network 300. The communication method by the communication unit 106 is not particularly limited, and may be compatible with a plurality of communication methods. For example, WAN (Wide Area Network), LAN (Local Area Network), power line communication, short-range wireless communication (eg, Bluetooth (registered trademark)), etc. may be used.
 サーバ200は、本実施の形態に係る処理を、端末装置100からの要求に応じて実行するための情報処理装置である。サーバ200は、制御部201、記憶部202、UI(User Interface)部203、および通信部204を含んで構成される。制御部201は、サーバ200の処理全体を司り、例えば、CPU、MPU、DSP、GPU、あるいはFPGAのうちのいずれかを用いて構成されてよい。 The server 200 is an information processing device that executes the processing according to this embodiment in response to a request from the terminal device 100. The server 200 includes a control section 201, a storage section 202, a UI (User Interface) section 203, and a communication section 204. The control unit 201 controls the entire processing of the server 200, and may be configured using, for example, a CPU, an MPU, a DSP, a GPU, or an FPGA.
 記憶部202は、各種データやプログラムを記憶、保持するための記憶領域であり、例えば、不揮発性の記憶領域であるROMやHDD(Hard Disk Drive)、揮発性の記憶領域であるRAMなどから構成される。UI部203は、サーバ200のユーザからの操作を受け付けたり、各種情報を出力したりする。通信部204は、ネットワーク300を介して外部装置と通信を行う。通信部204による通信方式は特に限定するものではなく、複数の通信方式に対応していてよい。例えば、WAN、LAN、電力線通信、近距離無線通信などが用いられてよい。 The storage unit 202 is a storage area for storing and holding various data and programs, and includes, for example, a ROM or HDD (Hard Disk Drive) that is a nonvolatile storage area, and a RAM that is a volatile storage area. be done. The UI unit 203 accepts operations from the user of the server 200 and outputs various information. The communication unit 204 communicates with an external device via the network 300. The communication method used by the communication unit 204 is not particularly limited, and may be compatible with a plurality of communication methods. For example, WAN, LAN, power line communication, short-range wireless communication, etc. may be used.
[機能構成]
 図2は、本実施の形態に係る端末装置100およびサーバ200の機能構成の例を示すブロック図である。なお、図2に示す構成は一例であり、各部位がより詳細に分割されてもよいし、複数の部位がまとめられてもよい。図2に示す各部位は、図1に示した各装置が連携することで実現される。
[Functional configuration]
FIG. 2 is a block diagram showing an example of the functional configuration of the terminal device 100 and the server 200 according to the present embodiment. Note that the configuration shown in FIG. 2 is an example, and each part may be divided into more detailed parts, or a plurality of parts may be grouped together. Each part shown in FIG. 2 is realized by each device shown in FIG. 1 working together.
 図2(a)は、本実施の形態に係る端末装置100の機能構成の例を示す。画像取得部151は、ユーザの操作によりカメラ103により撮影された伝票の画像(以下、「伝票画像」とも称する)を取得する。画像送信部152は、画像取得部151にて取得された伝票画像をサーバ200へ送信する。判定結果取得部153は、画像送信部152にて送信した伝票画像に対する判定結果を取得する。本実施の形態に係る判定処理の詳細については後述する。判定結果表示部154は、判定結果取得部153にて取得した判定結果を示す画面を、表示部105を介して表示させる。文字情報訂正部155は、判定結果取得部153にて取得した判定結果がエラーを示す場合には、そのエラーを解消するための訂正情報の入力を受け付け、サーバ200へ送信する。訂正情報は、例えば、伝票の記入ルールに適合している正しい文字列であるが、記入ルールに反している箇所を無視して取り扱う旨の指示等、文字列以外の情報であってもよい。 FIG. 2(a) shows an example of the functional configuration of the terminal device 100 according to the present embodiment. The image acquisition unit 151 acquires an image of a slip (hereinafter also referred to as a "slip image") captured by the camera 103 according to a user's operation. The image transmitter 152 transmits the slip image acquired by the image acquirer 151 to the server 200. The determination result acquisition unit 153 acquires the determination result for the slip image transmitted by the image transmission unit 152. Details of the determination process according to this embodiment will be described later. The determination result display unit 154 displays a screen showing the determination result obtained by the determination result acquisition unit 153 via the display unit 105. If the determination result acquired by the determination result acquisition unit 153 indicates an error, the character information correction unit 155 receives an input of correction information for resolving the error, and transmits it to the server 200 . The correction information may be information other than character strings, such as a correct character string that conforms to the entry rules of the slip, but an instruction to ignore portions that violate the entry rules.
 図2(b)は、本実施の形態に係るサーバ200の機能構成の例を示す。画像受信部251は、端末装置100から伝票画像を受信する。画像補正部252は、画像受信部251にて受信した伝票画像に対して補正処理を行う。ここでの補正処理は特に限定するものではないが、例えば、台形補正や色補正、ノイズ除去などが行われてよい。なお、伝票画像が、以降の処理を行う上で十分な状態であれば、補正処理は省略されてもよい。項目領域検出部253は、予め規定された伝票のフォーマット情報に基づいて、伝票画像から複数の項目領域を検出する。伝票のフォーマット情報は、各伝票において記入される項目の位置やサイズ、数などが規定された情報であり、予め規定されてサーバ200の記憶部202などに記憶されているものとする。したがって、項目領域は、伝票の利用者の手書き等により、何らかの情報(より具体的には、文字列)が記入される領域である。なお、項目によっては、単一の文字が入力される場合や、複数の文字から構成される文字列が入力される場合があるが、特に限定するものではない。 FIG. 2(b) shows an example of the functional configuration of the server 200 according to the present embodiment. The image receiving unit 251 receives a slip image from the terminal device 100. The image correction unit 252 performs correction processing on the slip image received by the image reception unit 251. Although the correction processing here is not particularly limited, for example, trapezoidal correction, color correction, noise removal, etc. may be performed. Note that the correction process may be omitted if the slip image is in a sufficient state for subsequent processing. The item area detection unit 253 detects a plurality of item areas from the slip image based on predefined format information of the slip. It is assumed that the format information of the slip is information that defines the position, size, number, etc. of items to be filled in on each slip, and is defined in advance and stored in the storage unit 202 of the server 200 or the like. Therefore, the item area is an area where some information (more specifically, a character string) is entered by handwriting or the like by the user of the slip. Note that depending on the item, a single character may be input, or a character string composed of multiple characters may be input, but this is not particularly limited.
 文字認識部254は、項目領域検出部253にて検出された複数の項目領域それぞれを対象として、記入された文字の認識を行う。ここでの文字認識は、例えば、公知のOCR(Optical Character Recognition)機能や機械学習により生成された学習済みモデルを用いてよく、特に限定するものではない。エラー判定部255は、文字認識部254にて認識した文字列と、当該文字列が記入されていた項目領域に対して設定されている禁止ルールとに基づいて、エラー判定を行う。禁止ルールは、実際の伝票の各項目に設定される記入ルールに対応するものである。本実施の形態に係る禁止ルールは、予め規定されてサーバ200の記憶部202などに記憶されているものとする。禁止ルールは、上述したフォーマット情報に対応付けて管理されてよい。本実施の形態に係る禁止ルールの具体例については、図5を用いて後述する。 The character recognition unit 254 recognizes written characters in each of the plurality of item areas detected by the item area detection unit 253. Character recognition here is not particularly limited, and may use, for example, a well-known OCR (Optical Character Recognition) function or a learned model generated by machine learning. The error determination unit 255 performs error determination based on the character string recognized by the character recognition unit 254 and the prohibition rule set for the item area in which the character string has been entered. The prohibition rule corresponds to the entry rule set for each item of the actual slip. It is assumed that the prohibition rules according to this embodiment are defined in advance and stored in the storage unit 202 of the server 200 or the like. The prohibition rules may be managed in association with the format information described above. A specific example of the prohibition rule according to this embodiment will be described later using FIG. 5.
 判定結果通知部256は、エラー判定部255による判定結果を、受信した伝票画像に対する応答として端末装置100に送信する。ここでの判定結果には、エラーの有無に関する情報の他、各項目領域にて認識した文字の情報が含まれてもよい。判定結果集計部257は、エラー判定部255による判定結果を集計する。ここでの集計には、判定結果通知部256にて通知した判定結果に対応して、端末装置100から受信した訂正情報を考慮してもよい。文字情報出力部258は、判定結果通知部256にて通知した内容に応答して、端末装置100から訂正情報を受信し、訂正後の情報として項目領域に対応付けて登録する。また、文字情報出力部258は、認識または訂正されて登録された文字情報を出力する。文字情報出力部258の出力先としては、伝票に記入された情報を管理する伝票管理サーバ(不図示)や、伝票による配達状況を管理する配達管理サーバ(不図示)などであってよい。この場合、各サーバは、訂正の有無にかかわらず、受信した文字情報をその伝票に記載された正しい情報であるものとして取り扱ってもよい。 The determination result notification unit 256 transmits the determination result by the error determination unit 255 to the terminal device 100 as a response to the received slip image. The determination result here may include information on the characters recognized in each item area, in addition to information regarding the presence or absence of an error. The determination result aggregation unit 257 totals the determination results by the error determination unit 255. In this calculation, correction information received from the terminal device 100 in response to the determination result notified by the determination result notification unit 256 may be taken into consideration. The character information output unit 258 receives correction information from the terminal device 100 in response to the content notified by the determination result notification unit 256, and registers it as corrected information in association with the item area. Further, the character information output unit 258 outputs the recognized or corrected and registered character information. The output destination of the character information output unit 258 may be a slip management server (not shown) that manages the information written on the slip, a delivery management server (not shown) that manages the delivery status of the slip, or the like. In this case, each server may treat the received character information as correct information written on the slip, regardless of whether or not it has been corrected.
 図3は、本実施の形態に係る端末装置100により伝票400を撮影し、その伝票画像を取得する例を示す外観斜視図である。端末装置100のユーザは、伝票400の全体が伝票画像に含まれるように撮影を行う。なお、伝票400の撮影設定は特に限定するものではなく、予め規定されていてもよいし、端末装置100のユーザが調整可能であってもよい。また、端末装置100は、ユーザに伝票400の撮影を促すUI画面(不図示)を提示するような構成であってもよい。 FIG. 3 is an external perspective view showing an example in which the terminal device 100 according to the present embodiment photographs a slip 400 and obtains an image of the slip. The user of the terminal device 100 photographs the slip 400 so that the entire slip 400 is included in the slip image. Note that the shooting settings of the slip 400 are not particularly limited, and may be predefined or may be adjustable by the user of the terminal device 100. Further, the terminal device 100 may be configured to present a UI screen (not shown) prompting the user to take a photograph of the slip 400.
[伝票構成]
 図4は、本実施の形態に係る伝票400の構成例を示す図である。ここで示す伝票の構成は一例であり、これに限定するものではない。また、伝票400の構成に関する情報は、フォーマット情報として規定されている。また、複数種類の伝票それぞれに対応したフォーマット情報が規定されてよい。更に、伝票400に含まれる複数の項目領域それぞれに対応する禁止ルールが規定されている。ここでは、代金引換による配送に用いられる伝票の例を示している。
[Voucher structure]
FIG. 4 is a diagram showing a configuration example of a slip 400 according to the present embodiment. The structure of the slip shown here is an example, and the structure is not limited to this. Furthermore, information regarding the structure of the slip 400 is defined as format information. Further, format information corresponding to each of a plurality of types of slips may be defined. Furthermore, prohibition rules corresponding to each of the plurality of item areas included in the slip 400 are defined. Here, an example of a slip used for delivery by cash on delivery is shown.
 項目401は、荷物の配達先の郵便番号を記入するための記入欄である。項目402は、荷物の配達先の連絡先(より具体的には、電話番号)を記入するための記入欄である。項目403は、荷物の配達先の住所および氏名を記入するための記入欄である。 Item 401 is an entry field for entering the postal code of the delivery destination of the package. Item 402 is an entry field for entering the contact information (more specifically, the telephone number) of the delivery destination of the package. Item 403 is an entry column for entering the address and name of the delivery destination of the package.
 項目404は、荷物の発送元の郵便番号を記入するための記入欄である。項目405は、荷物の発送先の住所および氏名を記入するための記入欄である。 Item 404 is an entry field for entering the postal code of the shipping source of the package. Item 405 is an entry column for entering the address and name of the destination of the package.
 管理情報406は、本配送の状況を問い合わせる際に利用される問い合わせ情報である。 Management information 406 is inquiry information used when inquiring about the status of the actual delivery.
 項目407は、荷物の配達希望日を記入するための記入欄である。項目408は、荷物の内容(品目)を記入するための記入欄である。項目409は、代金引換額を記入するための記入欄である。禁止情報410は、所定の項目に対して記入の際の注意事項や禁止事項が示される情報である。 Item 407 is an entry column for entering the desired delivery date of the package. Item 408 is an entry column for entering the contents (items) of the package. Item 409 is an entry column for entering the cash on delivery amount. The prohibition information 410 is information indicating precautions and prohibitions when filling in a predetermined item.
 図4の例では、禁止情報410にて、項目409に対応する「代金引換額」は、訂正ができない旨が明示されている(「代金引換額の訂正はできません。」)にも関わらず、二重線(=)により、訂正が行われている例を示している。つまり、図4の例は、記入ルールに反した記入状態を示している。 In the example of FIG. 4, although the prohibition information 410 clearly states that the "Cash on delivery amount" corresponding to item 409 cannot be corrected ("Cash on delivery amount cannot be corrected"), A double line (=) indicates an example where a correction has been made. In other words, the example in FIG. 4 shows an entry state that violates the entry rules.
 図5は、本実施の形態に係る禁止ルールの例を示す図である。伝票400に含まれる各項目(記入欄)に対応して記入規則となる禁止ルールが設定される。なお、項目の名称は一例であり、これに限定するものではない。なお、1つの項目に対して複数の禁止ルールが設定されてもよいし、禁止ルールが設定されなくてもよい。 FIG. 5 is a diagram showing an example of prohibition rules according to the present embodiment. Prohibition rules serving as entry rules are set corresponding to each item (entry field) included in the slip 400. Note that the item names are just examples and are not limited to these. Note that a plurality of prohibition rules may be set for one item, or no prohibition rule may be set.
 項目「代引き」に対し、禁止ルール「取り消し線、塗りつぶし」が設定されている。これは、項目「代引き」について、「取り消し線」や「塗りつぶし」の記入を禁止することを条件としている。文字認識の結果、項目「代引き」の項目領域から「取り消し線」や「塗りつぶし」が検出された場合にはエラーとなる。なお、「取り消し線」や「塗りつぶし」の検出は、「取り消し線」や「塗りつぶし」自体を文字情報として取り扱って認識してもよいし、文字が認識できなかった場合に「取り消し線」や「塗りつぶし」が存在するものと推定してもよい。また、「取り消し線」および「塗りつぶし」以外の手段による訂正も「取り消し線、塗りつぶし」と同様に取り扱ってよい。 The prohibition rule "strikethrough, fill-in" is set for the item "cash on delivery". This is conditional on the condition that "strike-through" and "fill-in" entries are prohibited for the item "cash on delivery." As a result of character recognition, if "strikethrough" or "filling" is detected in the item area of the item "cash on delivery", an error occurs. Note that "strikethrough" and "filling" can be detected by treating and recognizing "strikethrough" and "filling" themselves as character information, or if the characters cannot be recognized, "strikethrough" and "filling" can be detected. It may be assumed that there is "filling". Further, corrections made by means other than "strike-through" and "fill-in" may be handled in the same way as "strike-through, fill-in".
 項目「配達時間帯」に対し、禁止ルール「2つ以上の選択肢のチェック」が設定されている。これは、項目「配達時間帯」が複数の選択肢(例えば、「指定なし」、「午前中」、「14時~16時」など)の中から1つを選択する構成である場合に、2以上の選択を禁止することを条件としている。文字認識の結果、項目「配達時間帯」の項目領域から2以上の選択が検出された場合にはエラーとなる。なお、チェックの検出は、「チェック」を示す記号を文字情報として取り扱って認識してもよい。 The prohibition rule "Check two or more options" is set for the item "Delivery time zone". This is when the item "Delivery time zone" is configured to select one from multiple options (for example, "No specification", "Morning", "14:00 to 16:00", etc.). The condition is that the above selections are prohibited. As a result of character recognition, if two or more selections are detected from the item area of the item "Delivery time zone", an error occurs. Note that the check may be detected by treating and recognizing a symbol indicating "check" as character information.
 項目「郵便番号」に対し、禁止ルール「7桁未満」が設定されている。これは、項目「郵便番号」が7桁の記入が可能なように枠が設けられている構成である場合に、7桁未満の文字列の記入を禁止することを条件としている。文字認識の結果、項目「郵便番号」の項目領域から7桁未満の文字列が検出された場合にエラーとなる。 The prohibition rule "Less than 7 digits" is set for the item "Postal code". This is based on the condition that if the item "zip code" has a frame so that seven digits can be entered, entry of character strings of less than seven digits is prohibited. As a result of character recognition, if a character string of less than 7 digits is detected from the item area of the item "zip code", an error occurs.
 項目「郵便番号」および「電話番号」に対し、禁止ルール「数字とハイフン以外の文字」が設定されている。これは、項目「郵便番号」および「電話番号」において、数字とハイフン(-)以外の記入を禁止することを条件としている。文字認識の結果、項目「郵便番号」および「電話番号」の項目領域から数字とハイフン以外の文字が検出された場合にエラーとなる。 The prohibition rule "Characters other than numbers and hyphens" is set for the items "Postal code" and "Telephone number". This is on the condition that entries other than numbers and hyphens (-) are prohibited in the items "postal code" and "telephone number." As a result of character recognition, an error occurs if characters other than numbers and hyphens are detected in the item area of the items ``zip code'' and ``telephone number.''
 項目「お届け希望日」に対し、禁止ルール「数字以外の文字」が設定されている。これは、項目「お届け希望日」において、数字以外の文字の記入を禁止することを条件としている。文字認識の結果、項目「お届け希望日」の項目領域から数字以外の文字が検出された場合にエラーとなる。 The prohibition rule "Characters other than numbers" is set for the item "Delivery date". This is on the condition that the entry of characters other than numbers in the item "desired delivery date" is prohibited. As a result of character recognition, an error occurs if characters other than numbers are detected in the item area of the item "Delivery date".
 項目「お届け希望日」に対し、禁止ルール「当日以前の日時」が設定されている。これは、項目「お届け希望日」において、チェック当日以前の日付の記入を禁止することを条件としている。文字認識の結果、項目「お届け希望日」の項目領域から検出された日付がチェック当日以前の日付である場合にエラーとなる。ここで、当日の日付は、端末装置100に設定されている現在の日付を利用してもよいし、サーバ200から当日の日付を取得してもよい。また、ここでは日を例に説明しているが、時間や分など、更に細かい単位でチェックを行ってもよい。また、午前、午後等のまとまった時間帯の単位でチェックを行ってもよい。どのような単位でチェックを行うかは、伝票の種類によって異なっていてもよい。 The prohibition rule "Date and time before the current date" is set for the item "Delivery date". This is on the condition that entry of a date before the check date is prohibited in the item "desired delivery date". As a result of character recognition, if the date detected from the item area of the item "desired delivery date" is a date before the check date, an error will occur. Here, the current date set in the terminal device 100 may be used as the current date, or the current date may be obtained from the server 200. Furthermore, although days are explained here as an example, checking may be performed in even more detailed units such as hours and minutes. Alternatively, the check may be performed in units of time slots such as morning and afternoon. The unit to be checked may differ depending on the type of slip.
 項目「お届け希望日」に対し、禁止ルール「発送人、受取人の住所が離島の場合、当日の日付」が設定されている。これは、項目「お届け希望日」において、項目「お届け先」が離島である場合に、チェック当日以前の日付の記入を禁止することを条件としている。つまり、距離や時間の関係上、現実的に配達が不可である場合を想定した条件が設定されている。文字認識の結果、項目「お届け先」が離島(または、一定以上の遠方地)である場合であって、かつ、項目「お届け希望日」の項目領域から検出された日付がチェック当日以前の日付である場合にエラーとなる。 For the item "Delivery date", the prohibition rule "If the sender's or recipient's address is on a remote island, the current date" is set. This is based on the condition that in the item ``Desired delivery date'', if the item ``Delivery destination'' is a remote island, entry of a date before the check date is prohibited. In other words, conditions are set assuming that delivery is not realistically possible due to distance or time constraints. As a result of character recognition, if the item "Delivery destination" is a remote island (or a certain distance or more), and the date detected from the item area of the item "Delivery date" is before the check date. An error occurs if the date is a date.
 項目「サイズ」に対し、禁止ルール「品名から推測されるサイズに対して小さすぎる/大きすぎるサイズ」が設定されている。これは、項目「サイズ」と項目「品名」との相関関係を想定して、予め品名に対応するサイズの範囲を規定している場合に、品名に対するサイズが範囲を超えることを禁止することを条件としている。文字認識の結果、項目「サイズ」の項目領域から検出されたサイズが、項目「品名」の項目領域から検出された文字列に対応して設定されたサイズの範囲よりも大きいまたは小さい場合にエラーとなる。なお、未知の品名が認識された場合など、「サイズ」と「品名」との相関関係が推定できない場合には、エラーとして取り扱わないようにしてもよい。 For the item "Size", the prohibition rule "Size too small/too large compared to the size inferred from the product name" is set. This assumes that there is a correlation between the item "Size" and the item "Product Name", and if a size range corresponding to the product name is defined in advance, the size for the product name will be prohibited from exceeding the range. It is a condition. As a result of character recognition, an error occurs if the size detected from the item area of the item "Size" is larger or smaller than the size range set corresponding to the character string detected from the item area of the item "Product name". becomes. Note that if the correlation between "size" and "product name" cannot be estimated, such as when an unknown product name is recognized, it may not be handled as an error.
 上記の様に、複数の項目を組み合わせた条件が用いられてもよい。この場合には、複数の項目のいずれかを先に参照して、その参照結果に基づいて、次の項目を判断するような構成であってもよい。また、複数の項目を組み合わせて用いる場合には、項目に優先度を設定し、優先度の高い項目から順に判定するような構成であってもよい。また、上記の禁止ルールを判定するために、カレンダー情報や地図情報などが用いられてよい。 As mentioned above, conditions that combine multiple items may be used. In this case, the configuration may be such that one of the plurality of items is referred to first, and the next item is determined based on the reference result. Moreover, when using a plurality of items in combination, a configuration may be adopted in which priorities are set for the items and the items are determined in order of priority. Moreover, calendar information, map information, etc. may be used to determine the above-mentioned prohibition rule.
 また、複数の項目について同時にエラーが発生している場合、UI画面に全てのエラーを表示してもよいし、表示するエラーを優先度にしたがって限定してもよい。ここで、優先度は、例えば、上述した判定の優先度と同一であってもよい。また、同一の欄に複数のエラーが発生している場合は、文字情報の誤認識の影響を受けにくいエラーの優先順位を、他のエラーよりも高くしてもよい。これは、文字情報が誤認識されている場合は、伝票の修正は必要ないことがあるためである。具体的には、郵便番号の桁数が不足しているエラーと、郵便番号の文字種が誤っている旨のエラーが同時に発生している場合は、桁数に係るエラーを優先的に表示する。これは、桁数が不足している場合は、文字が誤認識されているか否かにかかわらず伝票の修正が必要であるのに対し、文字種の誤りは、文字の誤認識が原因であれば伝票自体の修正の必要はないためである。また、ある欄と他の欄で同時にエラーが発生している場合は、伝票のレイアウトにおいて遠い欄で発生しているエラーの優先度を近い欄で発生しているエラーの優先度よりも高くしてもよい。近い欄で発生しているエラーは、その欄も同時に視界に入る可能性が高いため改めて通知を行わなくても気づく可能性が高いのに対し、遠い欄で発生しているエラーは通知されなくては気づかない可能性が高いためである。 Furthermore, if errors occur for multiple items at the same time, all errors may be displayed on the UI screen, or the errors to be displayed may be limited according to priority. Here, the priority may be, for example, the same as the priority of the determination described above. Furthermore, when multiple errors occur in the same column, the priority of errors that are less susceptible to misrecognition of character information may be given higher than other errors. This is because if the character information is misrecognized, there may be no need to correct the slip. Specifically, if an error that the number of digits in the postal code is insufficient and an error that the character type of the postal code is incorrect occur at the same time, the error related to the number of digits is displayed preferentially. This means that if the number of digits is insufficient, it is necessary to correct the slip regardless of whether or not the characters are misrecognized. This is because there is no need to modify the slip itself. Also, if an error occurs in one column and another column at the same time, the priority of the error occurring in the farthest column in the slip layout is higher than the priority of the error occurring in the closer column. It's okay. If an error occurs in a nearby field, there is a high possibility that that field will also be visible at the same time, so there is a high possibility that you will notice it even if you do not notify it again, whereas an error that occurs in a far field will not be notified. This is because there is a high possibility that you will not notice it.
 [処理シーケンス]
 図6は、本実施の形態に係る判定処理の処理シーケンスを示す。本処理シーケンスの各工程における処理は、各装置の制御部が、記憶装置に記憶された各種プログラムを読み出して実行することで実現される。ここでは説明を簡略化するため、処理主体を装置として示す。なお、端末装置100とサーバ200との間で送受信されるデータの内容やタイミングは図6に示すものに限定されるものではなく、要求に応じて、装置間でデータの送受信が更に行われてよい。
[Processing sequence]
FIG. 6 shows a processing sequence of determination processing according to this embodiment. The processing in each step of this processing sequence is realized by the control section of each device reading and executing various programs stored in the storage device. Here, in order to simplify the explanation, the processing subject is shown as a device. Note that the content and timing of data transmitted and received between the terminal device 100 and the server 200 are not limited to those shown in FIG. 6, and data can be further transmitted and received between the devices according to requests. good.
 端末装置100は、ユーザ操作に基づいて、カメラ103を用いた伝票400の撮影動作を行う(ステップS601)。伝票400の撮影の際には、所定のアプリケーションを動作させてから行われてもよい。また、文字認識のために適切な伝票画像が取得できるように、撮影範囲や撮影設定を調整するよう、ユーザに促すような構成であってもよい。 Based on the user's operation, the terminal device 100 performs an operation of photographing the slip 400 using the camera 103 (step S601). The photographing of the slip 400 may be performed after operating a predetermined application. Furthermore, the configuration may be such that the user is prompted to adjust the shooting range and shooting settings so that an appropriate slip image can be obtained for character recognition.
 端末装置100は、ステップS601の撮影動作にて撮影された伝票画像をサーバ200へ送信する(ステップS602)。このとき、撮影画像と併せて、端末装置100の各種情報をサーバ200へ送信してもよい。 The terminal device 100 transmits the slip image photographed in the photographing operation of step S601 to the server 200 (step S602). At this time, various information on the terminal device 100 may be transmitted to the server 200 together with the photographed image.
 サーバ200は、ステップS602にて端末装置100から送信された伝票画像を受信する(ステップS603)。 The server 200 receives the slip image transmitted from the terminal device 100 in step S602 (step S603).
 サーバ200は、ステップS603にて受信した伝票画像に対して補正処理を行う(ステップS604)。ここでの補正処理の内容は特に限定するものでは無く、受信した伝票画像の品質等に応じて省略されてもよい。 The server 200 performs a correction process on the slip image received in step S603 (step S604). The content of the correction process here is not particularly limited, and may be omitted depending on the quality of the received slip image.
 サーバ200は、伝票画像から伝票の記入欄に対応する複数の項目領域を検出する(ステップS605)。サーバ200は、伝票画像として撮影されている伝票の種類を特定し、さらにその特定した伝票の種類に対して予め規定されているフォーマット情報に基づいて、項目領域を検出する。伝票の種類に応じて、項目領域のサイズ、配置、数などは規定されている。このとき、伝票画像から伝票の種類や項目領域の検出ができなかった場合には、端末装置100に通知を行い、伝票画像を再度送信するように指示するような構成であってもよい。 The server 200 detects a plurality of item areas corresponding to the entry fields of the slip from the slip image (step S605). The server 200 specifies the type of slip that is photographed as a slip image, and further detects an item area based on format information predefined for the specified type of slip. The size, arrangement, number, etc. of item areas are defined depending on the type of slip. At this time, if the type of slip or item area cannot be detected from the slip image, the terminal device 100 may be notified and instructed to transmit the slip image again.
 サーバ200は、ステップS605にて検出した複数の項目領域それぞれに対し、文字認識処理を行う(ステップS606)。文字認識の手法は、特に限定するものでは無く、公知のOCR技術や機械学習により生成された学習済みモデルを用いてよい。サーバ200は、項目領域と文字認識にて認識した文字列とを対応付けて記憶する。 The server 200 performs character recognition processing on each of the plurality of item areas detected in step S605 (step S606). The character recognition method is not particularly limited, and a trained model generated by known OCR technology or machine learning may be used. The server 200 associates and stores item areas and character strings recognized through character recognition.
 サーバ200は、ステップS606による文字認識の結果と、図5に示したような禁止ルールとを用いて、各項目領域における記入内容に対するエラー判定を行う(ステップS607)。ここでのエラー判定は、所定の項目領域から順に行われてもよいし、禁止ルールの適用順に従って行われてもよい。 The server 200 uses the result of the character recognition in step S606 and the prohibition rule as shown in FIG. 5 to determine an error in the entry content in each item area (step S607). The error determination here may be performed sequentially starting from a predetermined item area, or may be performed according to the order in which the prohibition rules are applied.
 サーバ200は、ステップS607におけるエラー判定処理において、禁止ルールに該当する項目領域が少なくとも1つあるか否かを判定する(ステップS608)。禁止ルールに該当する項目領域がある場合(ステップS608;YES)、サーバ200の処理はステップ609へ進む。一方、禁止ルールに該当する項目領域が無い場合(ステップS608;NO)、サーバ200の処理はステップS615へ進む。 In the error determination process in step S607, the server 200 determines whether there is at least one item area that corresponds to the prohibition rule (step S608). If there is an item area that corresponds to the prohibition rule (step S608; YES), the process of the server 200 proceeds to step 609. On the other hand, if there is no item area that corresponds to the prohibition rule (step S608; NO), the process of the server 200 proceeds to step S615.
 サーバ200は、ステップS607のエラー判定処理にてエラーが発生したことを踏まえ、そのエラー内容を項目ごとに端末装置100に通知する(ステップS609)。禁止ルールに該当して複数のエラーが発生した場合には、複数のエラーの内容をまとめて通知してよい。また、サーバ200は、エラーに該当する項目領域にて認識した文字情報を併せて通知する。 Based on the fact that an error occurred in the error determination process in step S607, the server 200 notifies the terminal device 100 of the error contents for each item (step S609). If a plurality of errors occur due to a prohibition rule, the contents of the plurality of errors may be notified at once. Additionally, the server 200 also notifies the character information recognized in the item area corresponding to the error.
 端末装置100は、ステップS609にてサーバ200から通知されたエラー内容を受信する(ステップS610)。 The terminal device 100 receives the error details notified from the server 200 in step S609 (step S610).
 端末装置100は、ステップS610にて受信したエラー内容に従って、UI画面を表示する(ステップS611)。UI画面の構成例については、図7を用いて後述する。 The terminal device 100 displays a UI screen according to the error content received in step S610 (step S611). A configuration example of the UI screen will be described later using FIG. 7.
 端末装置100は、UI画面を介して、エラーに該当する項目領域にて認識した文字情報を提示し、その文字情報に対する訂正情報を受け付ける(ステップS612)。UI画面の構成例については、図8を用いて後述する。 The terminal device 100 presents the character information recognized in the item area corresponding to the error via the UI screen, and accepts correction information for the character information (step S612). A configuration example of the UI screen will be described later using FIG. 8.
 端末装置100は、ステップS612にて受け付けた訂正情報をサーバ200に送信する(ステップS613)。 The terminal device 100 transmits the correction information received in step S612 to the server 200 (step S613).
 サーバ200は、ステップS613にて端末装置100から送信された訂正情報を受信し、対応する項目領域の文字情報として記憶する(ステップS614)。そして、サーバ200は、ステップS607へ戻り、訂正情報に基づいてエラー判定処理を再度実行し、以降の処理を繰り返す。 The server 200 receives the correction information transmitted from the terminal device 100 in step S613, and stores it as character information in the corresponding item area (step S614). Then, the server 200 returns to step S607, executes the error determination process again based on the correction information, and repeats the subsequent process.
 サーバ200は、複数の項目領域それぞれに対応する文字情報を所定の転送先へ転送する(ステップS615)。ここでの転送先は、例えば、伝票に記入された情報を管理する伝票管理サーバ(不図示)や、伝票による配達状況を管理する配達管理サーバ(不図示)などであってよい。なお、サーバ200がこれらのサーバと一体になった構成である場合には、本工程は省略されてもよい。また、サーバ200は、正常に伝票の文字認識が完了したことを認識結果と併せて端末装置100に通知するような構成であってもよい。そして、本処理シーケンスを終了する。 The server 200 transfers the character information corresponding to each of the plurality of item areas to a predetermined transfer destination (step S615). The transfer destination here may be, for example, a slip management server (not shown) that manages the information written on the slip, a delivery management server (not shown) that manages the delivery status of the slip, or the like. Note that if the server 200 is configured to be integrated with these servers, this step may be omitted. Further, the server 200 may be configured to notify the terminal device 100 that the character recognition of the slip has been successfully completed together with the recognition result. Then, this processing sequence ends.
 [画面構成例]
 図7、図8を用いて、本実施の形態に係る端末装置100にて表示されるUI画面の構成例を説明する。なお、以下に示す各UI画面は、端末装置100が備えるWebブラウザ(不図示)にて表示されるWeb画面として構成されてもよいし、端末装置100にインストールされて制御部101により実行されて機能するアプリケーションの画面として構成されてもよい。
[Screen configuration example]
A configuration example of a UI screen displayed on the terminal device 100 according to the present embodiment will be explained using FIGS. 7 and 8. Note that each UI screen shown below may be configured as a web screen displayed on a web browser (not shown) included in the terminal device 100, or may be configured as a web screen that is installed on the terminal device 100 and executed by the control unit 101. It may be configured as a screen of a functioning application.
 図7は、例えば、図6のステップS611の工程において、エラー内容を通知するためのUI画面700の構成例である。UI画面700において、伝票400に含まれる複数の項目に対して文字認識を行った結果、該当する禁止ルールの情報701が示される。また、禁止ルールのより詳細な内容に係る情報702が示される。OKボタン703が押下されると、UI画面700が閉じられる。この場合、図8に示すUI画面800へ遷移してよい。 FIG. 7 is an example of the configuration of a UI screen 700 for notifying error details, for example, in the process of step S611 in FIG. 6. On the UI screen 700, as a result of character recognition performed on a plurality of items included in the slip 400, information 701 of the corresponding prohibition rule is displayed. Information 702 regarding more detailed contents of the prohibition rule is also shown. When the OK button 703 is pressed, the UI screen 700 is closed. In this case, you may transition to a UI screen 800 shown in FIG.
 図8は、例えば、図6のステップS612の工程において、訂正情報を受け付けるためのUI画面800の構成例である。図8(a)は文字認識が失敗している場合の表示例を示し、図8(b)は文字認識が成功している場合の表示例を示す。本例では、項目「郵便番号」を例に挙げて説明する。 FIG. 8 is a configuration example of a UI screen 800 for receiving correction information, for example, in the process of step S612 in FIG. 6. FIG. 8(a) shows a display example when character recognition has failed, and FIG. 8(b) shows a display example when character recognition has succeeded. In this example, the item "zip code" will be explained as an example.
 UI画面800において、伝票画像から検出された項目領域801が表示される。本例では、「9650072」が記入されている。また、項目領域801に対して文字認識を行って得られた文字情報802が修正可能な領域にて表示される。本例では、文字情報802として「965A072」が文字情報として認識されている。項目領域801の項目と、文字認識結果である文字情報802の内容とに基づいてエラー判定処理が行われる。本例では、通常、郵便番号に用いられない文字「A」が含まれているため、ここでは禁止ルールに該当するものとしてエラー判定されている。 On the UI screen 800, an item area 801 detected from the slip image is displayed. In this example, "9650072" is entered. Furthermore, character information 802 obtained by performing character recognition on the item area 801 is displayed in an area that can be modified. In this example, "965A072" is recognized as the character information 802. Error determination processing is performed based on the items in item area 801 and the content of character information 802, which is the result of character recognition. In this example, since the character "A", which is not normally used in postal codes, is included, it is determined as an error that it falls under the prohibition rule.
 上記のように、記入は正しいが文字認識が失敗している場合がある。具体的には、図8(a)の例では、「0」が形状の似ている「A」だと誤認識されている。このような場合には、ユーザは、文字情報802の内容を修正の上、OKボタン804を押下することで訂正情報をサーバ200に送信することができる。なお、項目領域801における記入自体は正しいため、チェックボックス803へのチェックは行わない。OKボタン804の押下に伴って、UI画面800は閉じられてよい。 As mentioned above, there are cases where the entry is correct but character recognition fails. Specifically, in the example of FIG. 8A, "0" is incorrectly recognized as "A", which has a similar shape. In such a case, the user can send the corrected information to the server 200 by correcting the contents of the text information 802 and pressing the OK button 804. Note that since the entry itself in the item area 801 is correct, the check box 803 is not checked. Upon pressing the OK button 804, the UI screen 800 may be closed.
 同様に、UI画面810において、伝票画像から検出された項目領域811が表示される。本例では、「965A072」が記入されている。また、項目領域811に対して文字認識を行って得られた文字情報812が修正可能な領域にて表示される。本例では、文字情報802として「965A072」が文字情報として認識されている。項目領域811の項目と、文字認識結果である文字情報812の内容とに基づいてエラー判定処理が行われる。本例では、通常、郵便番号に用いられない文字「A」が含まれているため、ここでは禁止ルールに該当するものとしてエラー判定されている。 Similarly, on the UI screen 810, an item area 811 detected from the slip image is displayed. In this example, "965A072" is entered. Furthermore, character information 812 obtained by performing character recognition on the item area 811 is displayed in an area that can be modified. In this example, "965A072" is recognized as the character information 802. Error determination processing is performed based on the items in item area 811 and the content of character information 812, which is the result of character recognition. In this example, since the character "A", which is not normally used in postal codes, is included, it is determined as an error that it falls under the prohibition rule.
 上記のように、記入自体が間違っており、この間違って記入された文字を正しく文字認識している場合がある。このような場合には、ユーザは、文字情報812の内容を修正し、チェックボックス813にチェックした上で、OKボタン814を押下することで訂正情報をサーバ200に送信することができる。OKボタン814の押下に伴って、UI画面810は閉じられてよい。 As mentioned above, there are cases where the entry itself is incorrect and the incorrectly entered characters are correctly recognized. In such a case, the user can send the corrected information to the server 200 by correcting the content of the text information 812, checking the check box 813, and pressing the OK button 814. Upon pressing the OK button 814, the UI screen 810 may be closed.
 図9は、本実施の形態に係るエラー判定結果を踏まえた集計処理の結果のUI画面900の構成例を示す。集計処理の実行タイミングは特に限定するものでは無いが、サーバ200の管理者の指示に基づいて行われてもよいし、端末装置100のユーザがサーバ200に問い合わせることで行われてもよい。または、図6のステップS615のタイミングにて集計処理が行われるような構成であってもよい。また、UI画面900は、端末装置100の表示部105にて表示されてもよいし、サーバ200のUI部203にて表示されてもよい。 FIG. 9 shows a configuration example of a UI screen 900 as a result of aggregation processing based on error determination results according to the present embodiment. The execution timing of the aggregation process is not particularly limited, but it may be performed based on instructions from the administrator of the server 200, or may be performed by the user of the terminal device 100 inquiring the server 200. Alternatively, the configuration may be such that the aggregation process is performed at the timing of step S615 in FIG. Further, the UI screen 900 may be displayed on the display unit 105 of the terminal device 100 or may be displayed on the UI unit 203 of the server 200.
 UI画面900では、テーブル形式にて、項目と禁止ルールとに基づく集計結果が示される。ここでは、ある1つの伝票を例に挙げて説明する。したがって、UI画面900は、伝票の種類に応じて、集計結果を切り替え可能に構成されてもよいし、複数種の伝票の集計結果をまとめて表示させてもよい。 On the UI screen 900, the total results based on the items and prohibition rules are shown in a table format. Here, explanation will be given using one particular slip as an example. Therefore, the UI screen 900 may be configured to be able to switch the tally results depending on the type of slip, or may display the tally results of multiple types of slips all at once.
 項目901は、伝票400における各記入欄を示す。項目902は、伝票400に含まれる記入欄における優先度を示す。例えば、優先度の値に応じて、記入欄間の記入内容に不整合があった場合に優先される項目を示す。項目903は、エラー判定の際に該当した禁止ルールを示す。項目904は、エラーの発生回数のカウント値を示す。 Item 901 indicates each entry column in the slip 400. Item 902 indicates the priority of the entry fields included in the slip 400. For example, depending on the priority value, it indicates which items are prioritized when there is a mismatch between the entries in the entry fields. Item 903 indicates the prohibition rule that was applicable at the time of error determination. Item 904 indicates a count value of the number of times an error has occurred.
 以上、本実施の形態により、判定システム1は、伝票が撮影された伝票画像を端末装置100から取得する画像受信部251と、伝票画像から伝票における記入欄を示す1または複数の項目領域を検出する項目領域検出部253と、1または複数の領域それぞれに文字認識を行い、記入された文字情報を特定する文字認識部254と、文字認識部254にて特定された文字情報と、1または複数の項目領域に対して予め規定された禁止ルールとに基づいて、エラー判定を行うエラー判定部255と、エラー判定部255の判定によりエラーと判定された領域を端末装置100に通知する判定結果通知部256と、を有する。これにより、ユーザの伝票処理における利便性を向上させることが可能となる。特に、伝票に含まれる複数の記入欄に対する個別の禁止ルールを都度確認する手間を省くことが可能となる。 As described above, according to the present embodiment, the determination system 1 includes the image receiving unit 251 that acquires a slip image in which the slip is photographed from the terminal device 100, and detects one or more item areas indicating entry fields in the slip from the slip image. a character recognition unit 254 that performs character recognition on each of one or more areas to identify written character information; and character information identified by the character recognition unit 254, and one or more an error determination unit 255 that performs an error determination based on a prohibition rule predefined for the item area; and a determination result notification that notifies the terminal device 100 of the area determined as an error by the error determination unit 255. 256. This makes it possible to improve the convenience of the user in processing slips. In particular, it is possible to save the effort of checking individual prohibition rules for multiple entry fields included in a slip each time.
 また、判定結果通知部256は、エラー判定部255によりエラーと判定された際に、当該エラーが伝票への記入の間違いに起因するか、文字認識部254の認識エラーに起因するかを選択可能に表示させて受け付ける。これにより、システム側の誤認識が発生した場合でも適切に集計処理などを行うことが可能となる。 Further, when the error determination unit 255 determines that there is an error, the determination result notification unit 256 can select whether the error is caused by a mistake in filling out the slip or a recognition error by the character recognition unit 254. Display and accept. This makes it possible to perform appropriate aggregation processing even if a misrecognition occurs on the system side.
 また、判定結果通知部256は、エラー判定部255の判定によりエラーと判定された領域に対する訂正情報を受け付ける。更に、判定システム1は、受け付けた訂正情報に基づいて、1または複数の領域のうちの対応する領域の文字情報を訂正する文字情報出力部258を有する。これにより、エラーが生じた伝票の項目に対する訂正内容を示す訂正情報を受け付けることができ、更にその訂正情報に基づいて、伝票に係る情報の適切な利用が可能となる。 Further, the determination result notifying unit 256 receives correction information for the area determined to be an error by the determination by the error determining unit 255. Further, the determination system 1 includes a character information output unit 258 that corrects the character information of a corresponding area among one or more areas based on the received correction information. As a result, it is possible to receive correction information indicating the content of correction for an item on a slip in which an error has occurred, and furthermore, based on the correction information, it is possible to appropriately utilize information related to the slip.
 また、禁止ルールは、伝票の種類ごとに規定される。これにより、伝票の種類に応じた記入の禁止ルールを定義することができる。 Further, prohibition rules are defined for each type of slip. This makes it possible to define entry prohibition rules depending on the type of slip.
 また、禁止ルールは、伝票に含まれる1または複数の項目領域それぞれに対して規定される。これにより、伝票に含まれる項目領域それぞれに応じた記入の禁止ルールを定義することができる。 Further, the prohibition rule is defined for each of one or more item areas included in the slip. This makes it possible to define entry prohibition rules corresponding to each item area included in the slip.
 また、エラー判定部255による判定結果を集計する判定結果集計部257を更に有する。これにより、伝票の記入欄のうち、エラーが生じやすい項目を特定し、その集計結果をフィードバックすることが可能となる。フィードバックされた集計結果は、エラーが生じやすい項目についての記入ルールの説明をより分かり易い内容に変更する等、エラーが生じにくい形式へ伝票を修正するヒントとして利用することができる。また、エラーが生じやすい項目を重点的に確認するよう、端末装置100に表示するようにしてもよい。この場合、エラーを通知するUI画面において、伝票画像に、重点的に確認すべき項目を示す情報(例えば、太い枠等)を重畳表示してもよい。 It further includes a determination result aggregation unit 257 that totals the determination results by the error determination unit 255. This makes it possible to identify items that are likely to cause errors among the entry fields of the slip, and to feed back the results of the tally. The fed-back tally results can be used as hints for correcting the form to a format that is less prone to errors, such as changing the explanation of entry rules for error-prone items to easier-to-understand content. Further, the information may be displayed on the terminal device 100 so that items that are likely to cause errors are checked in a focused manner. In this case, on the UI screen that notifies the user of the error, information (for example, a thick frame, etc.) indicating items that should be checked with priority may be displayed superimposed on the slip image.
<その他の実施形態>
 上記の実施の形態では、図9に示したように発生したエラーを、禁止ルールや項目ごとに集計して表示する例を示した。そのほかにも例えば、集計結果と、各項目のレイアウトとを対応付けて、伝票デザインとエラーが発生しやすい項目との位置関係を示すような構成であってもよい。また、複数種類の伝票間において、各伝票の集計結果と、各伝票のレイアウトの差異とを明示するような構成であってもよい。
<Other embodiments>
In the above embodiment, an example was shown in which the errors that occurred are aggregated and displayed for each prohibition rule or item, as shown in FIG. In addition, for example, a configuration may be adopted in which the tally results are associated with the layout of each item to indicate the positional relationship between the slip design and the items where errors are likely to occur. Furthermore, a configuration may be adopted in which the total results of each slip and the differences in layout of each slip are clearly shown among a plurality of types of slips.
 また、伝票に含まれるある1つの項目に対して、複数の禁止ルールに該当して複数のエラーが発生した場合には、複数のエラーそれぞれの情報を列挙して表示してもよい。また、伝票に含まれる複数の項目に対してそれぞれエラーが発生した場合には、例えば、上述した優先度に基づいて、1つずつ順番にエラー内容を表示して、訂正を受け付けるような構成であってもよいし、まとめて訂正を受け付けるような構成であってもよい。 Furthermore, if multiple errors occur with respect to one item included in a slip that falls under multiple prohibition rules, information for each of the multiple errors may be listed and displayed. Additionally, if an error occurs in each of multiple items included in the slip, for example, the configuration can be configured to display the error details one by one and accept corrections based on the above-mentioned priority. Alternatively, the configuration may be such that corrections are accepted all at once.
 また、エラーが発生した際に、その修正内容をサーバ側で推定するような構成であってもよい。その場合には、UI画面上にて、修正内容としての推定結果を表示させ、その推定結果にて訂正を行うか否かをユーザに選択させてもよい。 Additionally, when an error occurs, the server may be configured to estimate the correction content. In that case, the estimation result as the correction content may be displayed on the UI screen, and the user may select whether or not to perform the correction based on the estimation result.
 また、ユーザの訂正により、正常に伝票の文字情報が登録された場合には、その結果に応じて、伝票を修正するための装置と連携して、ユーザの修正作業をサポートするような構成であってもよい。ここでの装置としては、例えば、シールなどの書面を印刷する印刷装置などが挙げられ、訂正結果による内容のシールを印刷して出力することで、伝票の対象箇所の修正を行うように構成されてよい。上述した通り、訂正された文字情報は、伝票管理サーバや配達管理サーバに提供されるが、この状態では、サーバ内のデータとしては正しい伝票の内容が記録されていても、伝票そのものの文字は訂正前のままである。そのため、伝票に記載された文字を目視して配達を行う配達員は、訂正後の情報を直接認識することができない。そこで、訂正が発生した場合には、シールによって伝票そのものの修正を行うことによって、サーバに記録されている内容と配達員が目視する内容を揃えることができる。なお、上述した例では、記入の間違いを訂正する書面としてシールを印刷する例を説明しているが、伝票全体を再印刷するなど、他の書面を印刷してもよい。シールを利用する場合は、訂正箇所に相当する部分のみシールを印刷するようにすることで、印刷装置の大きさを小型化することができる。ただし、ユーザがシールを貼る箇所を誤ったり、配送中にシールが剥がれてしまったりした場合に、訂正内容が分からなくなってしまうおそれがある。伝票全体を再印刷する場合は、比較的大型の印刷装置が必要となるが、シールを使用する場合と比べて、シールを貼る箇所のミスやシールの剥がれは発生しにくいので、訂正内容をより確実に配達員に伝えることができる。また、訂正内容が直接的又は間接的に配達員に伝わる書面であれば、印刷される書面の態様は他の態様であっても構わない。例えば、訂正事項がある旨が記載された書面や、正しいデータが記録されているサーバへアクセスためのURLや二次元コード等が印刷された書面が考えられる。 In addition, if the character information of a slip is successfully registered as a result of the user's correction, the system is configured to support the user's correction work by linking with a device for correcting the slip, depending on the result. There may be. The device here includes, for example, a printing device that prints documents such as stickers, and is configured to correct the target part of the slip by printing and outputting a sticker with the content based on the correction result. It's fine. As mentioned above, the corrected character information is provided to the slip management server and delivery management server, but in this state, even if the correct contents of the slip are recorded as data in the server, the characters of the slip itself are It remains as it was before the correction. Therefore, a delivery person who visually checks the characters written on the slip and makes the delivery cannot directly recognize the corrected information. Therefore, if a correction occurs, by correcting the slip itself using the sticker, the contents recorded on the server and the contents visually checked by the delivery person can be aligned. In the above example, a sticker is printed as a document for correcting a mistake in entry, but other documents may be printed, such as reprinting the entire slip. If a sticker is used, the size of the printing device can be reduced by printing the sticker only on the portion corresponding to the corrected area. However, if the user pastes the sticker in the wrong place, or if the sticker peels off during shipping, there is a risk that the corrected information will be lost. Reprinting the entire document requires a relatively large printing device, but compared to using stickers, it is less likely to make a mistake in the place where the sticker is pasted or the sticker will peel off, so it is possible to make corrections more easily. You can definitely inform the delivery person. Further, the format of the printed document may be any other format as long as the revised content is directly or indirectly communicated to the delivery person. For example, there may be a document stating that there are corrections, or a document on which a URL, two-dimensional code, etc. for accessing a server where correct data is recorded is printed.
 また、上記の実施の形態では、荷物の配達における伝票を例として説明した。しかし、上記の実施の形態の思想を、荷物の配達以外の伝票や書類に適用してもよい。例えば、役所に提出する書類は、訂正が禁止されている欄など記入規則が定められている例がある。このような書類についても、上述の実施の形態と同様の思想により、入力規則に反しているか否かをチェックしたり、訂正を促したりすることができる。なお、荷物の配達の伝票以外の書類に本実施の形態の思想を適用する場合、荷物の配達では考慮する必要のなかった規則に対応できるようにしてもよい。例えば、「取り消し線」のみでは入力規則に反しているものと判断されるが、「取り消し線」と「訂正印」が検出された場合は入力規則に適合しているものと判断することが考えられる。なお、「訂正印」の有無は、例えば、外周の囲まれた赤色の文字が検知できるか否かを判断することで行うことができる。 Furthermore, in the above embodiment, a slip for delivery of a package has been described as an example. However, the idea of the above embodiments may be applied to slips and documents other than delivery of packages. For example, there are cases in which documents submitted to government offices have rules for filling out fields, such as fields in which corrections are prohibited. With respect to such a document, it is possible to check whether it violates the input rules and to request correction based on the same concept as in the above-described embodiment. Note that when the idea of this embodiment is applied to documents other than package delivery slips, it may be possible to deal with rules that do not need to be considered in package delivery. For example, if only a "strikethrough line" is detected, it will be determined that the input rules are violated, but if a "strikethrough line" and a "correction mark" are detected, it may be determined that the input rules are met. It will be done. Note that the presence or absence of a "correction mark" can be determined, for example, by determining whether or not the surrounding red characters can be detected.
 また、上記の実施の形態では、エラーが検知された場合は訂正情報の入力を促していた。しかし、エラーが検知されたことを通知するのみに留めてもよい。寒冷地で手袋を外さなくてはタッチパネルが操作できないなど、端末装置100による訂正の操作が難しい場合、伝票を再度作成する方が効率的な場合もあるためである。 Furthermore, in the above embodiment, if an error is detected, the user is prompted to input correction information. However, it may be sufficient to simply notify that an error has been detected. This is because if it is difficult to make corrections using the terminal device 100, such as in a cold region where the touch panel cannot be operated without removing gloves, it may be more efficient to create the slip again.
 また、上記の実施の形態において、エラーであるか否かの判定が難しい場合、判定ができなかった旨のチェック結果を更に出力するようにしてもよい。このようにすることで、ユーザに追加の確認を促すことができる。判定ができない場合の具体例としては、品目とサイズの相関関係をチェックする場合において、品目が未知の場合などが考えられる。 Furthermore, in the above embodiment, if it is difficult to determine whether or not there is an error, a check result indicating that the determination could not be made may be further output. By doing so, it is possible to prompt the user to make additional confirmations. A specific example of a case where the determination cannot be made is when the item is unknown when checking the correlation between the item and the size.
 また、上記の実施の形態では、画像補正部252、項目領域検出部253、文字認識部254をサーバ200側に設けた構成を示した。しかし、この構成に限定するものではなく、これらの部位を端末装置100側に備える構成であってもよい。そのような場合には、各部位による処理の分担に応じて、端末装置100とサーバ200間の送受信されるデータの内容が変更されてよい。 Furthermore, in the above embodiment, a configuration is shown in which the image correction section 252, the item area detection section 253, and the character recognition section 254 are provided on the server 200 side. However, the configuration is not limited to this, and a configuration in which these parts are provided on the terminal device 100 side may be used. In such a case, the content of data transmitted and received between the terminal device 100 and the server 200 may be changed depending on the division of processing by each part.
 また、上述した1以上の実施の形態の機能を実現するためのプログラムおよびアプリケーションを、ネットワークまたは記憶媒体などを用いてシステムまたは装置に供給し、そのシステムまたは装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。 Further, programs and applications for realizing the functions of one or more embodiments described above may be supplied to a system or device using a network or a storage medium, and one or more processors in a computer of the system or device may This can also be achieved by reading and executing a program.
 また、1以上の機能を実現する回路(例えば、ASIC(Application Specific Integrated Circuit)、またはFPGA(Field Programmable Gate Array))によって実現してもよい。 Alternatively, it may be realized by a circuit that realizes one or more functions (for example, an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array)).
 また、上記の機能は、クラウドコンピューティング技術を用いて、ネットワーク上に構成されてもよい。この場合、端末装置は、ネットワークを介して上記の各種機能を利用可能である。 Additionally, the above functions may be configured on a network using cloud computing technology. In this case, the terminal device can utilize the various functions described above via the network.
 以上、図面を参照しながら各種の実施形態について説明したが、本開示は係る例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例、修正例、置換例、付加例、削除例、均等例に相当し得ることは明らかであり、それらについても当然に本開示の技術的範囲に属するものと了解される。また、発明の趣旨を逸脱しない範囲において、上述した各種の実施形態における各構成要素を任意に組み合わせてもよい。 Although various embodiments have been described above with reference to the drawings, it goes without saying that the present disclosure is not limited to such examples. It is clear to those skilled in the art that various changes, modifications, substitutions, additions, deletions, and equivalents may be made within the scope of the claims; It is understood that it naturally falls within the technical scope of the present disclosure. Moreover, each component in the various embodiments described above may be combined arbitrarily within a range that does not depart from the spirit of the invention.
 以上、各種の実施の形態について説明したが、本発明はかかる例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例又は修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。また、発明の趣旨を逸脱しない範囲において、上記実施の形態における各構成要素を任意に組み合わせてもよい。 Although various embodiments have been described above, it goes without saying that the present invention is not limited to such examples. It is clear that those skilled in the art can come up with various changes or modifications within the scope of the claims, and these naturally fall within the technical scope of the present invention. Understood. Further, each of the constituent elements in the above embodiments may be arbitrarily combined without departing from the spirit of the invention.
 なお、本出願は、2022年3月11日出願の日本特許出願(特願2022-38223)に基づくものであり、その内容は本出願の中に参照として援用される。 Note that this application is based on a Japanese patent application (Japanese Patent Application No. 2022-38223) filed on March 11, 2022, the contents of which are incorporated as a reference in this application.
 本開示は、ユーザの伝票処理における利便性を向上させることが可能な判定システム、端末装置、判定方法、およびプログラムとして有用である。 The present disclosure is useful as a determination system, terminal device, determination method, and program that can improve convenience in processing slips for users.
1…判定システム
100…端末装置
101…制御部
102…メモリ
103…カメラ
104…入力部
105…表示部
151…画像取得部
152…画像送信部
153…判定結果取得部
154…判定結果表示部
155…文字情報訂正部
200…サーバ
201…制御部
202…記憶部
203…UI部
204…通信部
251…画像受信部
252…画像補正部
253…項目領域検出部
254…文字認識部
255…エラー判定部
256…判定結果通知部
257…判定結果集計部
258…文字情報出力部
300…ネットワーク
1... Judgment system 100... Terminal device 101... Control section 102... Memory 103... Camera 104... Input section 105... Display section 151... Image acquisition section 152... Image transmission section 153... Judgment result acquisition section 154... Judgment result display section 155... Character information correction unit 200...Server 201...Control unit 202...Storage unit 203...UI unit 204...Communication unit 251...Image reception unit 252...Image correction unit 253...Item area detection unit 254...Character recognition unit 255...Error determination unit 256 ...Judgment result notification section 257...Judgment result aggregation section 258...Character information output section 300...Network

Claims (11)

  1.  荷物の配達における伝票への記入内容を判定する判定システムであって、
     前記伝票が撮影された伝票画像を取得する画像取得部と、
     前記伝票画像から前記伝票における記入欄を示す1または複数の領域を検出する検出部と、
     前記1または複数の領域それぞれに文字認識を行い、記入された文字情報を特定する文字認識部と、
     前記文字認識部にて特定された文字情報と、前記1または複数の領域に対して予め規定された記入規則とに基づいて、エラー判定を行うエラー判定部と、
     前記エラー判定部の判定によりエラーと判定された領域を通知する通知部と、
     を有する判定システム。
    A determination system for determining the contents entered in a slip for delivery of a package, the system comprising:
    an image acquisition unit that acquires a voucher image in which the voucher is photographed;
    a detection unit that detects one or more areas indicating entry fields in the slip from the slip image;
    a character recognition unit that performs character recognition on each of the one or more areas and identifies written character information;
    an error determination unit that performs an error determination based on the character information specified by the character recognition unit and a predefined entry rule for the one or more areas;
    a notification unit that notifies an area determined as an error by the error determination unit;
    A judgment system with
  2.  前記エラー判定部の判定によりエラーと判定された領域に対する訂正情報を受け付ける受付部を更に有し、
     前記受付部は、前記エラー判定部によりエラーと判定された際に、当該エラーが伝票への記入の間違いに起因するか、前記文字認識部の認識エラーに起因するかを選択可能に表示して受け付ける、請求項1に記載の判定システム。
    further comprising a reception unit that receives correction information for the area determined to be an error by the error determination unit;
    The reception unit is configured to selectably display whether the error is caused by a mistake in filling out the slip or a recognition error by the character recognition unit when an error is determined by the error determination unit. The determination system according to claim 1, wherein the determination system accepts.
  3.  前記記入規則は、伝票の種類ごとに規定される、請求項1に記載の判定システム。 The determination system according to claim 1, wherein the entry rule is defined for each type of slip.
  4.  前記記入規則は、伝票に含まれる前記1または複数の領域それぞれに対して規定される、請求項1に記載の判定システム。 The determination system according to claim 1, wherein the entry rule is defined for each of the one or more areas included in the slip.
  5.  前記エラー判定部による判定結果を集計する集計部を更に有する、請求項1に記載の判定システム。 The determination system according to claim 1, further comprising a totaling unit that totals the determination results by the error determining unit.
  6.  前記集計部は、伝票に含まれる前記1または複数の領域それぞれの集計結果と、当該伝票における前記1または複数の領域のレイアウトとを対応付けて表示させる、請求項5に記載の判定システム。 The determination system according to claim 5, wherein the aggregation unit displays the aggregation results of each of the one or more areas included in a slip in association with the layout of the one or more areas in the slip.
  7.  前記受付部にて受け付けた訂正情報に基づいて、前記1または複数の領域のうちの対応する領域の文字情報を訂正する訂正部と、
     前記訂正部にて訂正された文字情報を外部装置へ出力する出力部と、
    を更に有する、請求項2に記載の判定システム。
    a correction unit that corrects character information in a corresponding area of the one or more areas based on the correction information received by the reception unit;
    an output unit that outputs the character information corrected by the correction unit to an external device;
    The determination system according to claim 2, further comprising:
  8.  前記外部装置は、前記伝票の記入の間違いを訂正するための書面を印刷する印刷装置である、請求項7に記載の判定システム。 The determination system according to claim 7, wherein the external device is a printing device that prints a document for correcting errors in entry on the slip.
  9.  荷物の配達における伝票が撮影された伝票画像を撮影する撮影部と、
     前記伝票画像に対するエラー判定をサーバに要求する要求部と、
     前記伝票画像に含まれる1または複数の領域に記入された文字情報の前記エラー判定の結果を前記サーバから受信する受信部と、
     前記エラー判定によりエラーと判定された領域を通知し、当該領域に対する訂正情報を受け付ける受付部と、
     前記受付部にて受け付けた訂正情報を前記サーバに送信する送信部と、
     を有する端末装置。
    a photographing department that photographs a document image of a document in the delivery of a package;
    a request unit that requests a server to make an error determination on the slip image;
    a receiving unit that receives from the server the result of the error determination of the character information written in one or more areas included in the slip image;
    a reception unit that notifies an area determined to be an error by the error determination and receives correction information for the area;
    a transmitting unit that transmits the correction information received by the receiving unit to the server;
    A terminal device with
  10.  プロセッサがメモリと協働して、
     荷物の配達における伝票が撮影された伝票画像を取得し、
     前記伝票画像から前記伝票における記入欄を示す1または複数の領域を検出し、
     前記1または複数の領域それぞれに文字認識を行い、記入された文字情報を特定し、
     前記特定された文字情報と、前記1または複数の領域に対して予め規定された記入規則とに基づいて、エラー判定を行い、
     前記エラー判定によりエラーと判定された領域を通知する、
     判定方法。
    Processor works with memory to
    Obtain the document image of the document for delivery of the package,
    detecting one or more areas indicating entry fields in the slip from the slip image;
    Performing character recognition on each of the one or more areas, identifying the written character information,
    Performing an error determination based on the specified character information and a predefined entry rule for the one or more areas,
    Notifying an area determined as an error by the error determination;
    Judgment method.
  11.  コンピュータに、
     荷物の配達における伝票が撮影された伝票画像を取得する処理と、
     前記伝票画像から前記伝票における記入欄を示す1または複数の領域を検出する処理と、
     前記1または複数の領域それぞれに文字認識を行い、記入された文字情報を特定する処理と、
     前記特定された文字情報と、前記1または複数の領域に対して予め規定された記入規則とに基づいて、エラー判定を行う処理と、
     エラーと判定された領域を通知する処理と、
     を実行させるためのプログラム。
    to the computer,
    A process of acquiring a document image in which a document for delivery of a package is photographed;
    a process of detecting one or more areas indicating entry fields in the slip from the slip image;
    A process of performing character recognition on each of the one or more areas and identifying written character information;
    A process of determining an error based on the specified character information and a predefined entry rule for the one or more areas;
    A process of notifying an area determined to be an error,
    A program to run.
PCT/JP2023/007169 2022-03-11 2023-02-27 Determination system, terminal device, determination method, and program WO2023171456A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022038223A JP2023132727A (en) 2022-03-11 2022-03-11 Determination system, terminal device, determination method, and program
JP2022-038223 2022-03-11

Publications (1)

Publication Number Publication Date
WO2023171456A1 true WO2023171456A1 (en) 2023-09-14

Family

ID=87935198

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/007169 WO2023171456A1 (en) 2022-03-11 2023-02-27 Determination system, terminal device, determination method, and program

Country Status (2)

Country Link
JP (1) JP2023132727A (en)
WO (1) WO2023171456A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019079290A (en) * 2017-10-25 2019-05-23 キヤノンマーケティングジャパン株式会社 Information processing device, processing method and program thereof
JP2021068306A (en) * 2019-10-25 2021-04-30 富士ゼロックス株式会社 Information processing device and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019079290A (en) * 2017-10-25 2019-05-23 キヤノンマーケティングジャパン株式会社 Information processing device, processing method and program thereof
JP2021068306A (en) * 2019-10-25 2021-04-30 富士ゼロックス株式会社 Information processing device and program

Also Published As

Publication number Publication date
JP2023132727A (en) 2023-09-22

Similar Documents

Publication Publication Date Title
US20140201102A1 (en) Methods and systems for automatic form filling and validation
US10719385B2 (en) Method and apparatus for improved error handling
JP2005050343A (en) Method and system for automating workflow
CN103065173B (en) Identity information based on Quick Response Code is self-service fills in a form and automatic input system
US11477330B2 (en) Information processing device, information processing system, and non-transitory computer readable medium for providing suggestions to reconcile an inconsistency between content of related documents
JP6087452B1 (en) Paper document management system
CN100556062C (en) Based on the method for multiple OCR scheme combination verification with accurate extraction numeral
JP4991271B2 (en) Server device and its program
JP2019200549A (en) Information processing method, information processing device, information processing system, and data structure of document data
US10032232B2 (en) Information processing system, information processing method, and computer program product
JP2002324166A (en) Business form, business form processing, generating and printing system, method for processing, generating and printing business form
JP2016133917A (en) Server and program
WO2023171456A1 (en) Determination system, terminal device, determination method, and program
US20150170255A1 (en) Information processing apparatus, information processing method and recording medium storing information processing program
JP2006338677A (en) Entry propriety determination device, blank form, and program
JP5057800B2 (en) Information processing apparatus, image forming apparatus, information processing method, and information processing program
JP2007249630A (en) Financial transaction system
JP7485444B2 (en) Financial institution system, processing system, processing method and program
JP5707939B2 (en) Document creation device, document creation method, document creation program
US11934726B1 (en) Print job redirector to electronic transmission
CN104680414A (en) Receipt data manage system, method and device
TWM594201U (en) Document recognition system
JP3833604B2 (en) Transfer request method
JP2020009323A (en) Delivery customer management system
US20230267432A1 (en) Image processing apparatus that sets information related to transfer destination, method of controlling image processing apparatus, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23766634

Country of ref document: EP

Kind code of ref document: A1