Image processing device, image processing method, and program

The image processing device analyzes scanned images to determine similarities and groups them with registered documents, addressing the challenge of displaying unknown types together, thereby simplifying file retrieval.

JP7532085B2Active Publication Date: 2024-08-13CANON KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2020089594
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-05-22
Publication Date
2024-08-13
Estimated Expiration
2040-05-22

AI Technical Summary

Technical Problem

Existing methods fail to efficiently group and display scanned images of unknown document types together, increasing user workload in searching for desired files.

Method used

An image processing device that analyzes scanned images to determine similarities with registered documents, registering new images and displaying similar documents together in a list, reducing the need for manual sorting.

Benefits of technology

Reduces user workload by automatically grouping and displaying similar scanned images together, making it easier to find desired files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007532085000001
    Figure 0007532085000001
  • Figure 0007532085000002
    Figure 0007532085000002
  • Figure 0007532085000003
    Figure 0007532085000003
Patent Text Reader

Abstract

To reduce user workloads when setting for a scanned image.SOLUTION: An image processing device is configured: to detect text blocks in each of a plurality of scanned images; to analyze whether there is a similar form having a document form that matches the document form of the scanned image to be analyzed based on the arrangement of the text blocks detected in the scanned image to be analyzed; to register arrangement information of the text blocks of the scanned image to be analyzed, which is analyzed that there is no similar form, as the document form of a new form; and to repeat the analysis processing and the registration processing until there are no scanned images that have not been analyzed. Then, among the plurality of scanned images, the scanned images having the same similar form are collectively displayed on a display unit.SELECTED DRAWING: Figure 11
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to display processing of scanned image files. [Background technology]

[0002] As a method of managing documents, there is a system that converts the scanned image obtained by reading a document with a scanner into a file of a specified format, and sets the file name of the scanned image based on the contents of the document to manage the documents. When multiple documents to be digitized are scanned at the same time, it is possible to present the multiple scanned image files to the user in a list format. By presenting the files to the user in a list format, the user can select the desired file from the list and perform the work.

[0003] Patent Document 1 describes a method of comparing predefined standard document information with image data to determine the type of document that has been read, and displaying documents of the same type together. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Publication No. 8-221558 Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the method of Patent Document 1, when image data does not match the standard document information and the document type cannot be determined, it is not possible to display them together for documents of the same type. This can increase the user's workload, such as searching for the desired scanned image file from a file list.

[0006] The present disclosure aims to reduce the workload of a user when setting up a scan image. [Means for solving the problem]

[0007] The image processing device of the present disclosure comprises a determination means for sequentially analyzing each of a plurality of scan images and determining similar forms that are similar to the scan image to be analyzed, a registration means for registering information regarding the scan image to be analyzed for which the determination means has determined that there is no similar form as a new form, and a display control means for controlling the display of a list of the plurality of scan images on a display unit, and when the registration means has registered information regarding the scan image to be analyzed as the new form, the determination means determines a similar form from among forms that have been registered in advance and the new form registered by the registration means for the scan image to be analyzed after the scan image to be analyzed, and in the list of the plurality of scan images, scan images for which the determination means has determined that there is no similar form are displayed together. Effect of the Invention

[0008] According to the technology of the present disclosure, it is possible to reduce the workload of a user when setting up a scan image. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a diagram showing the overall configuration of an image processing system. [Diagram 2] FIG. 1 is a block diagram showing the hardware configuration of an MFP. [Diagram 3] FIG. 2 is a block diagram showing the hardware configuration of an MFP cooperation server and a storage server. [Figure 4] FIG. 1 is a block diagram showing a functional configuration of an image processing system. [Diagram 5] FIG. 2 is a sequence diagram showing the overall processing flow of the image processing system. [Figure 6] FIG. 13 is a diagram showing an example of a UI screen of a main menu. [Figure 7] FIG. 13 is a diagram showing an example of a login screen. [Figure 8] FIG. 4 is a diagram showing an example of a scan setting screen. [Figure 9] FIG. 13 is a diagram showing an example of a storage save screen. [Figure 10] FIG. 13 is a diagram showing an example of a file name setting screen. [Figure 11] 11 is a flowchart showing details of an image analysis process. [Figure 12] FIG. 13 is a diagram showing an example of a data structure of analysis result information. [Figure 13] FIG. 13 is a diagram showing an example of a group name list. [Figure 14] 11 is a flowchart showing details of a group name update process. [Figure 15] FIG. 11 is a diagram for explaining a process of comparing character strings. [Figure 16] 11 is a flowchart showing details of a group name generation process. [Figure 17] FIG. 13 is a diagram showing an example of a group name list. [Figure 18] 11A and 11B are diagrams showing an example of a new form and a form similar to the new form. [Figure 19] FIG. 11 is a diagram showing an example of a character recognition result of a scanned image. [Figure 20] 11 is a flowchart showing details of a group name generation process. [Figure 21] FIG. 11 is a diagram showing an example of data generated by a file information input process. [Figure 22] FIG. 11 is a diagram for explaining a process of comparing character strings. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

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

[0011] <First embodiment> [System Configuration] 1 is a diagram showing the overall configuration of an image processing system according to this embodiment. The image processing system includes an MFP (Multifunction Peripheral) 110, an MFP cooperation server 120, and a storage server 130. MFP 110 is communicably connected via a LAN (Local Area Network) to servers that provide various services on the Internet.

[0012] 1 is a diagram showing the overall configuration of an image processing system according to this embodiment. The image processing system includes an MFP (Multifunction Peripheral) 110, and server devices 120 and 130 that provide cloud services over the Internet. The MFP 110 is connected to the server devices 120 and 130 via the Internet so as to be able to communicate with them.

[0013] The MFP 110 is an example of an image processing device having a scan function. The MFP 110 is a multifunction device having multiple functions such as a print function and a BOX storage function in addition to a scan function. The server devices 120 and 130 are both examples of image processing devices that provide cloud services. The server device 120 of this embodiment provides a cloud service that performs image analysis on a scanned image received from the MFP 110 and transfers a request from the MFP 110 to a server device 130 that provides another service.

[0014] Hereinafter, the cloud service provided by server device 120 will be referred to as the "MFP linkage service." Server device 130 provides a cloud service (hereinafter referred to as the "storage service") that stores files transmitted via the Internet and provides stored files in response to requests from a web browser on a mobile terminal (not shown) or the like. In this embodiment, server device 120 that provides an MFP linkage server will be referred to as the "MFP linkage server," and server device 130 that provides a storage service will be referred to as the "storage server."

[0015] 1 is an example, and is not intended to be limiting. For example, MFP 110 may also have the functions of MFP link server 120. MFP link server 120 may be connected to MFP 110 via a local area network (LAN) rather than via the Internet. Storage server 130 may be replaced with a mail server that provides a mail delivery service, and the application may be such that a scanned image of a document is attached to a mail and sent.

[0016] [MFP hardware configuration] FIG. 2 is a block diagram showing the hardware configuration of the MFP 110. The MFP 110 includes a control unit 210, an operation unit 220, a printer unit 221, a scanner unit 222, and a modem 223. The control unit 210 includes the following units 211 to 219, and controls the overall operation of the MFP 110. The CPU 211 reads out and executes various control programs (programs corresponding to various functions shown in a functional configuration diagram described later) stored in the ROM 212. The RAM 213 is used as a temporary storage area such as a main memory and a work area for the CPU 211. Note that in this embodiment, one CPU 211 executes each process shown in a flowchart described later using one memory (RAM 213 or HDD 214), but is not limited to this. For example, each process may be executed by cooperating multiple CPUs and multiple RAMs or HDDs. The HDD 214 is a large-capacity storage unit that stores image data and various programs. The operation unit I / F 215 is an interface that connects the operation unit 220 and the control unit 210.

[0017] The operation unit 220 includes a touch panel that also functions as a display unit, a keyboard, and the like, and accepts operations / inputs / instructions from a user. The touch operation on the touch panel includes an operation with a person's finger and an operation with a touch pen. The printer I / F 216 is an interface that connects the printer unit 221 and the control unit 210. Image data for printing is transferred from the control unit 210 to the printer unit 221 via the printer I / F 216, and is printed on a recording medium such as paper. The scanner I / F 217 is an interface that connects the scanner unit 222 and the control unit 210. The scanner unit 222 optically reads an original set on a document table or an ADF (Auto Document Feeder), not shown, to generate scanned image data, and inputs the scanned image data to the control unit 210 via the scanner I / F 217. The scanned image data generated by the scanner unit 222 can be printed by the printer unit 221 (copy output), saved in the HDD 214, or sent as a file to an external device such as the MFP linkage server 120 via a LAN. Modem I / F 218 is an interface that connects modem 223 and control unit 210. Modem 223 communicates image data by facsimile with a facsimile machine (not shown) on the PSTN. Network I / F 219 is an interface that connects control unit 210 (MFP 110) to a LAN. MFP 110 uses network I / F 219 to transmit scanned image data to MFP linked server 120 and receive various data from MFP linked server 120. The hardware configuration of MFP 110 described above is one example, and other configurations may be included as necessary, or some of the configurations may not be included.

[0018] [Server hardware configuration] 3 is a block diagram showing the hardware configuration of MFP collaborative server 120 / storage server 130. MFP collaborative server 120 and storage server 130 have a common hardware configuration, and are composed of CPU 311, ROM 312, RAM 313, HDD 314, and network I / F 315. CPU 311 controls the overall operation by reading out a control program stored in ROM 312 and executing various processes. RAM 313 is used as a temporary storage area such as the main memory and work area of ​​CPU 311. HDD 314 is a large-capacity storage unit that stores image data and various programs. Network I / F 315 is an interface that connects control unit 310 to the Internet. MFP collaborative server 120 and storage server 130 receive various processing requests from other devices (such as MFP 110) via network I / F 315, and return processing results according to the requests.

[0019] [Image processing system functional configuration] 4 is a block diagram showing the functional configuration of image processing system 100 according to the present embodiment. Below, functional configurations corresponding to the respective roles of MFP 110, MFP linkage server 120, and storage server 130 constituting image processing system 100 will be described in order. Note that, of the various functions of each device, the following description will focus on functions related to the process of scanning a document, digitizing it (making it into a file), and saving it in storage server 130.

[0020] [MFP functional configuration] The function modules of the MFP 110 are roughly divided into two: a native function module 410 and an additional function module 420. The native function module 410 is an application that is provided as standard in the MFP 110, whereas the additional function module 420 is an application that is additionally installed in the MFP 110. The additional function module 420 is an application based on Java (registered trademark), and can easily realize the addition of functions to the MFP 110. Note that other additional applications (not shown) may be installed in the MFP 110.

[0021] The native function module 410 includes a scan execution unit 411 and a scan image management unit 412. The additional function module 420 includes a display control unit 421, a scan control unit 422, a cooperative service request unit 423, and an image processing unit 424.

[0022] Display control unit 421 displays a user interface screen (UI screen) for receiving various user operations on the touch panel of operation unit 220. The various user operations include, for example, input of login authentication information for accessing MFP linkage server 120, scan settings, an instruction to start scanning, file name settings, an instruction to save a file, and the like.

[0023] In response to a user operation (e.g., pressing a "Start Scan" button) performed on the UI screen, scan control unit 422 instructs scan execution unit 411 to execute a scan process together with information on scan settings. In accordance with the instruction to execute a scan process from scan control unit 422, scan execution unit 411 causes scanner unit 222 to execute a document reading operation via scanner I / F 217, and generates scanned image data. The generated scanned image data is stored in HDD 214 by scanned image management unit 412. At this time, information on a scanned image identifier that uniquely identifies the stored scanned image data is notified to scan control unit 422. The scanned image identifier is a number, symbol, alphabet, or the like for uniquely identifying an image scanned in MFP 110. Scan control unit 422 acquires, for example, scanned image data to be converted into a file from scanned image management unit 412 using the scanned image identifier. Then, scan execution unit 411 instructs cooperation service request unit 423 to make a request for processing required for the file to MFP cooperation server 120.

[0024] Linked service request unit 423 requests various processes to MFP linked server 120 and receives the responses. The various processes include, for example, login authentication, analysis of scanned images, and transmission of scanned image data. Communication protocols such as REST and SOAP are used for communication with MFP linked server 120. Image processing unit 424 performs predetermined processing on the scanned image data and generates an image used on the UI screen displayed by display control unit 421.

[0025] Note that a device other than the MFP 110 (such as a client PC not shown) may have some of the functions realized by the above-mentioned additional function module 420, etc. In other words, a system configuration may be used in which a client PC performs an analysis request for a scanned image obtained by the MFP 110 and setting of a file name based on the analysis result, etc.

[0026] Furthermore, when setting a file name, etc., in a client PC, a program (module) for setting the file name, etc. may be configured to be pre-installed in the client PC, but is not limited to this. For example, the client PC may be configured to obtain a web application for setting the file name, etc., from MFP-linked server 120 and execute the application using a general-purpose web browser provided in the client PC.

[0027] [Server device functional configuration] First, a description will be given of the functional configuration of MFP collaborative server 120. MFP collaborative server 120 has a request control unit 431, an image processing unit 432, a storage server access unit 433, a data management unit 434, and a display control unit 435. Request control unit 431 waits in a state in which it can receive a request from an external device, and instructs image processing unit 432, storage server access unit 433, and data management unit 434 to execute a predetermined process according to the contents of the received request.

[0028] The image processor 432 performs analysis such as character area detection, character recognition (OCR), and similar document determination on the scanned image data sent from the MFP 110, as well as image processing such as rotation and tilt correction. Note that, hereinafter, the character area detected from the scanned image will be referred to as a "text block." In addition, the following description will be given using documents such as estimates and invoices as examples of target documents, and the scanned image may be referred to as a "document image."

[0029] Storage server access unit 433 makes processing requests to storage server 130. Cloud services publish various interfaces for saving files to storage servers and retrieving saved files using protocols such as REST and SOAP. Storage server access unit 433 uses the published interfaces to make requests to storage server 130. Data management unit 434 holds and manages user information, image analysis results, various setting data, and the like, managed by MFP linked server 120.

[0030] The display control unit 435 receives a request from a web browser running on a PC or mobile terminal (neither of which are shown) connected via the Internet, and returns screen information (HTML, CSS, etc.) required for screen display. The user can check registered user information and change scan settings via the screen displayed by the web browser.

[0031] Next, the functional configuration of storage server 130 will be described. Storage server 130 has a request control unit 441, a file management unit 442, and a display control unit 443. Request control unit 441 waits in a state in which it can receive a request from an external device, and in this embodiment, instructs file management unit 442 to save a received file or read a saved file in response to a request from MFP linked server 120. Then, it returns a response in response to the request to MFP linked server 120. Display control unit 443 receives a request from a web browser running on a PC or mobile terminal (neither of which are shown in the figures) connected via the Internet, and returns screen configuration information (HTML, CSS, etc.) required for screen display. A user can check or obtain saved files via a screen displayed on the web browser.

[0032] [Overall process flow] FIG. 5 is a sequence diagram showing the flow of processing between devices when scanning a document (form) with the MFP 110, converting the obtained form image into a file, and saving it in a storage server. FIG. 6 is a diagram showing an example of a UI screen of a main menu (hereinafter, referred to as a "main screen") displayed at the start of the MFP 110. By scanning a document into a file and installing a dedicated application required for using a cloud storage service in the MFP 110, a "scan and save to cloud storage" button 601 is displayed on the main screen 600. Then, when a user presses the "scan and save to cloud storage" button 601 from among the menu buttons displayed in the main screen 600, a series of processing shown in the sequence diagram of FIG. 5 starts. Note that the sequence diagram of FIG. 5 explains the case of setting a file name to be given when converting a scanned image into a file, but it can be applied to general properties such as a folder path and metadata in addition to a file name.

[0033] Below, the exchanges between devices will be explained in chronological order according to the sequence diagram in Figure 5. In the following explanation, the symbol "S" represents a step.

[0034] MFP 110 displays on operation unit 220 a UI screen (hereinafter referred to as the "login screen") for inputting login authentication information for accessing MFP linked server 120 (S501). An example of the login screen is shown in Fig. 7. When a user inputs a pre-registered user ID and password into input fields 702 and 703, respectively, on login screen 700 and presses "Login" button 701, a login authentication request is sent to MFP linked server 120 (S502).

[0035] Upon receiving the login authentication request, MFP cooperation server 120 performs authentication processing using the user ID and password included in the request (S503). If the authentication processing confirms that the user is a valid user, MFP cooperation server 120 returns an access token to MFP 110. Thereafter, the access token is sent together with various requests made from MFP 110 to MFP cooperation server 120, thereby identifying the currently logged-in user. In this embodiment, the completion of login to MFP cooperation server 120 also completes login to storage server 130 at the same time. For this purpose, the user associates in advance a user ID for using the MFP cooperation service with a user ID for using the storage service via a web browser or the like of a PC (not shown) on the Internet. As a result, if login authentication to MFP cooperation server 120 is successful, login authentication to storage server 130 is also completed at the same time, and the operation for logging in to storage server 130 can be omitted. Then, MFP cooperation server 120 can also respond to requests for storage services from users who have logged in to its own device. The login authentication may be performed using a generally known method (Basic authentication, Digest authentication, authorization using OAuth, etc.).

[0036] When the login is completed, the MFP 110 displays a UI screen for scan settings (hereinafter, referred to as a "scan setting screen") on the operation unit 220 (S504). FIG. 8 shows an example of the scan setting screen. The scan setting screen 800 has a "Start Scan" button 801, a color setting field 802, and a resolution setting field 803. The "Start Scan" button 801 is a button for instructing the start of a scan process for a document (in this embodiment, a document such as an estimate or an invoice) set on the platen. The color setting field 802 sets the color mode at the time of scanning. For example, the color mode can be selected from among options such as full color and monochrome. The resolution setting field 803 sets the resolution at the time of scanning. For example, the resolution can be selected from among options such as 600 dpi and 1200 dpi. Note that the color mode and the resolution are examples of setting items, and all of these items may not be present, or other setting items may be present. Also, the options for the color mode and the resolution may be limited to only the setting values ​​required by the storage service. The logged-in user sets detailed conditions for the scan process via scan setting screen 800. After completing the scan settings, the logged-in user places the document to be scanned on the platen of MFP 110 and presses "Start Scan" button 801 to execute scanning (S505). This generates scanned image data that is a digitalized version of the paper document. After the scan is complete, MFP 110 sends the scanned image data obtained by the scan to MFP linked server 120 together with an analysis request for the scanned image data (S506).

[0037] In MFP link server 120 that has received the request to analyze the form image, request control unit 431 instructs image processing unit 432 to execute analysis processing (S507). At that time, request control unit 431 returns to MFP 110 a request ID that can uniquely identify the received analysis request.

[0038] Meanwhile, the image processing unit 432 that has received the instruction to execute the analysis process executes the analysis process on the form image related to the analysis request (S508). In this analysis process, first, a process is performed to detect text blocks present in the form image to be analyzed. The detection of text blocks may be performed using a known method, such as a method of extracting rectangular areas that are assumed to be characters from an image that has been binarized using a certain threshold value. Next, character recognition processing (OCR: Optical Character Recognition) is performed on each text block found by the text block detection process.

[0039] Then, a process (document discrimination process) is performed to determine whether the form image to be analyzed is similar to previously digitized form images by comparing it with forms registered as learning data. Past forms (images) that are similar to the form image to be analyzed are called similar forms.

[0040] This form discrimination process uses layout information that indicates where each text block in the form image being analyzed is located within the form image. Specifically, the layout information of the form image being analyzed this time is compared with the layout information of past form images registered in learning data, etc., to determine whether the layouts of the text blocks are the same or similar. This is based on the fact that if the layouts of text blocks are the same or similar, it can be inferred that they are forms of the same type that were created using the same document form (form form).

[0041] The results obtained by these analysis processes are passed to the request control unit 431. Note that in this embodiment, the similarity of the forms is determined based only on the degree of similarity of the text block arrangement, but for example, the type of form (quote, invoice, etc.) may be identified from the OCR results, and the similarity determination may be performed taking into account the obtained type information. Note that details of this step will be described later with reference to FIG. 11.

[0042] While the above analysis process is being performed, MFP 110 uses the above-mentioned request ID to periodically (for example, every several hundred milliseconds to a few milliseconds) inquire about the processing status of MFP linked server 120 (S509 to S509'). This inquiry is executed repeatedly until an analysis process completion response (S510) is obtained from MFP linked server 120. When MFP linked server 120 receives the inquiry about the processing status, it checks the progress of the analysis process corresponding to the request ID, and if it is not completed, returns a response indicating that the processing is still in progress.

[0043] The response includes "status", which is an item that indicates the current processing status, and the current processing status is indicated by the character string held in "status". For example, when the character string held in "status" is "processing", this indicates that processing is currently being performed by MFP linked server 120. When it is "completed", this indicates that processing has been completed. When it is "failed", this indicates that processing has failed. When it is "completed", this indicates that processing has been completed. In addition to "status", the response also includes analysis result information on the scanned image, scan setting information, etc.

[0044] After receiving the processing completion response, MFP 110 uses the URL indicating the storage destination of the image analysis results, included in the response, to request the results of the analysis processing to MFP linked server 120 (S511). In response to the request, request control unit 431 of MFP linked server 120 returns information on the result of the analysis processing.

[0045] Then, a series of processes (S504 to S511) from displaying the scan setting screen to obtaining the image analysis results is repeated for each of the forms to be filed. Alternatively, multiple forms may be scanned at once in S505, and the analysis instruction (S507) and analysis process (S508) based on the analysis request (S506) may be divided and performed for each form.

[0046] MFP 110 requests a UI screen (storage save screen) for setting file names for each form image to check a list of scanned forms and for instructing the files to be saved on storage server 130 (S512). MFP 110 displays the storage save screen on the touch panel of operation unit 220 based on screen information generated under the control of display control unit 435 of MFP linkage server 120 (S513). The storage save screen will be described in detail later.

[0047] The UI screen is displayed, for example, by a web browser installed in MFP 110. MFP 110 uses a URL for displaying the storage save screen and accesses the URL to obtain screen information for displaying the storage save screen from MFP linkage server 120. The user can check a list of form image files on the storage save screen in the web browser of MFP 110.

[0048] When the user selects a file of a form image in the scanned forms list 901 (see FIG. 9) in the storage save screen 900 and presses the "Edit" button 903 (see FIG. 9), the MFP 110 accepts the input. Then, the MFP 110 displays a file name setting screen 1000 (see FIG. 10) for setting a file name for the selected form image. The file name setting screen 1000 will be described later. Thereafter, when the user inputs a file name on the file name setting screen 1000 and presses the "OK" button 1007 (see FIG. 10), the MFP 110 accepts the input and returns to the storage save screen 900.

[0049] When the user presses "Send" button 902 (see FIG. 9) on storage save screen 900, MFP 110 accepts the input. MFP 110 sends a learning request to MFP linkage server 120, which includes information about the input operation performed by the user when setting properties such as a file name for the scanned image of the form related to the user's selection (setting input information) (S514).

[0050] In MFP link server 120 that has received the learning request, request control unit 431 instructs image processing unit 432 to execute learning processing (S515). Image processing unit 432 saves, as learning data, the layout information of each text block present in the form image to be analyzed and the input information (information of the text block used in the file name) included in the learning request received in S514 when setting the file name (S516). When the learning processing is completed, request control unit 431 returns a processing completion response to MFP 110.

[0051] MFP 110 then sends a save request for the selected form image to MFP linked server 120, together with the data of the form image and information such as the file name set when the file was sent (S517). In MFP linked server 120 that has received the save request, request control unit 431 starts file generation processing and returns a response to MFP 110 indicating that the save request has been normally received.

[0052] Upon receiving the response, the MFP 110 deletes the file of the transmitted form image from the list, and then ends the process and returns to the display state of the scan setting screen (S504).

[0053] Meanwhile, MFP linkage server 120 obtains file format information from preregistered scan settings, and files the form image according to the file format (S518). The form image file thus generated is transmitted to storage server 130, where it is stored (S519).

[0054] [About the storage screen] 9 is a diagram showing an example of a storage save screen 900 displayed on the touch panel of the MFP 110 in S513. On the storage save screen 900, the user can check a list of files of the form images before the image analysis process is performed and the images are transmitted to the storage server 130.

[0055] 9 includes a scanned form list 901, a "Send" button 902, an "Edit" button 903, and a "Delete" button 904. In addition, a group bar 908, a group display switching button 909, a list display order key selection list 910, and a list display filter list 911 are also included.

[0056] The "Delete" button 904 is a button for deleting a form image file. When the user selects an arbitrary form image file from the scanned forms list 901 and presses the "Delete" button 904, the selected form image file is deleted from the scanned forms list 901.

[0057] "Edit" button 903 is a button for switching the screen to a UI screen for setting a file name for a form image file. When a user selects an arbitrary form image file from storage save screen 900 and presses "Edit" button 903, MFP 110 accepts the instruction. Then, display control unit 421 of MFP 110 requests MFP linkage server 120 for a UI screen for setting a file name for the selected form image (hereinafter referred to as "file name setting screen"), and displays the file name setting screen on the touch panel.

[0058] Fig. 10 is a diagram showing an example of a file name setting screen 1000. When the user sets a file name on the file name setting screen 1000 and presses an "OK" button 1007, the screen displayed on the touch panel returns to the storage save screen 900 shown in Fig. 9. The file name setting screen 1000 will be described later.

[0059] The "Send" button 902 is a button for sending file data of a form image to the storage server 130. When the user selects a file of an arbitrary form image from the scanned forms list 901 and presses the "Send" button 902, the file of the selected form image is sent to the storage server 130. Note that when the file transmission is successfully completed, one line of information about that file is deleted from the scanned forms list 901.

[0060] The scanned form list 901 displays information about the files of the form images obtained by the current scan in a list format, with each file displayed on a separate line. The scanned form list 901 has three items: "File name," "Destination," and "Scan date and time."

[0061] "File name" is a column that displays the file name of the form image obtained by the current scan. If the form image is a trained form, the file name of the form image is generated based on the input information at the time of training for a form similar to the form image and the character recognition result of the form image. If the form image is an untrained form, a default file name such as the date and time of scanning is generated. The generated file name is then displayed in the "File name" column.

[0062] Note that "learned" refers to a form that is determined in the form discrimination process to contain a form created with the same form form (similar form) in the learning data, and in which the information used to set properties such as the file name (information entered at the time of setup) is saved for that similar form. Also, "unlearned" refers to a form for which no information entered at the time of setup is saved. In other words, even if it is determined in the form discrimination process that there is no similar form, the form image being analyzed is a new form, and so is considered an unlearned form.

[0063] In addition, the default file name for an unlearned form may be set by the user before scanning. If the user inputs a file name on the file name setting screen 1000 described above, that name is displayed.

[0064] "Destination" is an item for displaying the name of the storage server 130 to which the file is to be sent. "Scan date and time" is an item for displaying the date and time when the form was scanned.

[0065] In this embodiment, the files of the form images obtained by the current scan and displayed in the scanned form list 901 can be displayed together for each similar form. That is, for form images determined to be similar to the same form in the determination of similar forms in S508, the files of the form images can be displayed together as one group as forms of the same type.

[0066] Furthermore, in this embodiment, similar form images to unlearned form images can be displayed together. Therefore, even when multiple new forms are scanned, the user can easily search for a desired file from the scanned form list 901, reducing the burden on the user. A method for determining forms similar to unlearned form images will be described later with reference to FIG. 11.

[0067] The group bar 908 is an area for displaying a name (group name) for identifying a group of form image files that are displayed together as the same group. The group bar 908 is added for each group.

[0068] For example, for a trained form image, the group name of a similar form is acquired and displayed. For an untrained form image, a group name including, for example, a character string indicating "untrained" is displayed. The background color of the group bar 908 of the group of untrained form images may be changed to a color different from that of the group bar of the group of trained form images. Alternatively, the shape of the group bar may be changed to make it easier for the user to distinguish between them.

[0069] The group display switching button 909 is a button for switching between displaying and hiding individual files of form images within a group. When the group display switching button 909 is pressed to set it to hidden, the lines indicating the files of each form image are not displayed, as shown in "Unlearned 03" in the scanned form list 901 of Fig. 9. It is possible to make it so that only the group bar 908 is displayed, as shown in "Unlearned 03" in the scanned form list 901 of Fig. 9.

[0070] The list display order key selection list 910 is a pull-down menu for selecting an item that is a criterion for changing the display order of form image files displayed in the scanned form list 901. Items included in the list display order key selection list 910 include, for example, "Form Name", "Form Name (Descending Order)", "Unlearned First", and "Unlearned First (Descending Order)".

[0071] When "Form name" is selected, the files are sorted so that the files of the learned form images are displayed in ascending order by file name, and then the files of the unlearned form images are displayed in ascending order by file name. When "Form name (descending order)" is selected, the files are sorted so that the files of the learned form images are displayed in descending order by file name, and then the files of the unlearned form images are displayed in descending order by file name. When "From unlearned" is selected, the files of the unlearned form images are sorted in ascending order by file name, and then the files of the learned form images are sorted in ascending order by file name. When "From unlearned (descending order)" is selected, the files of the unlearned form images are sorted in descending order by file name, and then the files of the learned form images are sorted in descending order by file name.

[0072] Ascending order is, for example, an order in which numbers are sorted from "1" to "9," alphabetical order from "A" to "Z," or hiragana or kanji readings from "a" to "o." Similarly, ascending order and descending order refer to sorting based on the file name.

[0073] The list display filter list 911 is a pull-down menu for selecting a criterion item for displaying only files of specific form images in the scanned form list 901. The items include, for example, "All," "Learned," "Not Learned," and "File Name Not Entered."

[0074] "All" is an item for displaying all form image files that can be displayed. "Trained" is an item for displaying only trained form image files among the form image files that can be displayed. "Untrained" is an item for displaying only untrained form image files. "File name not entered" is an item for displaying only form image files with the default file name.

[0075] 9, all form image files are displayed because "All" is selected in the list display filter list 911. For example, when "Learned" is selected in the list display filter list 911, files in the groups "Unlearned 01", "Unlearned 02", and "Unlearned 03" can be prevented from being displayed.

[0076] [File name settings] A user can set a file name of a form image to be stored in the storage server 130 by using a file name setting screen 1000 shown in FIG. 10(a). The file name setting screen 1000 in FIG. 10(a) is a diagram showing an example of a screen in a state where no text block is selected. A file name input field 1001 is an area that displays a file name set by the user. When a blank portion of the file name input field 1001 is touched, a soft keyboard is displayed, and the user can input any characters. When a character string to be a file name is input and displayed, a soft keyboard for correcting the character string at the touched portion is displayed, and the input and displayed characters can be corrected. A preview area 1002 is an area that displays a preview of the form image.

[0077] Furthermore, when the user touches a text block in the previewed image, the character string in the text block corresponding to the touched position can be added to the file name input field 1001 as a character string constituting the file name. The text block selected by touching or the like may be highlighted by adding a line, frame, color, or the like to the text block so that it is clear that it has been selected. Furthermore, when the user selects multiple text blocks, the colors of the respective text blocks may be different. Furthermore, the preview display position or the magnification rate may be changed so that the selected text block is at the center. Furthermore, when there are multiple text blocks, the preview display position may be calculated so that a preset number of text blocks are displayed. For example, the display position and the magnification rate may be changed so that the center between the topmost area and the bottommost area of ​​the area used for the file name is at the vertical center of the preview area, and a preview may be displayed. When a text block that has been selected once is touched again, the selection is cancelled, the corresponding character string is deleted, and the state is returned to a state in which the lines and colors added to the text block are not displayed.

[0078] In the file name setting screen 1000 in Fig. 10(a), each text block is not displayed on the preview image. However, in order to show the user which part is selectable, each text block may be displayed so that it can be seen by using a color or a frame line. Also, the display that makes each text block visible may be switched between visible and invisible by a button or the like. By performing a swipe operation on the preview image, the position of the preview image displayed in the preview area 1002 can be moved.

[0079] The delete button 1003 is a button for deleting characters corresponding to the text block at the end of the characters displayed in the file name input field 1001. The enlarge button 1004 is a button for increasing the display magnification of the preview image displayed in the preview area 1002. The reduce button 1005 is a button for decreasing the display magnification of the preview image displayed in the preview area 1002. When enlarging or reducing, the display position is adjusted so that the coordinates of the center of the preview area 1002 are the same as those before enlarging or reducing. The initial display button 1006 is a button for returning the display magnification and display position to the initial state when the display position of the preview image is moved by a swipe operation or the display magnification is changed by the enlarge button 1004 or the reduce button 1005. The OK button 1007 is a button for returning the UI screen to the storage save screen 900 shown in FIG. 9 described above in order to transmit the form image data together with the set file name to the MFP linkage server 120 when the file name setting is completed.

[0080] 10(b) is a diagram showing a file name setting screen 1000 in which a text block in which "Estimate" has been character-recognized is selected first, and then a text block in which "Shimomaruko Co., Ltd." has been character-recognized is selected. In the file name input field 1001, two character strings corresponding to the order of the touched text blocks are input, and an underscore is input between the two character strings as a separator. The underscore may be input manually by the user, or may be input automatically.

[0081] [Details of scanned image analysis process] Next, the analysis process (S508) performed by MFP linked server 120 in this embodiment will be described in detail with reference to the flowchart in Fig. 11. That is, the series of processes shown in the flowchart in Fig. 11 are performed by the CPU of MFP linked server 120 expanding program code stored in ROM into RAM and executing it. Also, some or all of the functions of the steps in Fig. 11 may be realized by hardware such as ASIC or electronic circuits. Note that the symbol "S" in the explanation of each process indicates a step in the flowchart. One form image to be analyzed is selected from the form images obtained by the current scan, and the process of the flowchart in Fig. 11 is performed on the form image to be analyzed.

[0082] In S1101, the image processing unit 432 acquires an image of a form to be analyzed related to the analysis request. Then, the image processing unit 432 detects text blocks present in the image of a form to be analyzed. This identifies the arrangement and size of text blocks in units of character strings included in the image of a form to be analyzed.

[0083] In S1102, the image processing unit 432 performs character recognition processing on all text blocks detected by analyzing the form image in S1101.

[0084] In S1103, the image processing unit 432 executes the above-mentioned form discrimination process on the form image to be analyzed. In S1104, it is determined whether a similar form having a document format matching the document format of the form image to be analyzed has been found in the learning data as a result of the process in S1103. If a similar form has been found (YES in S1104), in S1105 the image processing unit 432 generates analysis result information indicating the result of the analysis.

[0085] Fig. 12 is a diagram showing an example of the data structure of analysis result information of a form image generated in S1105 or S1107 described later. Fig. 12(a) shows an example of the data structure of analysis result information when a form of learning data determined to be similar to the form image to be analyzed is a learned form in which input information at the time of setting is saved.

[0086] When the form image to be analyzed is a learned form, among all text blocks detected from the form image to be analyzed, text blocks corresponding to text blocks registered as input information at the time of setting in the similar form are obtained. In this embodiment, the text blocks registered as input information at the time of setting are text blocks that include the character string used in the file name of the similar form. Then, the image processing unit 432 generates analysis result information based on the text blocks of the form image to be analyzed that correspond to the text blocks registered in the similar form.

[0087] In the analysis result information in Fig. 12(a) generated in this step, "matched" stores a value indicating whether a similar form similar to the form image to be analyzed was found in the learning data based on the result of the form discrimination process. If a similar form was found, "true" is stored, and if not, "false" is stored.

[0088] "formId" is an item for holding a value that is an identifier that uniquely indicates the type of form. If there is a similar form, the same value as the value assigned to that similar form is held.

[0089] "matchingScore" stores a value indicating the degree of similarity between the form image to be analyzed and the similar form. The value stored in "matchingScore" is a real value between 0 and 1 that indicates the degree of match between the text block layout information in the similar form and the text block layout information in the form image to be analyzed. Also, the larger the value, the more similar the form image to be analyzed is to the similar form.

[0090] "rectInfoArray" holds information indicating the text block of the form image to be analyzed that corresponds to the text block containing the character string specified by the user to set the file name in the similar form. "rectInfoArray" contains one or more pieces of information: "key", "region", "rect", and "text".

[0091] "key" holds a unique value to identify the text block used in the file name. "region" holds information about the text block identified by each "key". "region" further contains a "rect" item that holds the coordinate information of that text block, and a "text" item that holds the character string recognized from that text block. "x" in "rect" indicates the X coordinate of the top left of the text block, "y" indicates the Y coordinate of the top left, "width" indicates the number of pixels in the X direction, and "height" indicates the number of pixels in the Y direction. "text" is an item that holds the character string obtained as a result of OCR processing of the text block indicated by "rect".

[0092] "metadataArray" is an item that holds information indicating the order and delimiter of text blocks to be used in the file name for automatic input of the file name. "metadataArray" contains information on "key", "keyType", and "value".

[0093] "Key" stores a value that uniquely indicates the setting item to be set in the form image. "KeyType" stores a value that indicates the type of the setting value of "key". When the information held in "rectInfoArray" is used as the file name, "key" stores "filename" and "keyType" stores "filename".

[0094] "value" holds information on the order of strings to be used and the character that separates the strings to generate a setting value based on the value of "key." The example in Figure 12 shows that the setting value (file name) is generated in the order of the area with the "key" of "fileRegion0" in "rectInfoArray," the delimiter, and the area with the "key" of "fileRegion1." More specifically, it shows that the file name "Quotation_Shimomaruko Co., Ltd." will be generated.

[0095] In addition, if other properties such as metadata other than the file name are set, the necessary information is added to "rectInfoArray" and "metadataArray".

[0096] On the other hand, if there is no similar form (S1104 is NO), in S1106 the image processing unit 432 instructs the data management unit 434 to register information such as the arrangement of text blocks of the form image to be analyzed in the learning data as the document form of a new form.

[0097] That is, at this step, the user has not set input information such as a file name for a new form, but at least the layout information of the text blocks of the form image to be analyzed is registered in the learning data as information of the new form. In other words, the layout information of the text blocks of an unlearned form is registered in the learning data.

[0098] Then, of the multiple scan images obtained this time, the next scan image to be analyzed is compared to see whether it resembles the new form registered in S1106, in addition to the learned forms that were registered in the learning data at the time the scan was performed.

[0099] Then, when the user sets properties such as a file name after this flowchart is completed, the information on the text block registered in S1106 is registered in the learning data as a learned form together with the information input at the time of setting.

[0100] In S1107, the image processing unit 432 generates analysis result information for the form image to be analyzed. Fig. 12(b) is a diagram showing analysis result information when the form image to be analyzed is an unlearned form. When there is no similar form as shown in Fig. 12(b), the analysis result information is composed only of the items "matched" and "formId". Note that a new value is assigned to the "formId" value as a new form, and the value is retained.

[0101] In S1108, image processing unit 432 stores the analysis result information generated in S1105 or S1107 in the HDD in MFP linkage server 120, and ends the processing of this flowchart. After the processing of this flowchart ends, from the form images obtained by the current scan, an unanalyzed form image is selected as the form image to be analyzed, and processing is controlled so that the flowchart in Fig. 11 is repeated until there are no more unanalyzed form images.

[0102] If the form image to be analyzed next is similar to the new form registered in the process of S1106, it is determined in S1104 that there is a similar form (S1104 is YES), and the process proceeds to S1105. In this case, since the new form is an "unlearned form" in which the input information at the time of setting is not saved, even if S1104 is determined to be YES, the form image to be analyzed is an "unlearned form image". Therefore, in the process of S1105 when it is determined to be similar to the new form, the analysis result information is generated without storing the information below "rectInfoArray" in the analysis result information in FIG. 12(a). Note that the value held in "formId" is assigned the same "formId" value as that assigned to the similar form image.

[0103] The generated analysis result information is used to create the storage save screen 900 in S513. Using this analysis result information, form image files with the same value of "formId" are grouped and displayed together. In particular, in this embodiment, even if it is an unlearned form image for which no setting input information is saved, if it is similar to other unlearned form images, the same value is held in the "formId" of the analysis result information.

[0104] For example, as a result of the flowchart in FIG. 11, the form images with the file names "201911201100(1)" and "201911201100(3)" in the scanned form list 901 in FIG. 9 are assigned the same "formId" value in the analysis result information. Therefore, even if the form is an unlearned form, images of the same document form can be displayed together in the scanned form list 901. This allows the user to check the form image files by type, even when multiple new forms are scanned.

[0105] The group name corresponding to the value held in "formId" is stored, for example, in the HDD of MFP linkage server 120. The group name displayed in group bar 908 on storage save screen 900 is the group name associated with the value held in this "formId" that is obtained and displayed.

[0106] The group name may be generated based on a file name generated by combining character strings of text blocks of a form image, for example. Alternatively, the group name may be editable by the user. For example, for a form registered as a new form in S1106, a group name consisting of a character string indicating that the form has not been learned and a serial number is generated, and the group name is stored in the HDD of MFP linkage server 120 in association with the value of "formId".

[0107] When a group name is generated or edited, the group name associated with the value of "formId" is also updated. For example, in S514, the character string constituting the group name and position information of that text block are also sent to MFP linked server 120, and in S516, the group name is updated and saved. Note that an area for holding the group name may be provided in the analysis result information, and the group name may be held in the analysis result information. Note that methods for determining and updating group names will be described in detail in the second and third embodiments described below.

[0108] As described above, according to this embodiment, it is possible to group and display similar forms even in the form image files obtained by scanning unlearned new forms for which no setting input information is saved. Therefore, even if a user scans multiple new forms, it is possible to easily find the desired new form image file, thereby reducing the burden on the user.

[0109] Note that, although storage save screen 900 and file name setting screen 1000 have been described as being displayed on the touch panel of MFP 110, they may also be displayed on the display unit of another information processing device, such as a client PC, within image processing system 100. In this case, the client PC requests screen information to be displayed from MFP cooperation server 120. MFP cooperation server 120 uses the analysis result information and returns screen information of storage save screen 900 to the client PC for displaying form images having the same "formId" value together. Even in this case, the user can check the form image files for each form type in the web browser of the client PC.

[0110] <Embodiment 2> In this embodiment, a method is described in which a form image to be analyzed is compared with a learned form determined to be similar to the form image to be analyzed, and the group name registered in association with the value of "formId" is updated to a more appropriate name. This embodiment will be described focusing on the differences from the first embodiment. Portions not specifically mentioned have the same configuration and processing as the first embodiment.

[0111] 13 is a diagram showing, in table format, an example of a “group name list” that holds group names associated with values ​​of “formId.” The “group name list” is stored in the HDD of MFP linked server 120.

[0112] Fig. 13(a) is an example of a group name list stored before the current scan was performed. The group name list will be described with reference to Fig. 13(a). In the group name list, information on the group name associated with each row (record), that is, the value of "formId", is stored. The group names for each type of form stored in the group name list are registered based on the analysis results or learning results when the previous form was scanned. The registration of a new form in the group name list will be described in the third embodiment.

[0113] Next, we will explain the items in the group name list (each column in the table). "groupNo" holds a serial number in the database. "formId" holds a value that uniquely indicates the type of form, as explained in Figure 12.

[0114] The "formName" holds the type of each form, that is, the group name associated with the value of "formId". The "fileRegion0 to N" holds a part of the character string used in the group name. The group name is generated using a part of the file name of the form image. The "fileRegion0 to N" in the group name list holds the character string "text" of "fileRegion0 to N" indicating the character string of the text block used to generate the file name included in the analysis result information described in FIG. 12. However, in the "fileRegion0 to N" in the group name list, only the information of the "fileRegion" of the character string used in the group name among the "fileRegion0 to N" of the analysis result information is transcribed. In other words, not all the character strings constituting the file name are necessarily used in the group name. Therefore, only the character string used in the group name among the "fileRegion0 to N" of the analysis result information is held. Note that information on the position of the text block in which the character string held in "fileRegion0 to N" was recognized is also held, but is omitted.

[0115] The user can modify the group name, and "userText" holds any character string specified by the user that is accepted by MFP linkage server 120. "duplicateNum" holds a sequential number that is added to the group name so that the group names can be distinguished when duplicate group names are generated.

[0116] The group name stored in "formName" is composed of the character strings stored in "fileRegion0-N", "userText", and "duplicateNum", and a separator. The separator may be the same character as that used in the file name, or may be set separately. In this embodiment, the separator is described as being an underscore (_). "formNameArray" stores the order of the character strings of the group name composed of the character strings "fileRegion0-N", "userText", and "duplicateNum", and a separator.

[0117] In the flowchart of Fig. 11, if the form image to be analyzed is a learned form, the group name associated with the value of "formId" is obtained from the group name list. However, in this embodiment, the currently stored group name is not used as is. In this embodiment, the information in the group name list is compared with the character string of the form image to be analyzed, and the group name currently held in the group name list is updated to an appropriate name.

[0118] Fig. 14 is a flowchart for explaining the process of updating the group name by processing the learned form image when the learned form image is included in the form image obtained by scanning this time. This flowchart is executed after the analysis process shown in Fig. 11 is performed on all the form images obtained by scanning this time.

[0119] In S1401, image processing unit 432 acquires, from a group name list stored in the HDD of MFP link server 120, information on the group name associated with the value of “formId” of the analysis result information in the form image to be processed.

[0120] For example, assume that the value of "formId" of a similar form is acquired in S1105, and the value of "formId" "aaaaaaaa-ffff-49ab-acf8-55558888eeee" is stored in the analysis result information of the form image to be processed. In this case, the information of the record with "groupNo" of 1 and "formId" of "aaaaaaaa-ffff-49ab-acf8-55558888eeee" in the current group name list in FIG. 13(a) is acquired as the group name information. In FIG. 13(a), "Invoice_Shimomaruko Co., Ltd." is stored as the group name associated with "formId" of "aaaaaaaa-ffff-49ab-acf8-55558888eeee". In the following, in this flowchart, the group name information of a similar form of the form image to be processed is described as the information of the record with "groupNo" of 1.

[0121] In S1402, if a character string in the form is used for the group name acquired in S1401, the image processing unit 432 acquires position information of the text block of the character string. Then, the image processing unit 432 identifies a text block that is located at the same position as the acquired text block among the text blocks of the form image to be processed, and acquires the character string contained in that text block. Here, "same" does not necessarily mean "exactly the same." Corresponding text blocks in the vicinity may also be included at the same position.

[0122] For example, in the record in Figure 13(a) where "groupNo" in the group name list at the start of scanning is 1, character strings are stored in "fileRegion0" and "fileRegion1". Therefore, the group name is composed of character strings stored in the text blocks indicated by "fileRegion0" and "fileRegion1". Therefore, the position information of the text blocks in "fileRegion0" and "fileRegion1" of the record where "groupNo" is 1 is obtained, and the character strings in the text block of the form image to be processed that is located in the same position as the position of those text blocks are obtained.

[0123] If multiple form images obtained by scanning this time are determined to be similar to the same form in the learning data, character strings are similarly obtained from the other form images.

[0124] In S1403, the image processing unit 432 compares the character string used in the group name in the group name list with the character string acquired in S1402.

[0125] FIG. 15 is a diagram in which the character strings constituting the group names stored in the current group name list are summarized in a table format for comparison with the character strings acquired in S1402. The record with "No" 1 in the table in FIG. 15 represents the character string used in the group name of the record with "groupNo" 1 in the group name list. In the record with "groupNo" 1, the character string in "fileRegion0" is "invoice" and the character string in "fileRegion1" is "Shimomaruko Co., Ltd." The record with "No" 2 in the table in FIG. 15 represents the character string of the text block corresponding to "fileRegion0" and "fileRegion1" acquired from the form image to be processed. In the form image to be processed, the character string in "fileRegion0" is "quotation" and the character string in "fileRegion1" is "Shimomaruko Co., Ltd."

[0126] As shown in FIG. 15, the character string in "fileRegion1" is the same, but the character string in "fileRegion0" is "invoice" in the registered group name, and "quote" in the form image to be processed, which is different. In this way, when comparing the character string in the form image to be processed with the currently registered group name, the character strings contained in text blocks at the same position may differ. Therefore, if the registered group name is used as the group name of the form image to be processed and "invoice" is included in the group name and displayed, the group name will contain a character string that is not included in the form image. In this case, it is not preferable for the user to find the file of the form image. For this reason, in this embodiment, the group name generated in the past is not used as it is, but is updated.

[0127] In S1404, the image processing unit 432 generates a group name indicating the type of the form image to be processed by using a matching character string among the character strings constituting the current group name and the character string acquired in S1402 based on the comparison result of S1403. A character string that does not match is not used as the group name. In the example of FIG. 15, the image processing unit 432 generates a group name by using the character string of "fileRegion1" that matches in all forms. For example, the image processing unit 432 sets the character string of "fileRegion1" "Shimomaruko Co., Ltd." as the group name. Then, the group name held in "formName" of the record with "groupNo" of 1 in the group name list is updated to "Shimomaruko Co., Ltd." As a result, the group name list is in a state in which the updated group name "Shimomaruko Co., Ltd." is held in "filename" of the record with "groupNo" of 1, as shown in FIG. 13(b).

[0128] The group name updated in S1404 is used to generate screen information for the scanned form list 901 in S512. That is, the group bar 908 of the scanned form list 901 displays the group names registered in the updated group name list.

[0129] As described above, according to this embodiment, by using a common character string among similar forms among characteristic character strings used in file names, etc., as a group name, it is possible to generate a characteristic group name common to all similar forms. Therefore, even if the number of forms similar to the forms of the learning data increases, the workload of the user maintaining characteristic group names that distinguish the groups can be reduced. Therefore, even if multiple groups of form images are mixed in the list, the effort required for the user to find the desired form can be reduced.

[0130] <Embodiment 3> In the first embodiment, the group name of the file of the unlearned form image is described as being generated by a character string indicating unlearning and a serial number, such as "unlearned 01". However, if there are many unlearned form images among the form images obtained by scanning this time, it may be difficult for the user to find the file of the form image. Therefore, in this embodiment, a method of determining an appropriate group name for the file of the unlearned form image and displaying them together will be described. The difference from the second embodiment will be mainly described for this embodiment. The configuration and processing are the same as those of the second embodiment unless otherwise specified.

[0131] [Generating group names for unlearned forms] Fig. 16 is a flowchart for determining the group name of unlearned forms among the form images obtained by the current scan. This flowchart is executed after the analysis process shown in Fig. 11 has been performed on all the forms scanned this time. This flowchart will be described assuming that the processing target is an arbitrary form image for which it has been determined in the determination of S1104 in Fig. 11 that there is no similar form. When there are multiple form images for which it has been determined that there is no similar form, the processing of this flowchart is performed for each of them.

[0132] In S1601, the image processing unit 432 generates a name that combines a character string indicating that the form is an unlearned form with a number. The number is a sequential number that is incremented each time a group name of an unlearned file is generated, and if the form image is the first to be processed in this flowchart, for example, a name of "unlearned 01" is generated.

[0133] The name that is generated is not limited to a name such as "Unlearned 01". Instead of the character string "Unlearned", another character string (such as "New") may be used to indicate that information for setting the property has not been saved. Furthermore, instead of numbers indicating a sequential number, characters (such as letters of the alphabet) may be used to distinguish from other group names. In the explanation of this flowchart, it is assumed that "Unlearned 01" is generated in this step.

[0134] In S1602, image processing unit 432 acquires character strings used in group names registered in a group name list stored in the HDD of MFP link server 120.

[0135] Assume that Fig. 13(b) is the group name list stored at the start of this flowchart. In this case, the character strings stored in "fileRegion0-N" of the group name list in Fig. 13(b) are acquired in this step. Excluding duplications, the character strings used in the group names by the start of this flowchart are "quotation", "Shimomaruko Co., Ltd.", "Kawasaki Co., Ltd.", "Shinagawa Co., Ltd.", "Tokyo Co., Ltd.", and "invoice", so these character strings are acquired in this step. In other words, the character strings of the group names of the registered learned forms are acquired.

[0136] In S1603, the image processing unit 432 searches the form image to be processed to see if there is a text block including the character string acquired in S1602. The result of OCR processing of the form image is stored as a "character recognition result." Therefore, the target character string is searched for from the character recognition result of the form image to be processed to see if there is a text block.

[0137] Fig. 18 is a diagram showing the form image scanned this time. Fig. 18(a) is an unlearned form image to be processed by this flowchart. Fig. 18(b) is a diagram showing another form image similar to the form image in Fig. 18(a), which will be described later.

[0138] Fig. 19 is a diagram showing, in table format, character recognition results obtained as a result of performing OCR processing on a form image. The character recognition result in Fig. 19(a) is an example of a character recognition result obtained as a result of performing OCR processing on the form image in Fig. 18(a). The character recognition result in Fig. 19(b) is an example of a character recognition result obtained as a result of performing OCR processing on the form image in Fig. 18(b). The character recognition results are stored, for example, in the HDD of MFP linked server 120.

[0139] Here, we will explain the character recognition result in Fig. 19. The records of the character recognition result (each row of the table) hold the values ​​or text data of each item of "rectNo", "x", "y", "width", "height", and "text", and a record is generated for each text block. "rectNo" is a column that holds the serial number of the text block.

[0140] "x" is a column that stores the x-coordinate of the top left corner of the text block, "y" is the y-coordinate of the top left corner of the text block, "width" is the number of pixels in the x-direction of the text block, and "height" is the number of pixels in the y-direction of the text block. "text" is a column that stores the character string contained in the text block. In this embodiment, for example, a coordinate system in which the origin is at the top left, the vertical direction is the y-direction, and the horizontal direction is the x-direction is used for the coordinates in the image.

[0141] Assume that the character strings used in the past group names acquired in S1602 are "quotation", "Shimomaruko Co., Ltd.", "Kawasaki Co., Ltd.", "Shinagawa Co., Ltd.", "Tokyo Co., Ltd.", and "invoice". Also, assume that the character recognition result of the form image to be processed is as shown in FIG. 19(a). In this case, in S1603, the image processing unit 432 sets the character strings in the "text" column in FIG. 19(a) as the search range. Then, the search range is searched for whether any of the character strings "quotation", "Shimomaruko Co., Ltd.", "Kawasaki Co., Ltd.", "Shinagawa Co., Ltd.", "Tokyo Co., Ltd.", and "invoice" is included, and searches for a text block. As a result of the processing in this step, from the character recognition result in FIG. 19(a), a text block with "rectNo" of 1 containing "quotation" is obtained as the search result. Similarly, a text block with "rectNo" of 4 containing "quotation No:" and a text block with "rectNo" of 11 containing "Kawasaki Co., Ltd." are obtained as the search result.

[0142] If the same string exists in multiple text blocks, the text block with the highest match to the search value will remain as the search result. For example, "Quotation" with a "rectNo" of 1 and "Quotation No:" with a "rectNo" of 4 are both strings that contain the same "quotation", but the string in the text block with a "rectNo" of 1 matches "quotation" more closely. Therefore, the text block with a "rectNo" of 4 will be excluded from the search results.

[0143] In S1604, the image processing unit 432 determines whether or not there is a text block including the character string used as the group name in the character recognition result of the form image to be processed as a result of the search in S1603. If there is a text block (YES in S1604), the process proceeds to S1605.

[0144] In S1605, the image processing unit 432 acquires character strings contained in the text block obtained as a result of the search in S1603. That is, this step acquires character strings that are used in other group names and that are also contained in the unlearned form image to be processed. For example, in the case of the character recognition result in FIG. 19(a), the character string "Estimate" is acquired from the text block with "rectNo" of 1, and the character string "Kawasaki Co., Ltd." is acquired from the text block with "rectNo" of 11.

[0145] In S1606, the image processing unit 432 judges whether there is an unlearned form image similar to the form image to be processed in this flowchart among the form images obtained by scanning this time. That is, the form image to be processed in this flowchart is a form image that is judged not to have a similar form in the learning data, but is registered in the learning data as a new form in S1106. Therefore, even if it is an unlearned form image obtained by scanning this time, for a form image similar to the form image to be processed in this flowchart, the same value as the value of "formId" of the form image to be processed is assigned to "formId" of the analysis information result. Therefore, for example, if there is a form image that has the same value in "formId", it is judged that there is an unlearned form image similar to the form image to be processed in this flowchart.

[0146] Figure 18(b) is an example of a form image that was determined to be similar to the form image in Figure 18(a), which is the target of processing in this flowchart, from among the multiple unlearned form images obtained by scanning this time.

[0147] If there is a similar unlearned form (YES in 1606), in S1607 the image processing unit 432 acquires the character string of the text block located at the same position as the text block obtained as a result of the search in S1603 from the character recognition result of the similar unlearned form image. Here, "same" does not necessarily mean "exactly the same." Corresponding text blocks that are nearby may also be included at the same position.

[0148] FIG. 19(b) shows a character recognition result obtained by performing OCR processing on an unlearned form image similar to the form image to be processed in FIG. 18(b). In this step, from FIG. 19(b), a text block with "rectNo" of 1 in FIG. 19(b) that is located at a position corresponding to the text block with "rectNo" of 1 in FIG. 19(a) obtained as a result of S1603, that is, the same or nearby, is specified. Also, a text block with "rectNo" of 11 in FIG. 19(b) that is located at a position corresponding to the text block with "rectNo" of 11 in FIG. 19(a) is specified. Then, from the character recognition result in FIG. 19(b), the character string "Estimate" is obtained from the text block with "rectNo" of 1, and the character string "Kawasaki Co., Ltd." is obtained from the text block with "rectNo" of 11.

[0149] If there are a plurality of similar unlearned form images, character strings are similarly acquired from each of the form images. Then, the image processing unit 432 compares the character strings acquired in this step with the character strings acquired in S1605.

[0150] In S1608, the image processing unit 432 compares the character string acquired from the form image to be processed in S1607 with the character string acquired from a form image similar to the form image to be processed, and determines whether there is a matching character string. If there is a matching character string (YES in S1608), the process proceeds to S1609. For example, the character string with "rectNo" of 1 in FIG. 19(b) is "quote", and the character string with "rectNo" of 11 is "Kawasaki Co., Ltd." In the example of FIG. 19, both "quote" and "Kawasaki Co., Ltd." are the same character strings as the character string acquired from the form image to be processed, so it is determined that there is a matching character string.

[0151] In S1609, the image processing unit 432 generates a group name by adding the character strings determined to match as a result of the comparison in S1608 to the name generated in S1601. Any character strings that do not match are not used in the group name. When adding a new character string to a name, if there is a delimiter, it becomes easier to see where each element is separated. For this reason, for example, a character string may be added by inserting an _ (underscore) between two character strings.

[0152] For example, if the comparison in S1607 reveals that the character strings common to multiple documents are "Quotation" and "Kawasaki Co., Ltd.", the group name generated in this step will be "Unlearned 01_Quotation_Kawasaki Co., Ltd."

[0153] On the other hand, if there are no other unlearned form images similar to the form image to be processed (S1606 is NO), in S1610, the image processing unit 432 generates a name by adding the character string acquired in S1605 to the name generated in S1601.

[0154] In S1611, image processing unit 432 stores the generated group name of the new form in a group name list saved on the HDD of MFP linkage server 120. That is, the generated group name is associated with the value of “formId” of the form image to be processed and stored in the group name list.

[0155] FIG. 17 shows the group name list in a table, and FIG. 17(a) shows the group name list after the group names of unlearned form images have been stored. Suppose the value of "formId" for the form image to be processed by this flowchart is "fffffff-kkkk-81ab-acf9-77772222jjjj". Suppose the group name generated as a result of the processing by this flowchart is "Unlearned01_Quote_Kawasaki Co., Ltd." In this case, as shown in the record with "groupNo" of 6 in FIG. 17(a), the generated group name is stored in association with the value of "formId."

[0156] In addition, there may be cases where it is determined in S1604 that the character recognition result of the form image to be processed does not contain a text block containing the character string used as the group name (NO in S1604). In this case, the name generated in S1601 is stored as the group name in association with the value of "formId" of the form image to be processed. In other words, "Unlearned 01" generated in S1601 is stored in the group name list in association with the value of "formId" of the form image to be processed.

[0157] Similarly, if there is no matching character string (NO in S1608), the name generated in S1601 is stored as the group name in association with the value of "formId" of the form image to be processed.

[0158] [Update process for group names of unlearned forms] After the flowchart in FIG. 16 ends, if the user inputs a file name for an unlearned form image, the group name generated in the flowchart in FIG. 16 is updated according to the input file name.

[0159] 20 is a flowchart of a process for updating a group name after file information has been input. The process of this flowchart is executed for a form image whose file name has been input by the user.

[0160] In S2001, the image processing unit 432 acquires a character string used in the file name of the form image to be processed, and, if that character string is a character string selected from the character strings in the form image to be processed, the image processing unit 432 acquires the position information of the text block containing that character string.

[0161] FIG. 21 shows analysis result information updated after the user inputs information (file information) for generating a file name for an unlearned form image. In FIG. 21, the area below "rectInfoArray" holds data in the same structure as the analysis result information in FIG. 12(a). The example in FIG. 21 shows that the file name was generated by the user in the following order: the character string "fileRegion0", a delimiter, the character string "fileRegion1", a delimiter, and the character string "fileRegion2". Therefore, the character string and text block of the file name input by the user are obtained from the updated analysis result information.

[0162] 21, this step obtains the location information of the text block of "fileRegion0" and the character string "Quotation" contained in that text block. Similarly, the location information of the text block of "fileRegion1" and the character string "Kawasaki Co., Ltd.", and the location information of the text block of "fileRegion2" and the character string "M5432" are obtained.

[0163] When file information is input, the input file information may be stored as data separate from the analysis information result.

[0164] In S2002, the image processing unit 432 determines whether or not there is an unlearned form image that is similar to the form image that is the processing target of this flowchart, among the form images obtained by scanning this time.

[0165] The method of determination is, for example, as in S1606, if there is a form image whose "formId" has the same value as the "formId" value of the form image to be processed, it is determined that there is an unlearned form image that is similar to the form image to be processed in this flowchart.

[0166] If there is a similar unlearned form (YES in S2002), in S2003 the image processing unit 432 acquires a character string contained in a text block in the same position as the text block acquired in S2001 from another form image similar to the form image to be processed. Since the character recognition results obtained as a result of OCR processing of the form image are stored, the text block is searched from each character recognition result to acquire the character string. Here, "same" does not necessarily mean "exactly the same." Corresponding text blocks in the vicinity may also be included in the same position. Note that if there are multiple similar unlearned forms, the character string is acquired from each unlearned form in the same manner.

[0167] Then, the image processing unit 432 compares the character string acquired in this step with the character string acquired in S2001 with the character strings of the corresponding text blocks that are in the same or nearby positions.

[0168] Figure 22 is a diagram that summarizes the character strings for each form in table format in order to compare the character strings acquired in S2001 and the character strings acquired in this step. Records in the table in Figure 22 with a "No" of 1 represent the character strings acquired in S2001. Records in the table with a "No" of 2 represent the character strings acquired in this step. As shown in Figure 22, the character strings in "fileRegion0" and "fileRegion1" match in the two forms, but the character string in "fileRegion2" differs in the two forms.

[0169] In S2004, the image processing unit 432 generates a group name indicating the type of the form image to be processed using a matching character string among the character strings of the form image to be processed and the character strings of form images similar to the form image to be processed based on the comparison result of S2003. In the example of FIG. 22, the image processing unit 432 generates a group name using the character string "quote" in "fileRegion0" and the character string "Kawasaki Co., Ltd." in "fileRegion1," which match in all forms. A character string may be added by inserting an underscore (_) between the character strings. For example, a group name such as "quote_Kawasaki Co., Ltd." is generated.

[0170] If there is no similar unlearned form (NO in S2002), in S2005, image processing unit 432 generates a group name using the character string used in the file name.

[0171] In S2006, image processing unit 432 updates the group name list stored in the HDD of MFP linkage server 120 based on the generated group name. Fig. 17(b) is an example of a group name list updated as a result of the processing of this flowchart. It is assumed that the value of "formId" of the form image to be processed by this flowchart is "fffffff-kkkk-81ab-acf9-77772222jjjj", and the group name generated as a result of the processing of this flowchart is "Quotation_Kawasaki Co., Ltd." In this case, as shown in the record with "groupNo" of 6 in Fig. 17(b), the generated group name is held in "formName" and the group name is updated.

[0172] 16 and 20 is used to create screen information for the storage save screen 900. For this reason, the group names registered in the updated group name list can be displayed in the group bar 908 of the scanned form list 901.

[0173] As described above, according to this embodiment, even for form image files obtained by scanning unlearned new forms for which no setting input information is saved, group names that indicate characteristics can be displayed and the form images can be grouped and displayed. This reduces the burden on the user of inputting group names, etc. Furthermore, even if the user scans multiple new forms, it is possible to easily find the desired new form image file, thereby reducing the burden on the user.

[0174] <Other embodiments> In the above-described embodiment, the analysis process of FIG. 11 and the group name generation or update process of FIGS. 14, 16, and 20 have been described as being processed by image processing unit 432 of MFP link server 120, but they may also be performed by image processing unit 424 of MFP 110.

[0175] When a group name is generated by the image processing unit 432, a process may be performed to exclude character strings indicating a date or character strings that are unique to each form, such as "M5432," from the group name to be generated. For example, in Japanese forms, a process may be performed so that character strings consisting of at least one of numbers, letters, and symbols, or character strings that are a combination of date and numbers are not used as group names.

[0176] In addition, in the second and third embodiments, the group name is generated by MFP linked server 120, but the group name may be edited by the user after storage save screen 900 is displayed. For example, an instruction from the user to add an arbitrary character string to the group name, or to add an arbitrary text block character string to the group name, may be accepted.

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

[0178] 120 MFP Collaboration Server 432 Image Processing Unit

Claims

1. A determination means for determining a similar form that is similar to the scanned image to be analyzed, the similar form being determined by sequentially analyzing each of the plurality of scanned images; a registration means for registering information on the scanned image to be analyzed for which the determination means has determined that there is no similar form as a new form; a display control means for controlling the display of a list of the plurality of scanned images on a display unit; When the registration means registers information about the scan image to be analyzed as the new form, the determination means determines a similar form from among forms that have been registered in advance and the new form registered by the registration means for a scan image to be analyzed next or subsequent to the scan image to be analyzed, among the plurality of scan images; In the list of the plurality of scan images, the scan images that are determined to be similar to the form by the determination means are displayed together.

13. An image processing device comprising:

2. The determination means is Detecting text blocks in the scanned image to be analyzed, and determining whether a document is similar to the scanned image to be analyzed based on an arrangement of the detected text blocks.

2. The image processing device according to claim 1,

3. The registration means registers, as the new form, layout information of the text block of the scanned image to be analyzed for which the determination means has determined that there is no similar form.

3. The image processing apparatus according to claim 2,

4. The determination means is When it is determined that there is a similar form that is similar to the scanned image to be analyzed, an identifier identical to the identifier assigned to the determined similar form is assigned to the scanned image to be analyzed; The display control means Control is performed so that, among the plurality of scan images, scan images having the same identifier are grouped together and displayed in the list.

4. The image processing device according to claim 1, wherein the first and second inputs are input to the image processing apparatus.

5. The method further includes a character recognition unit for recognizing character strings included in the text blocks detected from the scanned image.

5. The image processing device according to claim 1,

6. a first acquisition means for acquiring a character string constituting a group name in a first similar form when a first scanned image determined to be similar to a first similar form in which information for setting properties is stored is included in the plurality of scanned images; a second acquisition means for acquiring a character string of the first scanned image in an area corresponding to a text block of the first similar form when the character string is included in at least a part of a group name of the first similar form; and a first update means for updating the group name so that the group name generated by including a portion of the character string acquired by the first acquisition means that matches the character string acquired by the second acquisition means and excluding a portion of the character string acquired by the first acquisition means that does not match the character string acquired by the second acquisition means becomes the group name in the first similar form.

6. The image processing device according to claim 5,

7. The display control means The group name updated by the first update means is displayed as a group name when the scanned images determined to match the document form of the first similar form are collectively displayed.

7. The image processing device according to claim 6,

8. a third acquisition means for acquiring a character string constituting a group name when the plurality of scanned images includes an unlearned scanned image in which information for setting properties is not stored; and a fourth acquisition means for acquiring information on a text block including the character string acquired by the third acquisition means and the character string included in the text block from a second scanned image determined to have no similar form among the plurality of scanned images; a fifth acquiring means for acquiring a character string in another unlearned scanned image similar to the second scanned image, the character string being included in a text block in an area corresponding to the text block acquired by the fourth acquiring means; a generating means for generating a first group name including a portion of a character string that matches a character string acquired by the fourth obtaining means and a character string acquired by the fifth obtaining means, and excluding a portion of a character string that does not match a character string acquired by the fourth obtaining means and a character string acquired by the fifth obtaining means, The display control means The first group name is displayed as a group name when the second scanned image and another unlearned scanned image similar to the second scanned image are collectively displayed.

8. The image processing device according to claim 5, wherein the image processing device is a computer.

9. The generating means includes: Generate the first group name including a string indicating that no information for setting the property has been saved.

9. The image processing device according to claim 8,

10. The generating means includes: If the second scanned image does not contain the character string acquired by the third acquisition means, or if the matching portion of the character string does not exist, the first group name is generated with a character string indicating that information for setting the property is not saved and a character string for distinguishing the first group name from other group names.

10. The image processing device according to claim 9,

11. a sixth acquiring means for acquiring information on the text block and the character string included in the text block when a file name is set for the second scanned image and when a character string included in a text block of the second scanned image is used for at least a part of the file name set for the second scanned image; a seventh acquisition means for acquiring a character string in another unlearned scanned image similar to the second scanned image among the plurality of scanned images, the character string being included in a text block in an area corresponding to the text block acquired by the sixth acquisition means; and a second updating means for generating a second group name including a portion of a character string that matches the character string acquired by the sixth acquiring means and the seventh acquiring means, and excluding a portion of a character string that does not match the character string acquired by the sixth acquiring means and the seventh acquiring means, and updating the first group name to the second group name.

11. The image processing device according to claim 8,

12. A character string indicating a date or a character string consisting of at least one of a number, an alphabet, and a symbol is not included in the character string constituting the group name when the group name is generated.

12. The image processing device according to claim 6, wherein the first and second inputs are input to the image processing apparatus.

13. The group name generation unit further includes a receiving unit for receiving a user's instruction to edit the generated group name.

13. The image processing device according to claim 6, wherein the image processing device is a digital camera.

14. The display control means A scanned image file that contains information for setting properties, It is possible to control the display of scanned image files that do not have information saved to set properties separately from scanned image files that do not have information saved.

14. The image processing device according to claim 1,

15. The display control means Control the display of scanned image files that are determined to be similar documents together using a group bar that displays the group name.

15. The image processing device according to claim 1,

16. The display control means Control the background color of the group bar indicating the group of scanned images for which information for setting properties is saved, and the group bar indicating the group of scanned images for which information for setting properties is not saved, so that they have different colors.

16. The image processing device according to claim 15,

17. The properties include at least the file name.

17. The image processing device according to claim 6, wherein the first and second inputs are input to the image processing apparatus.

18. A determination step in which a determination means of the image processing device sequentially analyzes each of the multiple scanned images and determines a similar form that is similar to the scanned image to be analyzed; a registration step in which a registration means of the image processing device registers, as a new form, information on the scanned image to be analyzed for which it has been determined in the determination step that there is no similar form; a display control step of controlling a display control means of the image processing device to display a list of the plurality of scanned images on a display unit; In the determination step, when information on the scan image to be analyzed is registered as the new form in the registration step, the determination means determines a similar form from among forms previously registered and the new form registered in the registration step for a scan image to be analyzed next or subsequent to the scan image to be analyzed among the plurality of scan images, In the list of the plurality of scan images, the scan images that are determined to have the same similar form in the determination step are displayed together.

13. An image processing method comprising:

19. A program for causing a computer to function as each of the means of the image processing device according to any one of claims 1 to 17.

Citation Information

Patent Citations

  • Method and device for retrieving image information

    JP1992348475A

  • Method and device for filing document

    JP1996221558A

  • Image processing device and image processing program

    JP2011028370A