Information processing apparatus, method for controlling information processing apparatus, and program
The information processing apparatus simplifies the configuration of folder and file names for scanned forms by extracting and recognizing marked areas, determining their use, and generating names accordingly, enhancing usability.
Patent Information
- Application Number
- JP2023021391
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-15
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing systems require understanding the marking method and color correspondence of enclosures to classify character strings for folder or file names, and cannot account for the order of configuration when using multiple marked areas.
An information processing apparatus that extracts areas marked with a predetermined marking, performs character recognition, determines the use of the recognized strings for folder or file names, and generates names based on these results, allowing flexible configuration.
Enables easy and flexible setting of folder and file names for scanned forms, improving usability by simplifying the process of configuring storage locations based on the form's content.
Smart Images

Figure 2024115650000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, a control method for an information processing device, and a program. [Background technology]
[0002] Conventionally, there are systems that manage documents by scanning paper documents, digitizing them, and setting the storage location and file name of the digitized document based on the contents of the scanned document. For example, if the scanned document contains the word "quote," the character string can be used as the file name. Patent Document 1 discloses a technique in which a portion of a document from which a character string is to be extracted is surrounded with a pen, and the recognized character string is classified and used depending on the marking method, such as the way of surrounding it or the color of the surrounding. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 11-175705 Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the technology of Patent Document 1, it is necessary to understand which classification destination the pen circle or color corresponds to and mark it, and it is not possible to use the extracted character string while considering the order of the marked areas. Therefore, when deciding whether to use the character string extracted from the scanned document as a folder name or a file name, it is necessary to understand the classification definition beforehand and mark it. In addition, when using character strings extracted from multiple marked areas to compose a folder name or file name for the storage location, the order of composition cannot be taken into consideration.
[0005] The present invention has been made to solve the above problems, and aims to provide a mechanism that makes it possible to easily and freely configure the folder name and file name of the storage destination of scanned forms, etc., using the contents of the forms, etc. [Means for solving the problem]
[0006] The present invention is an information processing device that sets a folder name and a file name when image data read from a document is saved, and is characterized by having an extraction means that extracts an area that has a predetermined marking from the image data, a character recognition means that performs character recognition for each extracted area, a determination means that determines, for each extracted area, based on information indicating a folder, a file, or both a folder and a file written in the vicinity of the area, whether a character string recognized from the area should be used as a folder name, a file name, or both a folder name and a file name, and a generation means that generates a folder name and a file name when the image data is saved, based on the character recognition result for each area and the determination result for each area. Effect of the Invention
[0007] According to the present invention, it is possible to easily and freely configure the storage destination folder name and file name of scanned forms, etc., using the contents written on the forms, etc. As a result, it is possible to significantly improve usability when setting the storage destination and file name of scanned and digitized forms, etc., based on the contents written on the forms, etc. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an example of the overall configuration of a system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating an example of the hardware configuration of an MFP. [Diagram 3] FIG. 2 is a diagram illustrating an example of the hardware configuration of a client PC and an MFP cooperation service. [Figure 4]FIG. 2 is a diagram illustrating an example of the software configuration of the image processing system according to the embodiment. [Diagram 5] FIG. 4 is a sequence diagram illustrating a process flow between devices in the system according to the embodiment. [Figure 6] 5 is a flowchart illustrating details of folder information and file information setting in the first embodiment. [Figure 7] 5A and 5B are diagrams illustrating examples of scanned forms for explaining the process of setting folder information and file information in the first embodiment. [Figure 8] 5A and 5B are diagrams illustrating examples of scanned forms for explaining the process of setting folder information and file information in the first embodiment. [Figure 9] 10 is a flowchart illustrating details of folder information and file information setting in the second embodiment. [Figure 10] FIG. 13 is a diagram illustrating a scanned form for explaining the process of setting folder information and file information in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, the embodiments of the present invention 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.
[0010] [First embodiment] <Overall composition> FIG. 1 is a diagram illustrating an example of the overall configuration of a system according to an embodiment of the present invention. The image processing system of this embodiment includes an MFP (Multifunction Peripheral) 110, a client PC 111, an MFP cooperation service 120, and a cloud storage 130.
[0011] The MFP 110 and the client PC 111 are communicably connected to a server that provides various services on the Internet via a LAN (Local Area Network). The MFP 110 is a multifunction device having a plurality of functions such as a scanner and a printer, and is an example of an image processing apparatus. The client PC 111 is a computer or an application that receives the provision of a service requested from the MFP cooperation service 120.
[0012] The MFP cooperation service 120 is an example of a service having a function of storing an image file scanned by the MFP 110 on its own server or transferring it to a service capable of file storage such as another storage service. The cloud storage 130 is a service capable of storing a file via the Internet and acquiring the stored file with a web browser.
[0013] The image processing system of the present embodiment is configured to include the MFP 110, the client PC 111, the MFP cooperation service 120, and the cloud storage 130, but is not limited thereto. For example, the MFP 110 may also serve as the client PC 111 or the MFP cooperation service 120. Further, the MFP cooperation service 120 may be in a connection form arranged on a server on the LAN instead of on the Internet. Further, the cloud storage 130 may be replaced with a mail server or the like, and the scanned image may be attached to and transmitted by mail.
[0014] <Hardware Configuration of MFP> FIG. 2 is a diagram illustrating 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.
[0015] A control unit 210 has the following units 211 to 219, and controls the overall operation of the MFP 110. A CPU 211 reads out a control program stored in a ROM 212, and executes and controls various functions of the MFP 110, such as reading, printing, and communication. A RAM 213 is used as a temporary storage area such as the main memory and work area of the CPU 211. In this embodiment, one CPU 211 executes each process shown in the flowchart described later using one memory (RAM 213 or HDD 214), but this is not limited to this. For example, each process may be executed by cooperating with multiple CPUs, RAMs, or HDDs.
[0016] The HDD 214 is a large-capacity storage unit that stores image data and various programs. Note that the configuration may include other storage devices such as a solid state drive (SSD) or an embedded multimedia card (eMMC) instead of or in combination with the hard disk drive (HDD).
[0017] The operation unit I / F 215 is an interface that connects the operation unit 220 and the control unit 210. The operation unit 220 is provided with a touch panel, a keyboard, and the like, and receives operations / inputs / instructions from a user.
[0018] The printer I / F 216 is an interface that connects the printer unit 221 and the control unit 210. Image data to be printed 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. The scanner I / F 217 is an interface that connects the scanner unit 222 and the control unit 210. The scanner unit 222 reads an original placed on an original platen or an ADF (Auto Document Feeder), not shown, generates image data, and inputs the image data to the control unit 210 via the scanner I / F 217. The MFP 110 can print (copy) image data generated by a scanner unit 222 from a printer unit 221, and can also transmit the image data as a file or by email.
[0019] The modem I / F 218 is an interface that connects the modem 223 to the control unit 210. The modem 223 communicates image data by facsimile with a facsimile device on the PSTN. The network I / F 219 is an interface that connects the control unit 210 (MFP 110) to a LAN. The MFP 110 uses the network I / F 219 to transmit image data and information to each service on the Internet and to receive various information.
[0020] <Hardware configuration of client PC and MFP linkage service> FIG. 3 is a diagram illustrating an example of the hardware configuration of the client PC 111 and the MFP cooperation service 120. As shown in FIG. The information processing apparatus constituting the client PC 111 and the MFP interaction service 120 includes a CPU 311 , a ROM 312 , a RAM 313 , a HDD 314 , and a network I / F 315 .
[0021] The CPU 311 controls the overall operation by reading out the control program stored in the ROM 312 and executing various processes. The RAM 313 is used as a temporary storage area such as the main memory and work area of the CPU 311. The HDD 314 is a large-capacity storage unit that stores image data and various programs. Note that the configuration may include other storage devices such as an SSD or eMMC instead of or in combination with the HDD.
[0022] The network I / F 315 is an interface that connects the MFP collaboration service 120 to the Internet. The MFP collaboration service 120 and the cloud storage 130 receive processing requests from other devices (such as the MFP 110) via the network I / F 315 and transmit and receive various information.
[0023] <Image processing system software configuration> FIG. 4 is a diagram illustrating an example of the software configuration of the image processing system according to the present embodiment. (MFP110 Configuration) The configuration of the MFP 110 shown in FIG. 4 is realized, for example, by a CPU 211 reading out a program stored in a ROM 212, a HDD 214, or the like into a RAM 213 as necessary and executing the program. The MFP 110 is roughly divided into two parts: a native function unit 410 and an additional function unit 420 .
[0024] The units included in the native function unit 410 are standard units provided in the MFP 110. In contrast, the additional function unit 420 is an application that is additionally installed in the MFP 110. Additional function unit 420 is a Java (registered trademark)-based application, and can easily realize the addition of functions to MFP 110. Note that MFP 110 may have other additional applications (not shown) installed therein.
[0025] The native function unit 410 includes a scan execution unit 411 and an image data storage unit 412 . The additional function unit 420 includes a display control unit 421 , a scan instruction unit 422 , and a cooperation service request unit 423 .
[0026] The display control unit 421 displays a UI screen for receiving operations by a user on a liquid crystal display unit having a touch panel function of the operation unit 220 of the MFP 110. For example, the display control unit 421 displays UI screens such as input of authentication information for accessing the MFP linkage service 120, scan settings, an operation for starting scanning, and a preview screen. A scan instruction unit 422 requests the scan execution unit 411 to perform scanning together with scan settings according to user instructions input via the UI screen.
[0027] The scan execution unit 411 receives a scan request including scan settings from the scan instruction unit 422. In accordance with the scan request, the scan execution unit 411 generates scan image data by reading a document placed on a platen glass with the scanner unit 222 via the scanner I / F 217. The generated scan image data is sent to the image data storage unit 412. The scan execution unit 411 sends a scan image identifier that uniquely identifies the stored scan image data to the scan instruction unit 422. The scan image identifier is a number, symbol, alphabet, or the like (not shown) for uniquely identifying an image scanned in the MFP 110. The image data storage unit 412 stores the scan image data received from the scan execution unit 411 in the HDD 214 .
[0028] The scan instruction unit 422 acquires scan image data corresponding to the scan image identifier received from the scan execution unit 411 from the image data storage unit 412. The scan instruction unit 422 requests the cooperation service request unit 423 to issue an instruction for the MFP cooperation service 120 to process the acquired scan image data. The collaboration service request unit 423 requests various processes to the MFP collaboration service 120. For example, the collaboration service request unit 423 requests login, analysis of a scanned image, transmission of a scanned image, etc. Protocols such as REST and SOAP are used for communication with the MFP collaboration service 120, but other communication means may also be used.
[0029] (Configuration of MFP Collaboration Service 120) The configuration of the MFP cooperation service 120 shown in FIG. 4 is realized, for example, by the CPU 311 reading out a program stored in the HDD 314 or the like into the RAM 313 as necessary and executing the program. The MFP linkage service 120 includes a request control unit 431 , an image processing unit 432 , a cloud storage access unit 433 , a data management unit 434 , and a display control unit 435 .
[0030] The request control unit 431 waits in a state in which it can receive a request from an external device. When the request control unit 431 receives a processing request, it instructs the image processing unit 432, the cloud storage access unit 433, and the data management unit 434 to perform the processing as appropriate in response to the request.
[0031] The image processing unit 432 performs image recognition processing, such as determining areas surrounded by a highlighter or highlighter pen and analyzing marks in the vicinity thereof, OCR (Optical Character Recognition), and image rotation and tilt correction, as well as image processing and conversion processing.
[0032] The cloud storage access unit 433 issues processing requests to the cloud storage. The cloud storage 130 generally publishes various interfaces for saving files in the cloud storage and retrieving the saved files using protocols such as REST and SOAP. The cloud storage access unit 433 operates the cloud storage using the published cloud storage interface.
[0033] A data management unit 434 holds user information and various setting data managed by the MFP cooperation service 120 . The display control unit 435 receives a request from a web browser running on another terminal (not shown), such as a PC or mobile device connected via the Internet, and returns screen configuration information (HTML, CSS, etc.) required for screen display. The user can check user information registered in the MFP linkage service 120 or change settings for scanning via the screen displayed by the web browser.
[0034] Note that in FIG. 4, an example of a configuration in which additional function unit 420 is installed in MFP 110 is described, but this embodiment is not limited to this configuration, and client PC 111 may include the functionality of additional function unit 420.
[0035] <Overall process flow> 5 is a sequence diagram illustrating the flow of processing between each device when an image scanned by MFP 110 is converted into a file and transmitted to cloud storage 130. Here, the description will focus on the exchange between each device. Note that while FIG. 5 illustrates the MFP 110 exchanging with MFP linkage service 120, the acquisition of analysis results, screen display, learning instructions, and the like, which will be described later, may be performed by client PC 111 instead of MFP 110. Hereinafter, when describing processing performed by "MFP 110 or client PC 111", client PC 111 will be omitted and only "MFP 110" will be used.
[0036] In normal operation, the MFP 110 displays on the touch panel a main screen with buttons for implementing each function it provides. By installing an additional application (hereafter referred to as the "scan app") for sending scanned forms to cloud storage on the MFP 110, a button for using the application's functions appears on the main screen of the MFP 110. When this button is pressed, a screen for sending scanned forms to cloud storage is displayed, and the process shown in Figure 5 begins.
[0037] In S501, the MFP 110 displays a login screen for inputting authentication information for accessing the MFP collaboration service 120. When the user performs a login operation by inputting a user name and password on this login screen (S502), the MFP 110 detects this operation and transmits a login request including the user name and password to the MFP collaboration service 120. When the MFP collaboration service 120 receives this login request, it advances the process to S503.
[0038] In S503, the request control unit 431 of the MFP linkage service 120 verifies whether the user name and password included in the login request are correct, and if so, returns an access token to the MFP 110 (login process). Subsequent requests made from the MFP 110 to the MFP linkage service 120 are sent together with this access token, and this information makes it possible to identify the user to be processed. User authentication is performed using a commonly known method (Basic authentication, Digest authentication, authorization using OAuth, etc.).
[0039] When the MFP 110 receives the above-mentioned access token, it determines that the login process is complete, and proceeds to step S504. In S504, the MFP 110 displays a scan setting screen. On this scan setting screen, the user sets various scan reading settings, places the paper document (original) to be scanned on the platen glass or ADF, and presses the "Start Scan" button. Upon detecting this operation, the MFP 110 advances the process to S505.
[0040] In S505, the MFP 110 executes scanning to generate digital image data of the paper document. Then, in S506, the MFP 110 transmits an analysis request for the scanned image together with the image generated by the above-mentioned scanning process to the MFP cooperation service 120. At this time, the entire scanned image may be transmitted, or only the image to be analyzed may be transmitted first, and then the entire scanned image may be transmitted later.
[0041] When the MFP cooperation service 120 receives the request to analyze the scanned image, the process proceeds to S507. In S507, the request control unit 431 of the MFP collaboration service 120 sends the scanned image to the image processing unit 432, and requests that image analysis be started.
[0042] After receiving this request, the image processing unit 432 performs image analysis processing. First, in S508, the image processing unit 432 performs an analysis to determine whether or not there is an area that is a target for character recognition in the image in order to use it for a folder name or a file name (character recognition target area determination). Then, in S509, the image processing unit 432 performs character recognition processing on the area analyzed in S508 above. Then, in S510, the image processing unit 432 performs a process of determining the type (classification) of the area, whether the area is used as a folder or a file, based on the result of the analysis in S508 above (determining the type of area to be recognized as a character). The image processing unit 432 transmits the analysis results of the above steps S508, S509, and S510 to the request control unit 431, and notifies it of the completion of the image analysis process.
[0043] After receiving this notification, the request control unit 431 advances the process to S511. In S511, the request control unit 431 configures a storage destination folder name and file name based on the analysis results of the above S508, S509, and S510 (storage destination information determination). Next, in S512, the request control unit 431 requests that a file to be transmitted to the cloud storage 130 be generated from the scanned image, and the image processing unit 432 generates the file. Next, in S513, based on the storage destination information generated in S511, request control unit 431 transmits the file generated in S512 to cloud storage 130. Cloud storage 130 saves the received file with the file name indicated by the storage destination information, in a folder with the folder name indicated by the storage destination information.
[0044] 6 is a flowchart showing details of the image analysis process, the folder name / file name configuration process, and the file transmission process in the first embodiment. The process of this flowchart corresponds to S507 to S513 in FIG. 7 and 8 are diagrams illustrating examples of scanned forms for explaining the process of setting folder information and file information in the first embodiment. The process of extracting and configuring folder names and file names will be described in detail below with reference to FIGS.
[0045] First, in S601, the image processing unit 432 analyzes the scanned image to determine whether there is a portion to be used for the folder name and file name. Specifically, when a document 700 as shown in FIG. 7 is scanned, an analysis is performed to determine whether there is an area surrounded by a highlighter pen or a highlighter marker. In the analysis, an area surrounded by a highlighter pen or a marker in a predefined color gamut (an area surrounded by an image of a predetermined color gamut) is determined and extracted. In the example of FIG. 7, the area surrounded by the highlighter pen is determined to be an area 701 of "Estimate", an area 702 of "Kawasaki Co., Ltd.", and an area 703 of "April 1, 2022", and the character strings in each of the surrounded areas become the character recognition target areas. The above steps S601 and S602 correspond to the character recognition target area determination step S508 in FIG.
[0046] Next, in S602, image processing unit 432 determines whether or not an area surrounded by a highlighter exists in the result of the analysis in S601. If an area surrounded by a highlighter exists (Yes in S602), image processing unit 432 executes the processes of S603 to S607 for the surrounded areas, starting from the area located in the upper left corner of the form.
[0047] First, in S603, the image processing unit 432 performs character recognition processing (OCR) on the target area based on the results of the analysis in S601 above, and extracts character strings. Specifically, in Fig. 7, the areas surrounded by a highlighter pen, "Quotation" from area 701 of "Quotation", "Kawasaki Co., Ltd." from area 702 of "Kawasaki Co., Ltd.", and "April 1, 2022" from area 703 of "April 1, 2022" are extracted as character strings.
[0048] Next, in S604, the image processing unit 432 analyzes the area (nearby area) near the area surrounded by the highlighter pen, and analyzes whether the area is used for folder information or contains order information. Specifically, as in the folder information 704 in FIG. 7, an analysis is performed to see whether information indicating a folder is written near the area surrounded by the highlighter pen. As a folder mark, a mark that can be recognized as a folder, such as the folder character string described in the example of FIG. 7 or a mark with the character "F" written inside a circle, etc. If multiple marks are written, the coordinates at the top left from the position surrounded by the highlighter pen are given priority, and the mark with the closest coordinate is applied. In this embodiment, for an area in which multiple pieces of information indicating a folder or file exist nearby, the type (classification) is determined based on the existence in the closest or preferred direction from the area. The above-mentioned preferred direction may be changeable by setting. If no mark is written, the area is used for the file name, but it may be changeable in advance to use the area indicating a folder if no mark is written. In that case, the mark indicating the file is written near the surrounded area. Furthermore, for information on the order, analysis is performed to see if information indicating a number is written in addition to a mark indicating a folder. Specifically, this is the case when circled numbers are written, as in areas 804 and 805 indicating folders as shown in Fig. 8. If there is no mark indicating a folder and only a circled number is written, the circled number indicates the order relative to the file name. Details of the use of the result that is determined to contain order information will be described later.
[0049] Next, in S605, the image processing unit 432 determines whether or not information indicating a folder is described based on the result of the analysis in S604. If information indicating a folder is described (can be extracted) (Yes in S605), the image processing unit 432 advances the process to S606. In S606, the image processing unit 432 records the character string extracted in S603 as a character string to be used in the folder. In addition, if information including an order is described, the image processing unit 432 also holds the order.
[0050] On the other hand, in S605 above, if the information indicating the folder is not described (cannot be extracted) in the result of the analysis in S604 above (No in S605), the image processing unit 432 advances the process to S607. In S607, the image processing unit 432 records the character string extracted in S603 as a character string to be used in the file. Furthermore, if information including the order is described, the image processing unit 432 also holds the order. The above S604 to S607 correspond to the process of S510 in Fig. 5 which is the type determination of the character recognition target area. After the process of S606 or S607, the image processing unit 432 advances the process to S608.
[0051] In S608, image processing unit 432 checks whether all the areas extracted in S601 above have been processed. If there are areas that have not yet been processed (No in S608), image processing unit 432 controls to execute S603 to S607 for the remaining areas, starting from the upper left area of the form. On the other hand, if all have been processed (Yes in S608), the image processing unit 432 advances the process to S609.
[0052] In S609, the image processing unit 432 generates folder information and file information based on the results (character recognition result and type determination result) recorded in S606 and S607 above. Specifically, in the example of FIG. 7, the information indicating the folder is "Kawasaki Co., Ltd.", so "Kawasaki Co., Ltd." is used as the folder name. The information indicating the file is "quote" and "April 1, 2022," so the delimiter character string "_" and the file extension ".pdf" are combined to use "quote_April 1, 2022.pdf" as the file name. The delimiter character string may be changed by settings. The file extension may be automatically set according to the file format to be converted, or may be changed by settings. In addition, since the region is processed with priority from the top left, the character string is composed in order from the top left region, but if the order is recorded in S606 and S607, the order is taken into consideration. Specifically, in the example of FIG. 8, the "Kawasaki Co., Ltd." character string 803 is second and the "April 1, 2022" character string is first, so the folder name is "April 1, 2022_Kawasaki Co., Ltd." If the order is also written in the file name, the file name is constructed taking that order into consideration. Also, for folders, if there are multiple enclosed areas, processing may be performed so that the folder path is constructed with the extracted character string by switching the settings.
[0053] Next, in S610, the image processing unit 432 generates a file to be sent to the target cloud storage from the scanned image. The file format of the generated file may be selected by the user at the time of scanning, or may be generated using a preset file format. At this time, highlighter boxes and marks may be deleted (erased) from the scanned image using the results of the analysis in S601 and S604.
[0054] Next, in S611, the image processing unit 432 uses the folder information (folder name) and file information (file name) generated in S609 to store the file generated in S610 in the target cloud storage. The folder path of the storage destination may be configured such that the root folder of the cloud storage is preset, and the storage destination may be configured using the folder name generated in S609 under the root folder.
[0055] Furthermore, in the above S602, if the image processing unit 432 determines that there is no area surrounded by a highlighter pen (No in S602), the process proceeds to S612. In S612, the image processing unit 432 generates a file from the scanned image to be sent to the target cloud storage. Next, in S613, the image processing unit 432 stores the file generated in S612 above in the target cloud storage using the preset folder information (default folder name) and file information (default file name).
[0056] The above process makes it possible to easily configure the destination folder and file name for the scanned image based on the contents of the marked area of the scanned document and the information around that area (file character strings, marks, etc.). As a result, sorting and naming of scanned images can be easily performed.
[0057] Second Embodiment In the second embodiment, a configuration will be described in which the contents of the marked area of a scanned document are used as both a folder name and a file name based on the contents of the marked area and information about the vicinity of the area. The following will be described with reference to Figs. 9 and 10.
[0058] FIG. 9 is a flowchart showing details of the image analysis process, the folder name / file name configuration process, and the file transmission process in the second embodiment. FIG. 10 is a diagram illustrating an example of a scanned form for explaining the process of setting folder information and file information in the second embodiment.
[0059] First, the process of S901 is the same as the process of S601 in Fig. 6. Specifically, in S901, an analysis is performed to determine whether there is an area surrounded by a highlighter pen or a highlighter marker when a document 1000 as shown in Fig. 10 is scanned. In the analysis, an area surrounded by a highlighter pen or a marker that fits a predefined color gamut is determined. As areas surrounded by a highlighter pen, an area 1001 for "Quotation" and an area 1003 for "Kawasaki Corporation" are determined, and the character strings in each surrounded area become the areas subject to character recognition.
[0060] Next, the process of S902 is executed, which is the same as the process of S602 in Fig. 6. Here, if there is an area surrounded by a highlighter pen (Yes in S902), image processing unit 432 executes the processes of S603 to S607 for the surrounded areas, starting from the area located in the upper left corner of the form.
[0061] Next, the process of S903 is executed, which is the same as the process of S603 in Fig. 6. Specifically, in Fig. 10, the following character strings are extracted from the area surrounded by a highlighter pen: "Quotation" from area 1001 of "Quotation," "Kawasaki Corporation" from area 1002 of "Kawasaki Corporation," and "April 1, 2022" from area 1003 of "April 1, 2022."
[0062] Next, in S904, the image processing unit 432 analyzes the vicinity of the area surrounded by the highlighter pen to analyze whether it is an area to be used for folder information, an area to be used for file information, or information to be used for both. Specifically, as in the folder information 1004 in FIG. 10, an analysis is performed to see whether information indicating a folder and a file is written near the area surrounded by the highlighter pen. A folder mark is a mark that can be recognized as a folder, such as the folder described in the example. A file mark is a mark that can be recognized as a file, such as the file described in the example. In the case of a mark with the character "F" written in a circle, it is recognized as a folder, and it may be changed to recognize it as a file in the settings. When multiple marks are written, the coordinates at the top left from the position surrounded by the highlighter pen are given priority, and the mark with the closest coordinates is applied. This priority direction may be changeable by settings. If no mark is written, it is assumed that the area is used for the file name, but it may be changed to an area indicating a folder by settings. In that case, a mark indicating a file is written near the surrounded area. If sequential information is provided, similarly to the first embodiment, analysis is performed to see whether information indicating a number is provided in addition to a mark indicating a folder / file.
[0063] Next, in S905, the image processing unit 432 determines whether information indicating both a folder and a file is described in the result of the analysis in S904. If information indicating both a folder and a file is described (extracted) (Yes in S905), the image processing unit 432 advances the process to S906. In S906, the image processing unit 432 records the character string extracted in S903 as a character string to be used in both folders and files. In addition, if information including an order is described, the order is also stored.
[0064] On the other hand, if there is no information indicating both a folder and a file (No in S905), the image processing unit 432 advances the process to S907. In S907, the image processing unit 432 determines whether or not information indicating a folder is described based on the result of the analysis in S904. If information indicating a folder is described (can be extracted) (Yes in S907), the image processing unit 432 advances the process to S608. In S908, the image processing unit 432 records the character string extracted in S903 as a character string to be used in the folder. Furthermore, if information including an order is described, the image processing unit 432 also holds the order.
[0065] On the other hand, in S907, if the information indicating the folder is not described (cannot be extracted) in the result of the analysis in S904 (No in S907), the image processing unit 432 advances the process to S909. In S909, the image processing unit 432 records the character string extracted in S903 as a character string to be used in the file. Furthermore, if information including the order is described, the image processing unit 432 also holds the order.
[0066] After the process of S906, S908, or S909, the image processing unit 432 advances the process to S910. In S910, image processing unit 432 checks whether all the areas extracted in S901 above have been processed. If there are areas that have not yet been processed (No in S910), image processing unit 432 controls to execute S903 to S909 for the remaining areas, starting from the upper left area of the form. On the other hand, if all have been processed (Yes in S910), the image processing unit 432 advances the process to S911.
[0067] In S911, the image processing unit 432 generates folder information and file information based on the results recorded in S906, S907, and S909. Specifically, in the example of FIG. 10, the only information indicating the folder and file is "Kawasaki Co., Ltd.", so "Kawasaki Co., Ltd." is used as the folder name and file name. The information indicating the file is "Kawasaki Co., Ltd." and "Quotation" with no other marks, and "April 1, 2022." These character strings are combined with a separator character string "_" and a file extension ".pdf" to use "Quotation_Kawasaki Co., Ltd._April 1, 2022.pdf" as the file name. The separator character string may be changed by settings. The file extension may be automatically set according to the file format to be converted, or may be changed by settings. In addition, in this embodiment, the region is processed with priority from the top left, so the character string is configured in order from the top left region, but if the order is recorded in S906, S908, and S909, the order is taken into consideration. In addition, when there are multiple enclosed areas for a folder, processing may be performed so that the folder path is formed from the extracted character string by switching the settings.
[0068] In S912, the image processing unit 432 generates a file to be sent to the target cloud storage from the scanned image. The file format of the generated file may be selected by the user at the time of scanning, or may be generated using a preset file format. At this time, highlighter boxes and marks may be deleted from the scanned image using the results of the analysis in S901 and S904 above.
[0069] In S913, the file generated in S912 is stored in the target cloud storage using the folder information (folder name) and file information (file name) generated in S911. The folder path of the storage destination may be configured such that the root folder of the cloud storage is preset, and the folder name generated in S911 is used under the root folder to configure the storage destination.
[0070] Furthermore, in the above S902, if the image processing unit 432 determines that there is no area surrounded by a highlighter pen (No in S902), the process of S914 and S915 is executed. The processes of S914 and S915 are the same as the processes of S612 and S613 in FIG. 6, and therefore the description thereof will be omitted.
[0071] Through the above process, it is possible to easily configure a folder name and file name for saving a scanned document from one area within the document.
[0072] In the above embodiments, the area surrounded by a linear image drawn with a highlighter pen or a highlighter marker is extracted as the area to be character-recognized to be a folder name or a file name, but the present invention is not limited to this and may be an area with a predetermined marking. For example, the area may be an area filled with a highlighter pen or a highlighter marker, an area underlined, or an area enclosed by predetermined marks.
[0073] According to each embodiment described above, it is possible to easily configure a folder name and a file name based on the contents of a scanned document by a simple task of marking an area of a character string to be used as a folder name or a file name in the document with a highlighter pen or a highlighter marker, and further by writing a character string or a mark indicating the use type (classification) of the contents of the area near the area. At that time, it is also possible to easily configure a folder name or a file name by using the contents of multiple areas in a desired order. In other words, it is possible to solve the conventional problems such as the complicated marking work, the inability to mark appropriately without understanding the classification definition, and the inability to specify the order of use when configuring using character strings extracted from multiple areas. Therefore, it is possible to significantly improve usability when scanning and digitizing a paper document and setting the storage location and file name of the digitized document based on the contents of the scanned document.
[0074] It goes without saying that the configurations and contents of the various data described above are not limited to those described above, and the data may have various configurations and contents depending on the application and purpose. Although one embodiment has been described above, the present invention can be embodied, for example, as a system, an apparatus, a method, a program, a storage medium, etc. Specifically, the present invention may be applied to a system composed of multiple devices, or may be applied to an apparatus composed of a single device. Furthermore, any combination of the above-described embodiments is also included in the present invention.
[0075] (Other embodiments) 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. Furthermore, the present invention may be applied to a system made up of a plurality of devices, or to an apparatus made up of a single device. The present invention is not limited to the above-mentioned embodiment, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and are not excluded from the scope of the present invention. In other words, the present invention includes all configurations that combine the above-mentioned embodiments and their modifications.
[0076] The disclosure of this embodiment includes the following configuration, method, and program. (Configuration 1) An information processing apparatus for setting a folder name and a file name when image data read from a document is saved, An extraction means for extracting an area having a predetermined marking from the image data; a character recognition means for performing character recognition for each of the extracted regions; a determination means for determining whether a character string recognized from each of the extracted regions is to be used as a folder name, a file name, or both a folder name and a file name, based on information indicating a folder, a file, or both a folder and a file written near the region; a generating means for generating a folder name and a file name when the image data is to be saved, based on the character recognition result for each of the regions and the determination result for each of the regions; 13. An information processing device comprising: (Configuration 2) 2. The information processing device according to configuration 1, wherein the information indicating the folder, the file, or both the folder and the file is a character string or a mark indicating any one of them. (Configuration 3) The information processing device according to configuration 1 or 2, characterized in that, for an area in which a plurality of pieces of information exist in the vicinity, the determination means makes the determination based on the information existing in the closest position or in a preferred direction from the area. (Configuration 4) The information processing device according to any one of configurations 1 to 3, wherein the determination means determines that for an area in which information indicating a folder exists nearby, a character string recognized from the area will be used for the folder name, and for an area in which no information indicating a folder exists nearby, a character string recognized from the area will be used for the file name, or determines that for an area in which information indicating a file exists nearby, a character string recognized from the area will be used for the file name, and for an area in which no information indicating a file exists nearby, a character string recognized from the area will be used for the folder name. (Configuration 5) The information processing device according to configuration 4, wherein the determination means determines that for an area in which information indicating a folder and a file exists nearby, a character string recognized from the area is to be used for the folder name and file name. (Configuration 6) the determining means, in addition to determining the classification of an area in which information indicating an order exists nearby, determines an order of use according to the category based on the information indicating the order; The information processing device according to any one of configurations 1 to 5, wherein the generation means combines the character strings recognized for each of the areas according to the classification and the order to generate a folder name and a file name for saving the image data. (Configuration 7) 6. The information processing apparatus according to any one of configurations 1 to 5, further comprising an erasing unit for erasing the predetermined marking and the information from the image data. (Configuration 8) The information processing device according to any one of configurations 1 to 7, wherein the area to which the predetermined marking is applied is an area surrounded by an image of a predetermined color gamut, an area painted in a predetermined color gamut, an area underlined in a predetermined color gamut, or an area sandwiched between predetermined marks. (Configuration 9) 9. The information processing device according to any one of configurations 1 to 8, further comprising a storage unit that performs processing to store the image data using the folder name and file name generated by the generation unit. (Method 1) 1. A method for controlling an information processing apparatus for setting a folder name and a file name when image data read from a document is to be saved, comprising the steps of: An extraction step of extracting an area having a predetermined marking from the image data; a character recognition step of performing character recognition for each of the extracted regions; a determination step of determining, for each of the extracted areas, whether a character string recognized from the area is to be used as a folder name, a file name, or both a folder name and a file name, based on information indicating a folder, a file, or both a folder and a file written near the area; a generating step of generating a folder name and a file name for storing the image data based on the character recognition result for each of the regions and the determination result for each of the regions; 13. A method for controlling an information processing apparatus comprising the steps of: (Program 1) A program for causing a computer to function as each of the means according to any one of configurations 1 to 5. [Explanation of symbols]
[0077] 110 MFP 120 MFP Collaboration Service 431 Request control section 432 Image Processing Unit
Claims
1. An information processing apparatus for setting a folder name and a file name when image data read from a document is saved, An extraction means for extracting an area having a predetermined marking from the image data; a character recognition means for performing character recognition for each of the extracted regions; a determination means for determining whether a character string recognized from each of the extracted regions is to be used as a folder name, a file name, or both a folder name and a file name, based on information indicating a folder, a file, or both a folder and a file written near the region; a generating means for generating a folder name and a file name when the image data is to be saved, based on the character recognition result for each of the regions and the determination result for each of the regions; 13. An information processing device comprising:
2. 2. The information processing apparatus according to claim 1, wherein the information indicating the folder, the file, or both the folder and the file is a character string or a mark indicating any one of them.
3. 2 . The information processing apparatus according to claim 1 , wherein, for an area in which a plurality of pieces of information exist in the vicinity, the determination means makes the determination based on the information existing in a position closest to the area or in a preferential direction from the area.
4. 2. The information processing device according to claim 1, wherein the determination means determines that, for an area in which information indicating a folder exists in the vicinity, a character string recognized from the area will be used for the folder name, and determines that, for an area in which information indicating a folder does not exist in the vicinity, a character string recognized from the area will be used for the file name, or determines that, for an area in which information indicating a file exists in the vicinity, a character string recognized from the area will be used for the file name, and determines that, for an area in which information indicating a file does not exist in the vicinity, a character string recognized from the area will be used for the folder name.
5. 5. The information processing apparatus according to claim 4, wherein the determining means determines that, for an area in the vicinity of which information indicating a folder and a file exists, a character string recognized from the area is to be used for the folder name and file name.
6. the determining means, in addition to determining the classification of an area in which information indicating an order exists nearby, determines an order of use according to the category based on the information indicating the order; The information processing device according to any one of claims 1 to 5, characterized in that the generation means combines the character strings recognized for each of the areas according to the classification and the order to generate a folder name and a file name for saving the image data.
7. 6. The information processing apparatus according to claim 1, further comprising an erasing unit that erases the predetermined marking and the information from the image data.
8. An information processing device according to any one of claims 1 to 5, characterized in that the area to which the specified marking is applied is an area surrounded by an image of a specified color gamut, an area painted in a specified color gamut, an area underlined in a specified color gamut, or an area sandwiched between specified marks.
9. 6. The information processing apparatus according to claim 1, further comprising a storage unit that performs processing to store the image data using the folder name and file name generated by the generation unit.
10. 1. A method for controlling an information processing apparatus for setting a folder name and a file name when image data read from a document is saved, comprising the steps of: An extraction step of extracting an area having a predetermined marking from the image data; a character recognition step of performing character recognition for each of the extracted regions; a determination step of determining, for each of the extracted areas, whether a character string recognized from the area is to be used as a folder name, a file name, or both a folder name and a file name, based on information indicating a folder, a file, or both a folder and a file written near the area; a generating step of generating a folder name and a file name for storing the image data based on the character recognition result for each of the regions and the determination result for each of the regions; 13. A method for controlling an information processing apparatus comprising the steps of:
11. A program for causing a computer to function as each of the means according to any one of claims 1 to 5.
Citation Information
Patent Citations
Data filing device
JP1999175705A
