Inspection device, inspection program, and inspection method
The inspection device automates document verification by analyzing images to prevent mix-ups, enhancing efficiency and preserving document aesthetics.
Patent Information
- Application Number
- JP2020141864
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-08-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-08-25
AI Technical Summary
Existing document inspection systems require manual visual checking to prevent mixing of documents for different customers, which is inefficient and may compromise document aesthetics by adding marks like perforation patterns.
An inspection device that acquires and analyzes document images to recognize document types, extracts reference keys, and determines if all keys match, allowing for automated document verification without marking.
Enables efficient verification of document mix-ups without altering the documents, ensuring accurate sorting and maintaining document appearance.
Smart Images

Figure 0007574572000001 
Figure 0007574572000002 
Figure 0007574572000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an inspection device for inspecting documents. [Background technology]
[0002] Business Process Outsourcing (BPO) is a method of outsourcing operations that a company does not have the operational know-how to an external company. One BPO operation is a print service that produces personalized printed materials with the client's customer data and seals them. In print services, multiple documents containing personal information may be sent to each customer. In this case, if documents intended for different customers are mixed up and sent, the client will lose the trust of the customer. For this reason, print services visually check the entire set of documents before sealing them to make sure no documents have been mixed up, which requires labor.
[0003] To address such situations, an envelope inspection system has been proposed that sets a punching pattern to be the same for multiple documents to be placed in the same envelope, and inspects the punching pattern after the documents are inserted to detect envelopes containing documents for different customers (Patent Document 1). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2013-193777 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, marking each document with a perforation pattern or other markings is a laborious process and can be difficult to obtain permission from the client, as it mars the aesthetic appearance of the document.
[0006] The present invention has been made in view of the above circumstances, and has an object to provide an inspection device and the like capable of inspecting whether documents belonging to different customers are mixed together without marking each document. [Means for solving the problem]
[0007] An inspection device according to one embodiment of the present application is characterized in that it comprises an acquisition unit that acquires multiple document images; a recognition unit that refers to a memory unit in which feature data and document types are stored in correspondence with each other and recognizes the document type of the document contained in each document image based on the acquired multiple document images and feature data; an extraction unit that extracts a reference key from the document image whose document type is a reference document and extracts a reference key from the document image whose document type is a comparison document; a determination unit that determines whether all of the extracted reference keys match the reference key; and an output unit that outputs the determination result. Effect of the Invention
[0008] In one aspect of the present application, it is possible to inspect whether documents belonging to different customers are mixed together without marking each document. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is an explanatory diagram illustrating an example of the configuration of an inspection system. [Diagram 2] FIG. 2 is a block diagram showing an example of a hardware configuration of an inspection device. [Diagram 3] FIG. 2 is a block diagram showing an example of a hardware configuration of a terminal. [Figure 4] FIG. 11 is an explanatory diagram illustrating an example of a task master DB. [Diagram 5] FIG. 11 is an explanatory diagram showing an example of an additional information DB. [Figure 6] FIG. 11 is an explanatory diagram showing an example of a history DB. [Figure 7] FIG. 2 is an explanatory diagram showing an example of a work status DB. [Figure 8] FIG. 11 is an explanatory diagram showing an example of a training data DB. [Figure 9] 1 is a flowchart showing an example of a business procedure. [Figure 10] 13 is a flowchart showing another example of a business procedure. [Figure 11] 13 is a flowchart illustrating an example of a procedure for a matching process. [Figure 12] FIG. 1 is an explanatory diagram regarding a generation process of a learning model. [Figure 13] 13 is a flowchart illustrating an example of a procedure for a learning model generation process. [Figure 14] FIG. 13 is an explanatory diagram showing an example of a matching result screen. [Figure 15] FIG. 13 is an explanatory diagram showing an example of a matching result screen. [Figure 16] FIG. 2 is a block diagram showing an example of a functional unit included in the inspection device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] (Embodiment 1) An embodiment will be described below with reference to the drawings. Fig. 1 is an explanatory diagram showing a configuration example of an inspection system. The inspection system 100 includes an inspection device 1, a terminal 2, and an imaging device 3. The inspection device 1 and the terminal 2 are connected to each other via a network N so as to be able to communicate with each other.
[0011] The inspection device 1 is configured with a server computer, a PC (Personal Computer), etc. In addition, the inspection device 1 may be configured with a multicomputer consisting of multiple computers, a virtual machine virtually constructed by software, or a quantum computer. The function of 1 may be realized by a cloud service.
[0012] The terminal 2 is configured as a notebook computer, a panel computer, a tablet computer, a smartphone, or the like. The imaging device 3 is configured as a digital camera, a scanner, or the like. The imaging device 3 may be configured as a plurality of digital cameras. The imaging device 3 may also be configured as a scanner with a feeder, a handy scanner, or the like. In FIG. 1, the imaging device 3 is connected to the terminal 2, but may also be connected to a network N.
[0013] 1, two terminals 2 are shown, but the number may be one or more than two. Similarly, the number of imaging devices 3 may be one or more than three.
[0014] 2 is a block diagram showing an example of the hardware configuration of the inspection device 1. The inspection device 1 includes a control unit 11, a main memory unit 12, an auxiliary memory unit 13, a communication unit 15, a clock unit 16, and a reading unit 17. The control unit 11, the main memory unit 12, the auxiliary memory unit 13, the communication unit 15, the clock unit 16, and the reading unit 17 are connected by a bus B.
[0015] The control unit 11 has one or more arithmetic processing devices such as a central processing unit (CPU), a micro-processing unit (MPU), a graphics processing unit (GPU), etc. The control unit 11 reads out and executes a control program 1P (inspection program) stored in the auxiliary storage unit 13, thereby performing various information processing, control processing, etc. related to the inspection device 1, and realizes functional units such as an acquisition unit, a recognition unit, an extraction unit, a determination unit, and an output unit.
[0016] The main memory unit 12 is a static random access memory (SRAM), a dynamic random access memory (DRAM), a flash memory, etc. The main memory unit 12 mainly temporarily stores data necessary for the control unit 11 to execute arithmetic processing.
[0017] The auxiliary storage unit 13 is a hard disk or a solid state drive (SSD) or the like, and stores a control program 1P and various databases (DBs) required for the control unit 11 to execute processing. The auxiliary storage unit 13 stores a task master DB 131, an auxiliary information DB 132, a history DB 133, a task status DB 134, and a training data DB 135. The auxiliary storage unit 13 also stores a learning model 141. The auxiliary storage unit 13 may be an external storage device connected to the inspection device 1. The various DBs and the like stored in the auxiliary storage unit 13 may be stored in a database server or cloud storage different from the inspection device 1.
[0018] The communication unit 15 communicates with the terminal 2 via the network N. In addition, the control unit 11 may use the communication unit 15 to download the control program 1P from another computer via the network N or the like and store it in the auxiliary storage unit 13.
[0019] The clock unit 16 measures time, such as the time elapsed since the start of the inspection device 1, etc. The clock unit 16 is a circuit that provides the control unit 11 with the result of timing in response to a request from the control unit 11. It is desirable for the clock unit 16 to repeatedly communicate with a reliable NTP server using NTP (Network Time Protocol) to correct the time.
[0020] The reading unit 17 reads the portable storage medium 1a including a CD (Compact Disc)-ROM and a DVD (Digital Versatile Disc)-ROM. The control unit 11 may read the control program 1P from the portable storage medium 1a via the reading unit 17 and store it in the auxiliary storage unit 13. The control unit 11 may also download the control program 1P from another computer via a network N or the like and store it in the auxiliary storage unit 13. Furthermore, the control unit 11 may read the control program 1P from the semiconductor memory 1b.
[0021] 3 is a block diagram showing an example of the hardware configuration of the terminal 2. The terminal 2 includes a control unit 21, a main memory unit 22, an auxiliary memory unit 23, a communication unit 24, an input unit 25, a display unit 26, an interface unit 27, and a clock unit 28. Each component is connected by a bus B.
[0022] The control unit 21 has one or more arithmetic processing devices such as a CPU, an MPU, a GPU, etc. The control unit 21 reads out and executes a control program 2P stored in the auxiliary storage unit 23, thereby performing various information processing, control processing, etc. related to the terminal 2.
[0023] The main memory unit 22 is an SRAM, a DRAM, a flash memory, etc. The main memory unit 22 mainly temporarily stores data necessary for the control unit 21 to execute arithmetic processing.
[0024] The auxiliary storage unit 23 is a hard disk or an SSD or the like, and stores the control program 2P and various data necessary for the control unit 21 to execute processing.
[0025] The communication unit 24 communicates with the inspection device 1 via the network N. In addition, the control unit 21 may use the communication unit 24 to download the control program 2P from another computer via the network N or the like, and store it in the auxiliary storage unit 23.
[0026] The input unit 25 is a keyboard and a mouse. The display unit 26 includes a liquid crystal display panel, etc. The display unit 26 displays the document inspection results, etc. If the inspection results in an error, the display unit 26 displays the location and content of the error. The display unit 26 and the input unit 25 may be integrated into one to form a touch panel display. The terminal 2 may display on an external display device.
[0027] The interface unit 27 performs data communication in accordance with standards such as Universal Serial Bus (USB) and Institute of Electrical and Electronics Engineers (IEEE) 1394. The interface unit 27 receives an image from the imaging device 3.
[0028] The timing unit 28 measures time, such as the time or the elapsed time since the terminal 2 was started up. The timing unit 28 is a circuit that provides the timing result to the control unit 21 in response to a request from the control unit 21. It is desirable that the time held by the timing unit 28 and the time held by the timing unit 16 of the inspection device 1 be synchronized.
[0029] Next, the databases used by the inspection system 100 will be described. Fig. 4 is an explanatory diagram showing an example of the task master DB 131. The task master DB 131 stores information about a workflow. The task master DB 131 includes a task code column and a task name column. The task code column stores a task code that uniquely identifies a workflow. The task name column stores the name of the workflow.
[0030] FIG. 5 is an explanatory diagram showing an example of the additional information DB 132. The additional information DB 132 stores additional information related to documents. The additional information DB 132 includes a working code string, a document recognition information string, a document type string, a document name string, a key area coordinate string, a placement location string, and a sequence string. The working code string stores a working code. The document recognition information string stores data referenced when recognizing a document type. For example, when recognizing a document type using the learning model 141, the document recognition information string stores output label information. When recognizing a document type by image pattern matching, the document recognition information string stores a reference image. The document type string stores a document type. The document type is, for example, a reference, a comparison, or a general-purpose document. The reference refers to a document (reference document) that serves as a reference when referring to a key. A document in which a key different from the key (reference key) written in the reference document is written results in an error. The comparison refers to a document (reference document) in which a key to be compared with the reference key is written when referring to a key. The general-purpose document refers to a general-purpose document (general-purpose document) in which no key is written. In this specification, the generic document includes an envelope. The document name column stores the name of the document. The key area coordinate column stores coordinates indicating the key area in the image of each document (hereinafter referred to as the "document image"). For example, the key area is rectangular, and the coordinate values of the two diagonal end points of the rectangle are stored. If the key area spans multiple locations, a label including a sequence number such as "Key 1" and "Key 2" is attached to the coordinate value. The placement location column stores the correct position when arranging the documents on the workbench. A space for arranging the documents on the workbench is secured, the space is divided into multiple areas, and labels including sequence numbers are attached. The order column stores the order in which the documents are scanned when the imaging device 3 that acquires the document image is a scanner. The document order indicates the stacking order when multiple documents are enclosed in an envelope. The document with sequence number 1 is placed on top, the document with sequence number 2 is placed below it, the document with sequence number 3, and so on, and the documents are stacked and enclosed in an envelope.
[0031] FIG. 6 is an explanatory diagram showing an example of the history DB 133. The history DB 133 stores the history of the matching work. The history DB 133 includes a working code column, a matching date and time column, a matching result column, a key column, an error column, an error location column, a first worker column, and a second worker column. The working code column stores a working code. The matching date and time column stores the date and time when the matching work was performed. The matching result column stores the matching result. If the matching is successful, the matching result column stores, for example, OK. A value other than OK, for example, O or 1, may be stored in the matching result column. If the matching is unsuccessful, the matching result column stores NG. A value other than NG, for example, X or 0, may be stored in the matching result column. The key column stores the reference key used for matching. The error column stores the error content when the matching is unsuccessful. If the key of the matching document does not match the reference key, the error column stores, for example, key mismatch. If the document is placed incorrectly, the error column stores, for example, placement error. A code may be assigned to each error content, and the error column may store the code. If the match is successful, the error column stores -, NULL, 0, etc. The error location column stores the location of the error. When documents are lined up on a workbench, the error location column stores the label or sequential number of the area where the error occurred. When documents are scanned with a scanner, the error location column stores the sequential number of the document where the error occurred. The first worker column and second worker column each store an employee ID, worker ID, etc. that can uniquely identify the worker who performed the work.
[0032] FIG. 7 is an explanatory diagram showing an example of the work status DB 134. The work status DB 134 stores the work status. The work status DB 134 includes a work code column, a work name column, a work date column, a first worker column, a second worker column, a comparison count column, an OK column, and an NG column. The work code column stores the work code. The work name column stores the name of the workflow. The work date column stores the work date. The first worker column and the second worker column store the employee ID of the worker, etc. The comparison count column stores the number of times comparison was performed. The OK column stores the number of times comparison was successful. The NG column stores the number of times comparison was unsuccessful. The work status DB stores the work status of the day. The work status is used for display on the display unit 26 of the terminal 2. Therefore, the work status DB 134 may store only one record for the day. In this case, the work date column is not essential. Furthermore, the OK column and the NG column are not essential. This is because the number of successful matches and the number of unsuccessful matches can be obtained from the history DB 133.
[0033] FIG. 8 is an explanatory diagram showing an example of the training data DB 135. The training data DB 135 stores training data for generating or relearning the learning model 141. The training data DB 135 includes a working code string, an image string, and a correct label string. The working code string stores a working code. The image string stores a document image. The entity of the document image may be stored as a file in the auxiliary storage unit 13, and the image string may store a file name. The correct label string stores a correct label of the document type corresponding to the document image.
[0034] Next, the procedure of the inspection system 100 will be described. FIG. 9 is a flow chart showing an example of the procedure. The procedure shown in FIG. 9 is a procedure flow in the case where the imaging device 3 is a tabletop camera and a set of documents placed on a workbench is photographed by the tabletop camera. The worker starts the inspection program, inputs the worker ID, and selects the work flow (step S1). The worker places a set of documents on the workbench (step S2). The worker photographs the documents (step S3). After photographing, the inspection system 100 performs a comparison (step S4). The worker checks the comparison result returned by the inspection system 100 (step S5). The worker checks whether the comparison result is successful or not (step S6). If the worker checks that the comparison result is successful (YES in step S6), the worker puts the documents in an envelope and seals it (step S7). The worker decides whether to end the work (step S8). If the worker decides to continue the work (NO in step S8), the process returns to step S2 and the work is performed on the unprocessed documents. If the worker decides to end the work (YES in step S8), the process ends. If the worker confirms that the comparison result is unsuccessful (NO in step S6), the worker refers to the error message and takes action (step S9). The worker returns to step S3 and performs the inspection again. It is desirable that the documents to be placed on the work table are folded, especially for large documents, so that they can be immediately enclosed. The reference document or the comparison document is placed so that the key area is located in a position that is visible when folded, and the key area is photographed. A robot arm or the like may be used to place the set of documents on the work table. If it is found that the arrangement of the documents on the work table is incorrect, the robot arm or the like may be used to arrange the documents in the correct arrangement.
[0035] FIG. 10 is a flow chart showing another example of the business procedure. The business procedure shown in FIG. 10 is a business flow in the case where the imaging device 3 is a scanner and scans each document constituting a set of documents. The worker starts the inspection program, inputs the worker ID, and selects the work flow (step S11). The worker sequentially scans the documents constituting the set of documents (step S12). After scanning all the documents, the worker issues a matching instruction (step S13). The worker checks the matching result returned by the inspection system 100 (step S14). The worker checks whether the matching result is successful or not (step S15). If the worker checks that the matching result is successful (YES in step S15), the worker puts the document in an envelope and seals it (step S16). The worker decides whether to end the work (step S17). If the worker decides to continue the work (NO in step S17), the worker returns to step S12 and works on the unprocessed documents. If the worker decides to end the work (YES in step S17), the worker ends the work. If the worker finds that the comparison result is unsuccessful (NO in step S15), he or she refers to the error message and takes appropriate action (step S18). The worker returns to step S12 and performs the inspection again. Note that it is desirable for the document to be scanned to be folded, especially for large documents, so that it can be inserted immediately. The reference document or comparison document is scanned in a folded state so that the key area is located in a visible position and the key area can be read.
[0036] Next, the information processing performed by the inspection system 100 will be described. FIG. 11 is a flow chart showing an example of the procedure of the matching process. The control unit 11 of the inspection device 1 starts the matching process when it receives an image captured by the imaging device 3 from the terminal 2. The control unit 11 judges whether the received image is a single image or not (step S31). When a set of documents is captured by a table camera, the received image is a single image. When each document constituting the set of documents is scanned by a scanner, the received image is an image group consisting of multiple images. When the control unit 11 judges that the received image is not a single image (NO in step S31), the process proceeds to step S33. When the control unit 11 judges that the received image is a single image (YES in step S31), the control unit 11 cuts out the image of each document from the received image (step S32). For example, the area of each document is detected as follows. A green cloth or sheet is laid on a workbench, and the documents are placed on it and photographed. In this case, the document area can be detected by threshold processing of color information. With reference to the color information (RGB value) of the image, it can be determined that the part with a large value indicating the green component is the background, and the other part is the document area. Also, a known edge detection process may be used to detect the outline of the document, and the document area may be detected based on the outline. Note that since the document area is assumed to be rectangular, a keystone correction process may be performed so that the detected document area becomes rectangular. The control unit 11 selects a document image to be processed (step S33). The control unit 11 recognizes the document type (step S34). The document type is recognized by inputting the document image to the learning model 141 and judging from the value of each label output by the learning model 141. The learning model 141 will be described later. Also, the document may be judged by comparing the document image with a reference image stored in the document recognition information string of the supplementary information DB 132. The control unit 11 judges whether the document type is a general-purpose document (step S35). If the control unit 11 determines that the document type is a general-purpose document (YES in step S35), the process proceeds to step S38. If the control unit 11 determines that the document type is not a general-purpose document (NO in step S35), the control unit 11 extracts a key area based on the value of the key area coordinate column in the additional information DB 132 (step S36). The control unit 11 performs character recognition processing on the key area to recognize the keys (step S37).It should be noted that extraction of the key area (step S36) is not essential. Character recognition may be performed on the entire document image without extracting the key area. Character area detection may be performed on the key area, and character recognition may be performed on the detected character area. This is expected to improve the recognition rate. The control unit 11 associates the recognized document type, key, and document placement position or scanning order, and stores them in a temporary storage area (step S38). The temporary storage area is provided in the main storage unit 12 or the auxiliary storage unit 13. The control unit 11 determines whether or not there is an unprocessed document image (step S39). If the control unit 11 determines that there is an unprocessed document image (YES in step S39), it returns the process to step S33 and processes the unprocessed document image. When the control unit 11 determines that there are no unprocessed document images (NO in step S39), it compares the document type and the document placement position or scan order stored in the temporary storage area with the document type, placement position column, or sequence column in the auxiliary information DB 132 (step S40). The control unit 11 performs a reference key comparison (step S41). The control unit 11 acquires a reference key from the document type and key stored in the temporary storage area. The control unit 11 acquires a key of the matching document (matching key) from the document type and key stored in the temporary storage area. The control unit 11 compares all matching keys with the reference key and determines whether they all match. The control unit 11 outputs the matching result (step S42). If the placement positions or order of all documents are correct and all matching keys match the reference keys, the matching result is successful. If there is a document with an incorrect placement position or order, if there is an excess or shortage of documents, or if there is a document whose matching key does not match the reference key, the matching result is unsuccessful. If the matching result is unsuccessful, the control unit 11 outputs the fact that the matching has failed. The control unit 11 ends the matching process. When outputting the matching result in step S42, the control unit 11 adds a record of the matching result to the history DB 133 as history. Note that character recognition does not have to be performed in the key recognition (step S37). In this case, in the matching with the reference key (step S41), an image of the reference key and an image of the matching key are compared to determine whether they match.
[0037] Next, the learning model 141 will be described. Fig. 12 is an explanatory diagram regarding the generation process of the learning model 141. Fig. 12 conceptually shows the process of generating the learning model 141 by performing machine learning. The control unit 11 of the inspection device 1 generates a neural network that inputs the document image and outputs the document type as the learning model 141 by performing deep learning to learn the feature amount of each document image in each work flow. The neural network is, for example, a CNN (Convolution Neural Network), and has an input layer that accepts the input of the document image, an output layer that outputs the document type, and an intermediate layer that extracts the image feature amount of the document image.
[0038] The input layer has a plurality of neurons that accept input of pixel values of each pixel included in the document image, and passes the input pixel values to the intermediate layer. The intermediate layer has a plurality of neurons, extracts features from the document image, and passes them to the output layer. For example, the intermediate layer has a configuration in which a convolution layer that convolves the pixel values of each pixel input from the input layer and a pooling layer that maps the pixel values convolved in the convolution layer are alternately connected, and finally extracts image features while compressing the pixel information of the document image. The output layer is composed of one or more neurons that output the document type, and outputs the document type based on the image features output from the intermediate layer. Note that, in this embodiment, the learning model 141 is described as being a CNN, but the learning model 141 is not limited to a CNN, and may be a model constructed with other learning algorithms such as a neural network other than CNN or a support vector machine (SVM), and the document type may be determined without using a learning model such as pattern matching or a decision tree.
[0039] The control unit 11 performs learning using training data in which a plurality of document images are associated with a correct answer value of the document type for each document image. For example, as shown in Fig. 12, the training data is data in which a correct answer label corresponding to the document type is attached to the working code and the document image. Label 0 corresponds to the reference document, label 1 corresponds to the verification document, and label 2 corresponds to the general-purpose document.
[0040] The control unit 11 inputs a document image, which is training data, into the input layer, and obtains a probability value of each label from the output layer after arithmetic processing in the intermediate layer. The control unit 11 compares the probability value of each label output from the output layer with the correct value label, and optimizes parameters used in the arithmetic processing in the intermediate layer so that the probability value from the correct label in the output layer approaches 1. The parameters are, for example, weights (coupling coefficients) between neurons, activation function coefficients used in each neuron, and the like. There are no particular limitations on the method of optimizing the parameters, but for example, the control unit 11 optimizes various parameters using the backpropagation method. The control unit 11 performs the above processing on each document image included in the training data to generate a learning model 141.
[0041] FIG. 13 is a flowchart showing an example of a procedure for generating the learning model 141. The control unit 11 selects one of the training data stored in the training data DB 135 (step S51). The control unit 11 extracts input data from the training data excluding the correct label (step S52). The control unit 11 inputs the input data to the input layer of the neural network (step S53). The control unit 11 acquires the output data and the probability value for each label from the output layer (step S54). The control unit 11 compares the probability value for each label with the correct label, and optimizes the parameters (weights, etc.) used in the calculation process in the intermediate layer so that the probability value of the correct label output from the output layer approaches 1 (step S55). The control unit 11 determines whether or not there is unused training data (step S56). When the control unit 11 determines that there is unused training data (YES in step S56), the process returns to step S51. When the control unit 11 determines that there is no unused training data (NO in step S56), the control unit 11 stores the generated learning model 141 in the auxiliary storage unit 13 (step S57), and ends the process.
[0042] Next, the screens displayed on the display unit 26 of the terminal 2 will be described. FIG. 14 is an explanatory diagram showing an example of a matching result screen. FIG. 14 is an example of a screen when matching is successful. The matching result screen d01 includes a name area d011, a worker area d012, a key area d013, and a message area d014, a result display area d015, and a counter area d016. The name area d011 displays the name of the workflow. The worker area d012 displays the worker IDs of the two workers. The key area d013 displays the recognized keys in a table format. FIG. 14 shows a case where there are two key areas. The first row of the key area d013 displays the recognized key value. The other rows show images of the key area for each document. KEY displays an image of the reference key, and SUB1, SUB2, and SUB3 display images of the matching keys of the matching documents. The message area d014 displays a message supplementing the matching result. If matching is successful, nothing is displayed. The result display area d015 displays the matching result. In Fig. 14, a circle is displayed to indicate a successful match. The counter area d016 displays the number of matches. The number of matches is reset to 0 immediately after the inspection program is started and immediately after a work flow is selected. The number of matches includes the number of successful matches and the number of unsuccessful matches. The number of successful matches and the number of unsuccessful matches may be displayed separately.
[0043] FIG. 15 is an explanatory diagram showing an example of a matching result screen. FIG. 15 is an example of a screen when matching has failed. The screen configuration is the same as in FIG. 14, so an explanation of each area will be omitted. In the example shown in FIG. 15, an error has occurred because the key of the form shown by SUB1 does not match the reference key. To indicate that the SUB1 form is in error, the background of the SUB1 row in the key area d013 is hatched. In an actual screen, the background may be red, or may be a blinking display. An error message is displayed in the message area d014. A cross is displayed in the result display area d015, indicating that matching has failed.
[0044] On the matching result screen d01, the name area d011, the worker area d012, and the counter area d016 may be displayed based on data stored in the work status DB 134. The work status DB 134 may be stored in the auxiliary storage unit 23 of the terminal 2.
[0045] In this embodiment, it is possible to check whether documents of different customers are mixed in among multiple documents. Also, since the parts where the matching failed are displayed, the worker can check the documents corresponding to the failed parts and quickly replace them with the correct documents.
[0046] The matching process may be performed by the terminal 2, rather than by the inspection device 1. In this case, the task master DB 131, the auxiliary information DB 132, the task status DB 134, and the learning model 141 are stored in the auxiliary storage unit 23 of the terminal 2. The matching history may be stored in the auxiliary storage unit 23 during the task, and transferred to the inspection device 1 after the task is completed.
[0047] Document images may also be stored in history DB 133. When a certain amount of history data has been accumulated in history DB 133, training data may be generated from the history data, and learning model 141 may be re-learned. Re-learning is performed by inspection device 1. When recognition is performed by terminal 2, parameters of learning model 141 obtained by re-learning are reflected in learning model 141 stored in terminal 2.
[0048] 16 is a block diagram showing an example of functional units included in the inspection device. The inspection device 1 includes, as functional units, an acquisition unit 11a, a recognition unit 11b, an extraction unit 11c, a determination unit 11d, and an output unit 11e. Each of these functional units is realized by the control unit 11 operating based on a control program 1P.
[0049] The acquisition unit 11a acquires a document image for each document from images of multiple documents. The recognition unit 11b refers to a storage unit that stores feature data and document types in association with each other, and recognizes the document type of the document contained in each document image based on the acquired document image and feature data. The extraction unit 11c extracts a reference key from the document image whose document type is a reference document, and extracts a reference key from the document image whose document type is a comparison document. The judgment unit 11d judges whether or not all of the extracted reference keys match the reference key. The output unit 11e outputs the judgment result.
[0050] The technical features (constituent elements) described in each embodiment can be combined with each other, and by combining them, new technical features can be formed. The embodiments disclosed herein are illustrative in all respects and should not be considered as limiting. The scope of the present invention is defined by the claims, not by the above meaning, and is intended to include all modifications within the scope and meaning equivalent to the claims. [Explanation of symbols]
[0051] 100 Inspection Systems 1. Inspection equipment 11 Control section 11a Acquisition part 11b Recognition part 11c Extraction part 11d Judgment section 11e Output section 12 Main memory 13 Auxiliary storage 131 Work Master DB 132 Additional Information DB 133 History DB 134 Work Status DB 135 Training Data DB 141 Learning Model 15 Communications Department 16 Timing section 17 Reading section 1P control program 1a Removable storage media 1b Semiconductor memory 2. Terminal 21 Control section 22 Main memory 23 Auxiliary storage 24 Communications Department 25 Input section 26 Display section 27 Interface section 28 Timing section 2P control program 3. Imaging device
Claims
1. An acquisition unit for acquiring a plurality of document images; a recognition unit that refers to a storage unit that stores feature data extracted from a document image and a document type of a document included in the document image in association with each other, and recognizes a document type of a document included in each of the document images based on the acquired multiple document images and the feature data extracted from the multiple document images; an extracting unit that extracts a reference key from the document image whose document type is a reference document and extracts a reference key from the document image whose document type is a comparison document; a determination unit that determines whether or not all of the extracted reference keys match the reference key; An output unit that outputs the judgment result; An inspection device comprising:
2. the storage unit stores the document type and the key area coordinate sequence in association with each other; The extraction unit extracts the base key and the reference key based on the value of the key region coordinate sequence.
2. The inspection apparatus according to claim 1 .
3. The storage unit stores the document layout and the document type in association with each other, The multiple document images are a single image, and the recognition unit segments each document image; Recognizing the arrangement of each of the document images within the plurality of document images; The determination unit refers to the storage unit, and determines whether or not there is an excess or shortage of the documents and whether or not there is an error in the placement based on the recognized document type and the placement.
3. The inspection device according to claim 1, wherein the first and second electrodes are arranged in a first direction.
4. The storage unit stores the document acquisition order and the document type in association with each other, The plurality of document images are made up of a plurality of images to which sequential numbers indicating the order in which the document images were obtained are assigned, The determination unit refers to the storage unit, and determines whether or not there is a surplus or shortage of the documents and whether or not there is an error in the acquisition order based on the recognized document type and sequence number.
3. The inspection device according to claim 1, wherein the first and second electrodes are arranged in a first direction.
5. A computer capable of referencing a memory unit in which feature data extracted from a document image and a document type of a document included in the document image are stored in association with each other, Acquire multiple document images, referring to the storage unit, and recognizing a document type of the document included in each of the document images based on the acquired document images and feature data extracted from the document images; Extracting a reference key from the document image whose document type is a reference document and extracting a reference key from the document image whose document type is a comparison document; determining whether or not all of the extracted reference keys match the reference key; Output the judged result An inspection program that causes the computer to perform processing.
6. A computer capable of referencing a memory unit in which feature data extracted from a document image and a document type of a document included in the document image are stored in association with each other, Acquire multiple document images, referring to the storage unit, and recognizing a document type of the document included in each of the document images based on the acquired document images and feature data extracted from the document images; Extracting a reference key from the document image whose document type is a reference document and extracting a reference key from the document image whose document type is a comparison document; determining whether or not all of the extracted reference keys match the reference key; Output the judged result 13. An inspection method comprising:
Citation Information
Patent Citations
Ring trip circuit
JP1978056905A
Form identification apparatus and form identification method
JP2005242786A
System and method for inspecting envelope
JP2013193777A
Image data processing device, method, and program
JP2015191382A
Form reading apparatus
JP2020046860A
