Programs and Devices
The program automates the classification and aggregation of scanned images, reducing user effort by organizing documents based on preset conditions without manual rearrangement.
Patent Information
- Application Number
- JP2020150084
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-09-07
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-09-07
AI Technical Summary
Existing image processing systems require users to manually rearrange and set documents according to classification conditions before generating image data, which is cumbersome and inefficient.
A program that automates the process of acquiring images from a scanner, classifying them based on preset conditions, and generating aggregated image data, eliminating the need for manual rearrangement.
Saves users the effort of manually sorting and setting documents by automatically grouping images according to classification conditions and saving them in organized files.
Smart Images

Figure 0007547877000004 
Figure 0007547877000005 
Figure 0007547877000007
Abstract
Description
[Technical field]
[0001] The technical field disclosed in this specification relates to a technique for reading a plurality of documents and generating image data based on the images of the read documents. [Background technology]
[0002] Conventionally, there is known a technique for generating image data by reading a plurality of documents and arranging the images of the read documents in an area of one page. For example, Patent Document 1 discloses an image processing device having a so-called N-in-1 function that reduces N read images and generates arranged image data by arranging the reduced N images in an area that divides one page into N equal parts. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2009-296409 A Summary of the Invention [Problem to be solved by the invention]
[0004] The image processing device arranges the images in the order of the scanned documents. Therefore, when trying to obtain image data that is classified and compiled based on classification criteria such as date or company name from the scanned results of multiple documents, the user must first rearrange the documents so that they are consecutive by classification criteria, and then set the document stack in the image reading device. This task of rearranging and setting the documents can be time-consuming for the user.
[0005] This specification discloses a technique for reducing the effort required for a user to set an original when generating image data in which a plurality of images are compiled for each extraction condition. [Means for solving the problem]
[0006] A program developed to solve this problem causes a computer of an information processing device to execute an acquisition process to acquire images from an image reading device, and when the image reading device receives a scan command from the information processing device, it reads multiple documents set one by one and transmits an image of each of the read documents to the information processing device, and further causes the computer to execute the following processes: a classification process to classify the received multiple images according to preset classification conditions when multiple images are acquired from the image reading device in the acquisition process by receiving the images for each document read by the image reading device; a generation process to generate aggregate image data that summarizes the images classified in the classification process for each classification condition; and a storage process to save a file including the aggregate image data generated in the generation process.
[0007] By executing the program disclosed in this specification, the information processing device generates aggregated image data by grouping images of multiple scanned documents according to preset classification conditions, and saves the aggregated image data in a file. This allows the user to save the time and effort of sorting documents in advance, since the images are grouped according to classification conditions and saved in a file even if the user sets the documents without sorting them.
[0008] A device for executing the processing of the above program, a control method for realizing the functions of the program, and a computer-readable storage medium for storing the program are also novel and useful. Effect of the Invention
[0009] According to the present invention, a technique is realized for reducing the effort required for a user to set an original when generating image data in which a plurality of images are compiled for each extraction condition. [Brief description of the drawings]
[0010] [Figure 1] 1 is a schematic configuration diagram of a scan system according to an embodiment; [Diagram 2] 10 is a flowchart showing a procedure of a scan process. [Diagram 3] FIG. 13 is an explanatory diagram showing an example of a file storage setting screen. [Figure 4] 13 is a flowchart showing a procedure for a classification and storage process. [Diagram 5] FIG. 11 is an explanatory diagram showing an example of a temporary file. [Figure 6] 13 is a flowchart showing a procedure for an aggregation process. [Figure 7] FIG. 11 is an explanatory diagram showing an example of a file after aggregation. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an embodiment of a scan system will be described in detail with reference to the accompanying drawings. This embodiment discloses a scan system including a personal computer (hereinafter, referred to as "PC") and a scanner connected to the PC.
[0012] 1, the scan system 100 of this embodiment is a system including a PC 1 and a scanner 3, which are connected to each other. The PC 1 has at least a communication function with the scanner 3, and is a device that transmits scan commands to the scanner 3 and receives scan data, which is the result of reading, from the scanner 3. The PC 1 is an example of an information processing device and an example of a device. Instead of the PC 1, for example, a smartphone or a tablet computer may be used.
[0013] As shown in Fig. 1, the PC 1 of this embodiment includes a controller 10 including a CPU 11 and a memory 12. The PC 1 also includes a user interface (hereinafter referred to as "user IF") 13 and a communication interface (hereinafter referred to as "communication IF") 14, which are electrically connected to the controller 10. Note that the controller 10 in Fig. 1 is a collective term for hardware and software used to control the PC 1, and does not necessarily represent a single piece of hardware actually present in the PC 1.
[0014] The CPU 11 executes various processes according to the programs read from the memory 12 and based on the user's operations. The CPU 11 is an example of a computer. The memory 12 is a storage area in which various programs such as a startup program for starting the PC 1 and various application programs (hereinafter referred to as "apps") for using the scanner 3, as well as various data such as image data and document data, are stored. The memory 12 is also used as a working area when various processes are executed.
[0015] 1, the memory 12 of the PC 1 according to the present embodiment stores an OS 21, a scan application 22, and a scanner driver 23. The OS 21 is, for example, Windows (registered trademark), macOS (registered trademark), Linux (registered trademark), iOS (registered trademark), or Android (registered trademark).
[0016] The scan application 22 is a program that accepts user instructions such as designation of a device to perform scanning, designation of a format and a location to save the scan data, an instruction to perform scanning, etc. The scan application 22 may further accept an instruction to edit an image based on the scan data received from the scanner.
[0017] The scanner driver 23 is a program that controls the operation of the scanner 3 and accepts various settings related to scanning. The scanner driver 23 is a program corresponding to the model of the scanner 3, and is started by the scan application 22 when, for example, the scan application 22 accepts an instruction to execute scanning with the scanner 3. The scanner driver 23 is an example of a program. The scanner driver 23 may be a part of the scan application 22.
[0018] The scanner driver 23 of this embodiment has an Nin1 function that classifies multiple scan data based on a predetermined condition based on multiple scan data received from the scanner 3, and generates image data that compiles the classified images. For example, a user who manages a large number of documents such as accounting-related documents may scan each document, obtain image data, and create copies to manage or submit the documents. Many accounting-related documents such as receipts and delivery notes are smaller than A4 size, and management is made easier by generating one image data that compiles multiple documents, or by compile and copy the documents onto one sheet. The scanner driver 23 of this embodiment accepts an Nin1 instruction that is an instruction to execute the Nin1 function. Note that the Nin1 instruction in this embodiment is an instruction to compile images without reducing them, and N is not a fixed value but a variable value determined by the number of images read, etc.
[0019] An example of the memory 12 is not limited to a ROM, RAM, HDD, etc. built into the PC 1, but may be a storage medium that is readable and writable by the CPU 11. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, non-transitory media also include recording media such as CD-ROMs and DVD-ROMs. Non-transitory media are also tangible media. On the other hand, an electrical signal carrying a program downloaded from a server on the Internet is a computer-readable signal medium, which is a type of computer-readable medium, but is not included in non-transitory computer-readable storage media.
[0020] The user IF 13 includes hardware for displaying a screen for notifying information and hardware for accepting operations by the user. The user IF 13 may be a touch panel having a display function and an operation acceptance function, or may be a combination of a display having a display function and a keyboard, a mouse, a trackball, or the like having an operation acceptance function.
[0021] The communication IF 14 includes hardware for communicating with an external device such as the scanner 3. The communication standards of the communication IF 14 are Ethernet (registered trademark), Wi-Fi (registered trademark), USB, etc. The communication IF 14 may include multiple configurations corresponding to multiple communication standards.
[0022] The scanner 3 of this embodiment is a device having a communication function with the PC 1 and an image reading function of reading an image of a document and generating scan data. The scanner 3 is an example of an image reading device. As shown in Fig. 1, the scanner 3 of this embodiment includes an automatic document feeder (hereinafter, referred to as "ADF") 31, and can automatically feed documents one by one from a stack of multiple documents set in the ADF 31 and read them continuously. The scanner 3 is not limited to a device with a single scanning function, and may be, for example, a multifunction machine, a copier, or a fax machine.
[0023] Next, the processing by the scanner driver 23 will be described. The following processing basically indicates the processing of the CPU 11 according to the instructions written in the program. That is, the processing such as "judgment", "extraction", "selection", "calculation", "decision", "identification", "acquisition", "reception", and "control" in the following description indicate the processing of the CPU 11. The processing by the CPU 11 also includes hardware control using the API of the OS. In this specification, the description of the OS will be omitted and the operation of each program will be described. That is, in the following description, a description to the effect that "program B controls hardware C" may also mean that "program B controls hardware C using the API of the OS". In addition, the processing of the CPU 11 according to the instructions written in the program may be described in abbreviated terms. For example, it may be described as "performed by the CPU 11". In addition, the processing of the CPU 11 according to the instructions written in the program may be described in abbreviated terms such as "performed by program A".
[0024] Note that "obtaining" is used as a concept that does not require a request. In other words, the process of receiving data without the CPU 11 making a request is also included in the concept of "the CPU obtaining data." In addition, "data" in this specification is represented as a bit string that can be read by a computer. Data that has the same substantial meaning but different formats is treated as the same data. The same applies to "information" in this specification. In addition, "requesting" and "instructing" are concepts that indicate outputting information indicating a request or information indicating an instruction to the other party. In addition, information indicating a request or information indicating an instruction is also simply referred to as "request" and "instruction."
[0025] Furthermore, the process by CPU 11 to determine whether information A indicates event B may be conceptually described as "determining whether event B is determined from information A." The process by CPU 11 to determine whether information A indicates event B or event C may be conceptually described as "determining whether event B or event C is determined from information A."
[0026] The procedure of the scan process executed by the PC 1 in the scan system 100 of this embodiment will be described below with reference to the flowchart in Fig. 2. The scan process is executed by the CPU 11 of the PC 1 when an instruction to execute scanning by the scanner 3 is received by the scan application 22 or the like. The scan process of this embodiment is executed by the scanner driver 23.
[0027] In the scan process, the CPU 11 acquires scan settings (S101). The scan settings are various parameters that are set in the scan application 22 or the scanner driver 23 before receiving an instruction to execute a scan, and are set based on a user operation or the like.
[0028] The scanner driver 23 of this embodiment accepts a designation for saving a file of a scan result as a scan setting. For example, as shown in Fig. 3, the scanner driver 23 displays a file saving setting screen 50 on the user IF 13 and accepts a user input. The file saving setting screen 50 in Fig. 3 includes input fields for accepting a user designation for each of classification 51, aggregation 52, and save destination 53.
[0029] Classification 51 includes classification settings 511 that accept the designation of classification parameters, and sort settings 512 that accept sort information that determines the arrangement order after classification. Classification parameters are parameters that indicate conditions for classifying scan data into folders. Classification parameters are an example of classification conditions. When scanner driver 23 accepts the designation of classification parameters on file save setting screen 50, it saves scan data that includes a character string that matches the classification parameter designated in classification settings 511 in a folder with a name that includes the classification parameter. Scanner driver 23 may be capable of accepting the designation of multiple classification parameters.
[0030] The classification parameters that can be specified in the classification setting 511 include, for example, date, company name, branch name, and document type. The date is date information included in the image of the document. The scanner driver 23 stores a plurality of date description patterns, and when a date is selected as a classification parameter, a character string that fits one of the description patterns is extracted from the image, and date information is obtained based on the extracted character string. The date description patterns include, for example, Arabic numeral notation such as yyyy / mm / dd, mm dd yyyy, dd-mm-yyyy, and Reiwa x year mm month dd day, as well as character notation such as Jan for the month and Chinese numeral notation.
[0031] In addition, the date description pattern used by the scanner driver 23 as the folder name for saving is predetermined, and the scanner driver 23 creates a folder with a specific folder name regardless of the description pattern of the date included in the image of the scan data. For example, when the date is selected as the classification parameter, the scanner driver 23 saves both the scan data including the character string "2020 / 04 / 25" and the scan data including the character string "25-04-2020" in a folder with a name including "2020-04-25" by the process described below. The description pattern at the time of saving may be specified by the user.
[0032] The company name and branch name are character strings indicating a specific proper noun contained in the image of the document. Scanner driver 23 accepts input of character strings indicating specific names as company names and branch names to be used as classification parameters, and registers them in memory 12. When company name is selected as a classification parameter, scanner driver 23 displays a list of company names registered in memory 12 on user IF 13, and accepts selection of one or more names from the list. For example, when "Company A" is selected as a classification parameter, scanner driver 23 saves scanned data including the character string "Company A" in a folder with a name including "Company A."
[0033] Examples of document types include billing statement, receipt, delivery note, and invoice. Scanner driver 23 stores character strings that can be used as document types in advance, and when document type is selected as a classification parameter, accepts a user's selection from the prepared character strings. Scanner driver 23 may accept input of character strings that can be used as document types, and may display the accepted character strings as document type options.
[0034] The sort information is information for determining the order of arrangement when each piece of scan data classified into a folder is aggregated. The sort information is an example of a sort condition. Examples of sort information that can be specified in the sort setting 512 include branch name, time, and date. When time is specified as the sort information, the scanner driver 23 arranges each image in chronological order based on the time information included in the scan data. The scanner driver 23 may change the selectable sort information according to the selected classification parameter, for example, so that information that is the same as the selected classification parameter cannot be selected as sort information.
[0035] The scanner driver 23 stores a plurality of time description patterns, and when time is selected as sort information, it extracts a character string that fits the description pattern from the image, and acquires time information based on the extracted character string. Examples of time description patterns include hh:mm, hh:mm, and further, 12-hour notation using AM, PM, etc., and 24-hour notation. The scanner driver 23 of this embodiment arranges the images in chronological order regardless of the description pattern of time included in the images of the scan data. The scanner driver 23 sorts the images in file name order by temporarily saving each image as a temporary file with a name including "hh:mm" in the 24-hour system, for example. The scanner driver 23 may also use second information as time information.
[0036] Scanner driver 23 may receive, for example, instructions to add classification parameters or sort information items, or instructions to add names to be used as classification parameters or sort information, on file save setting screen 50. Scanner driver 23 stores the received information in memory 12 and uses it when receiving designation of classification parameters, etc. Also, when "none" is specified in classification setting 511, scanner driver 23 determines not to classify, regardless of the state of the check box in classification 51.
[0037] Aggregation 52 is an input field that accepts an instruction to enable or disable aggregation. FIG. 3, in which an instruction to aggregation 52 is accepted, is an example of an enable setting process. When an instruction to aggregate is accepted, scanner driver 23 accepts a designation of a canvas size. The canvas size is information indicating the size of a single canvas on which multiple images are aggregated and arranged. The canvas size corresponds, for example, to the size of a printing paper when printing is performed. When an instruction to enable aggregation is accepted, scanner driver 23 arranges multiple scan data within the designated canvas size and generates aggregated image data.
[0038] The save destination 53 is a field for receiving information indicating a save location for saving a file created based on scan data. Fig. 3, in which the designation of the save destination 53 is received, is an example of a save destination setting process. Note that if the save destination 53 is not designated, the scanner driver 23 may save the data in a default save destination set by the system or in a save destination set by the scanner driver 23.
[0039] Returning to the description of the scan process in Fig. 2, in the scan process, the CPU 11 determines whether or not the scan settings acquired in S101 include a designation of classification parameters (S102). If it is determined that a designation of classification parameters is not included (S102: NO), the CPU 11 performs normal scan processing (S103). Normal scan is a process in which scan data is not classified, and one piece of image data is generated for each sheet of document, and since this is an existing technology, a description thereof will be omitted.
[0040] If it is determined that the classification parameter designation is included (S102: YES), the CPU 11 generates a scan command and transmits the generated scan command to the scanner 3 (S106).
[0041] Based on the received scan command, the scanner 3 scans the documents set in the ADF 31 one by one and transmits the scan data to the PC 1. The scanner 3 may transmit the scan data each time it scans one document, or may transmit the scan data of multiple documents all at once. When the scanner 3 has finished scanning all the documents set in the ADF 31, it transmits completion information to the PC 1.
[0042] Scanner 3 may have a continuous scan function. Scanner 3 with the continuous scan function receives an instruction to continue or end scanning after all documents set in ADF 31 have been scanned. If an instruction to continue is received, scanner 3 further scans a new document set in ADF 31 and continues to send the scan data to PC 1. In this case, scanner 3 sends end information to PC 1 after receiving an instruction to end scanning.
[0043] The CPU 11 judges whether or not the end information has been received from the scanner 3 (S107). If it is judged that the end information has not been received (S107: NO), the CPU 11 receives the scan data from the scanner 3 (S108) and sequentially stores the received information in the memory 12 as a temporary file (S109). S108 is an example of the acquisition process.
[0044] CPU 11 saves the temporary files in a predetermined work folder on a hard disk or flash memory, for example. As a result, one temporary file is saved for each sheet of document in the predetermined folder. Saving as temporary files is less subject to limitations due to RAM capacity. If it is determined that the end information has been received (S107: YES), CPU 11 executes classification and saving processing (S111).
[0045] The classification save process is a process of re-saving in one folder each temporary file of an image that contains a character string that matches the classification parameter specified in the classification setting 511. The procedure of the classification save process will be described with reference to the flowchart of FIG.
[0046] In the classification and storage process, the CPU 11 reads out the temporary files one by one (S201), performs character recognition (OCR) processing on the images in the read out temporary files, and acquires character strings contained in the images (S202). Note that the CPU 11 may rotate the images before the OCR processing so that the orientation of the characters contained in the images is uniform.
[0047] Then, CPU 11 determines whether the character string acquired by OCR processing includes a character string designated as a classification parameter (S210). If a date is designated as a classification parameter, CPU 11 attempts to extract a character string that can be determined as a date from the character string acquired in S202. If it is determined that a classification parameter is included (S210: YES), CPU 11 determines whether a folder whose name includes the extracted classification parameter is present in the working folder (S211).
[0048] For example, as shown in FIG. 3, when a date is specified as a classification parameter, CPU 11 determines whether or not there is a folder with a name indicating the extracted date. At this time, CPU 11 uses a date of a predetermined description pattern as a folder name, regardless of the description pattern of the date included in the image of the temporary file. For example, when CPU 11 determines that the image of this temporary file contains information indicating "April 22, 2020" or "22 04 2020", CPU 11 determines whether or not there is a folder 61 with a folder name of "2020-04-22" as a classification folder, as shown in FIG.
[0049] If it is determined that there is no folder whose name includes the classification parameter (S211: NO), the CPU 11 creates a folder with the classification parameter name (S213). For example, if it is determined that the image of this temporary file includes information indicating "April 23, 2020" or "23 04 2020", and if there is no folder whose name is "2020-04-23", in S213 the CPU 11 creates a folder 62 as shown in FIG.
[0050] Furthermore, if it is determined that the character string acquired in S202 does not include a character string designated as a classification parameter (S210: YES), the CPU 11 creates a folder with a name indicating that the classification parameter name is not included, for example, the other folder 63 (S214). Note that if the other folder 63 already exists, the CPU 11 skips S214.
[0051] Then, if it is determined that a folder containing the classification parameter in its name exists (S211: YES), or after S213 or S214, the CPU 11 determines a folder into which to classify this temporary file (S215). Specifically, the CPU 11 determines the folder determined to exist in S211 or the folder created in S213 or S214 as the folder for classification.
[0052] Furthermore, the CPU 11 determines whether or not the character string acquired in S202 includes a character string designated as sorting information (S220). If it is determined that the character string includes the character string (S220: YES), the CPU 11 determines whether or not the folder determined in S215 includes a file whose name includes information indicating the sorting information (S221).
[0053] For example, as shown in Fig. 3, when time is specified as sort information, CPU 11 attempts to extract a character string indicating time from the temporary file and judges whether or not a file with a name indicating the extracted time exists. At this time, CPU 11 uses a predetermined description pattern of time as the folder name, regardless of the description pattern of time included in the image of the temporary file.
[0054] If it is determined that there is no file whose name includes the sort information (S221: NO), the CPU 11 saves this temporary file with a file name that includes the sort information (S222). For example, if it is determined that the image of this temporary file includes information indicating "1:00 PM" and there is no file with the file name "13:00" in the classification folder, the CPU 11 saves it as a "13:00" file 73, as shown in FIG.
[0055] If it is determined that there is a file whose name includes the sorting information (S221: YES), the CPU 11 saves this temporary file under a file name in which the additional information has been added to the sorting information (S223). The additional information may be, for example, a sequential number or information on the date and time when the process is being executed. Alternatively, the CPU 11 may accept a user's designation of the additional information. For example, the CPU 11 may make the sorting information the beginning of the file name, and add the additional information thereafter. For example, as shown in FIG. 5, if there is already a "10:00" file 71 and it is determined that the image of the temporary file includes information indicating "10 o'clock," the CPU 11 saves it as a "10:00-1" file 74.
[0056] On the other hand, if it is determined that the character string specified as sort information is not included (S220: NO), the CPU 11 saves this temporary file under a file name with a consecutive number (S224). For example, the CPU 11 saves the temporary file as the “(1)” file 75, as shown in FIG.
[0057] By S222, S223, and S224, each temporary file is classified into a folder based on the classification parameters and temporarily saved with a file name based on the sorting information. Since the files are classified by folder, S222, S223, and S224 are an example of a classification process. Also, since the files are sorted by file name, S222, S223, and S224 are also an example of a sorting process.
[0058] After any of S222, S223, and S224, the CPU 11 judges whether or not the processing of all temporary files has been completed (S225). If it is judged that the processing has not been completed (S225: NO), the CPU 11 returns to S201 and processes the next temporary file. If it is judged that the processing has been completed (S225: YES), the CPU 11 ends the classification and storage processing and returns to the scan processing.
[0059] Returning to the description of the scan process in Fig. 2, after the classification and storage process of S111 is completed, the CPU 11 judges whether or not an instruction to aggregate has been received (S112). The CPU 11 receives an instruction to aggregate via aggregation 52 on the file storage setting screen 50 described above. If it is determined to aggregate (S112: YES), the CPU 11 executes the aggregation process (S113). The aggregation process is a process for generating image data that aggregates images of multiple files that have been classified and stored.
[0060] The procedure of the aggregation process will be described with reference to the flowchart in Fig. 6. In the aggregation process, the CPU 11 first obtains the canvas size accepted by the aggregation 52 (S301). Then, the CPU 11 executes the following process for each folder created in the classification and storage process.
[0061] The CPU 11 determines whether or not a file having a name identical to the classification parameter included in the folder name of interest exists in the folder specified in the save destination 53 on the file save setting screen 50 (S302). For example, in the process for the folder 61 shown in FIG. 5, the CPU 11 determines whether or not a file having a name "2020-04-22", which is the name of the folder 61, exists.
[0062] If it is determined that a file with the classification parameter name exists (S302: YES), CPU 11 determines the name of the file by adding additional information after the classification parameter name (S303). The additional information may be, for example, a sequential number or information on the date and time when the processing is being executed. Alternatively, CPU 11 may accept a user's designation of the additional information. CPU 11 may add the additional information before the classification parameter name, or may accept a user's designation as to the position to add the additional information.
[0063] If it is determined that there is no file with the classification parameter name (S302: NO), the CPU 11 determines the classification parameter name as the file name (S304). The classification parameter name is an example of classification information. For example, in the process for the folder 61 shown in FIG. 5, the CPU 11 determines to generate a PDF file 81 whose name includes "2020-04-22", as shown in FIG.
[0064] After S303 or S304, CPU 11 arranges the images of each file in the folder being processed on the canvas in the order of file name (S310). The file name of each file was determined based on the sort information in S222 to S224 of the classification and saving process. In other words, by arranging the images in the order of file name, as shown in FIG. 7, each image is automatically arranged in the order of the sort information. CPU 11 then determines whether or not all images of files in the folder have been arranged on the canvas (S311). If it is determined that the images have not been arranged (S311: NO), CPU 11 further arranges the image of the next file on the canvas.
[0065] If it is determined that the arrangement is complete (S311: YES), the CPU 11 aggregates all the images arranged on the canvas and generates aggregated image data (S312). S312 is an example of a generation process. The CPU 11 then saves the generated aggregated image data as a file with the file name determined in S303 or S304 (S313). S313 is an example of a saving process. As a result, a PDF file 81 in which the images are arranged in chronological order is generated.
[0066] If the images of all the files cannot fit on one canvas, CPU 11 may create a canvas for the next page and generate aggregated image data including multiple pages. CPU 11 may also reduce the size of each image so that they fit on one canvas. Alternatively, CPU 11 may change the canvas size so that the images of all the files in the folder fit on one canvas.
[0067] Then, the CPU 11 judges whether or not the aggregation is completed for all folders created in the classification and storage process, that is, for all classification parameters (S315). If it is judged that the aggregation is not completed (S315: NO), the CPU 11 returns to S302 and executes the process for the next folder. If it is judged that the processing is completed for all folders (S315: YES), the CPU 11 ends the aggregation process and returns to the scan process.
[0068] As a result, for example, as shown in FIG. 7, PDF files 81 and 82 whose file names include the date, which is a classification parameter, and PDF file 83 whose file name includes "other" are generated. PDF file 83 is a file that aggregates images from which the date could not be extracted. Even if the date could not be extracted, images from which the time could be extracted are sorted and arranged in chronological order. Note that the image files are not limited to PDF files, and may be image files in formats such as JPEG and BMP. The file format may also be specified by the user.
[0069] Returning to the description of the scan process in Fig. 2, after the consolidation process in S113, or if it is determined not to consolidate (S112: NO), or after S103, the CPU 11 ends the scan process. If it is determined not to consolidate, each image is saved with a file name including sort information in the folder generated in S222 to S224 of the classification and saving process. If the working folder in which the files are saved in the classification and saving process is not the folder specified in the save destination 53 on the file save setting screen 50, the CPU 11 moves each file to the folder specified in the save destination 53 while maintaining the folder structure and file names.
[0070] In this embodiment, the process is described as being performed by the scanner driver 23 included in the PC 1, but the scanner 3 itself may have a classification function, for example. That is, the scanner 3 may accept input of scan settings including classification parameters via its own user IF. When such a scanner 3 accepts a scan instruction via its own user IF, it reads a document to acquire an image, and generates image data based on the scan settings already accepted via its own user IF. If the accepted scan settings include classification parameters, the scanner 3 classifies the images obtained by reading multiple documents, and generates image data that aggregates the classified images. In this case, the scanner 3 is an example of a device, and the process of reading a document to acquire an image is an example of an image acquisition process.
[0071] As described above in detail, according to the scan system 100 of this embodiment, the PC 1 classifies multiple pieces of scan data acquired from the scanner 3 using the scanner driver 23 based on preset classification parameters, and saves an image file including aggregated image data that is a compilation of the classified images. As a result, even if the user sets the document without rearranging the documents, the images are compiled for each classification parameter and the file is saved, eliminating the need for the user to rearrange the documents in advance.
[0072] Furthermore, in this embodiment, the sorting information is also specified and the classified images are rearranged according to the sorting information, which further reduces the user's effort in rearranging the documents in advance.
[0073] Furthermore, in this embodiment, the user's designation of the save destination is accepted, and the image file is saved in the designated save destination, so that the possibility that the user will lose track of the image file is reduced. Furthermore, the classification parameter is included in the file name of the image file, so that the user can easily find the file. Furthermore, if a file with the same name already exists, the file name is automatically changed to include additional information, so that duplication of names can be prevented, and problems due to names can be avoided.
[0074] Furthermore, in this embodiment, since the setting of whether or not to aggregate is accepted, it is also possible to save each document as a separate image data. Even if the setting is not to aggregate, the images are classified, so the user can save the trouble of sorting the documents in advance.
[0075] It should be noted that the present embodiment is merely an example and does not limit the present invention in any way. Therefore, the present invention can be modified and changed in various ways without departing from the scope of the present invention. For example, the number of scanners constituting the scan system 100 is not limited to one, and may be multiple.
[0076] In addition, in the present embodiment, the classification parameters for classification are set by the user via the user IF 13, but this is not limiting. For example, the classification parameters may be fixed parameters that are predetermined in the scanner driver 23. Also, although input of a character string such as a company name is accepted, it is not necessary to accept the input.
[0077] In addition, in this embodiment, classification and sorting are performed after all scan data is received, but reception of scan data and classification and storage processing may be performed in parallel. For example, after acquiring scan settings in S101 of the scan processing, classification and storage processing may be performed every time scan data is received.
[0078] In addition, in this embodiment, a name including the classification parameter is set as the folder name, but the name may not include the classification parameter. However, by using a name including the classification parameter, it is easier to understand the images contained in the folder. In addition, when there are multiple files that do not include classification parameters, they are all saved in the same "other" folder, but a different folder may be created for each file.
[0079] Also, in this embodiment, images are not reduced in size, but they may be reduced. For example, images may be reduced in size so that all images to be aggregated fit into a specified canvas size. Also, the canvas size is uniform for all pages, but it may be variable. In other words, images may not be reduced in size, but the canvas size may be enlarged so that all images of the same classification fit into one canvas.
[0080] Also, for example, the scanner 3 may not include the ADF 31. In that case, the user needs to place documents one by one on the document platen and give a scan execution instruction, but there is no need to align the order or orientation of the documents.
[0081] In addition, in any of the flowcharts disclosed in the embodiments, the order of execution of multiple processes in any of the steps can be arbitrarily changed or the processes can be executed in parallel as long as no contradiction occurs in the process content.
[0082] The processes disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as ASIC, or a combination of these. The processes disclosed in the embodiments may be realized in various forms, such as a recording medium having a program for executing the processes recorded thereon, or a method. [Explanation of symbols]
[0083] 1 PC 3. Scanner 11 CPU 12. Memory 13 User Interface
Claims
1. The computer of the information processing device executes an acquisition process for acquiring images from an image reading device, and when the image reading device receives a scan command from the information processing device, reads the multiple documents set one by one and transmits the read images of each of the documents to the information processing device; Further, when the image for each of the documents read by the image reading device is received by the computer in the acquisition process, a plurality of the images are acquired from the image reading device. A classification process of classifying the received images according to a preset classification condition; a generation process for generating aggregate image data by aggregating the images classified by the classification process for each of the classification conditions; a storage process for storing a file including the aggregate image data generated in the generation process; a sorting process for rearranging the images classified by the classification process for each of the classification conditions according to a sorting condition set in advance; Run the command, In the generation process, the aggregated image data is generated by aggregating the images rearranged in the sort process for each of the classification conditions. A program characterized by:
2. The computer of the information processing device executes an acquisition process for acquiring images from an image reading device, and when the image reading device receives a scan command from the information processing device, reads the multiple documents set one by one and transmits the read images of each of the documents to the information processing device; Further, when the image for each of the documents read by the image reading device is received by the computer in the acquisition process, a plurality of the images are acquired from the image reading device. A classification process of classifying the received images according to a preset classification condition; a generation process for generating aggregate image data by aggregating the images classified by the classification process for each of the classification conditions; a storage process for storing a file including the aggregate image data generated in the generation process; a save destination setting process of receiving an input of a save destination via a user interface of the information processing device and setting the received save destination as a save destination of the file to be saved in the save process; Run the command, In the saving process, the file including the aggregate image data generated in the generating process is saved in the save destination set in the save destination setting process. A program characterized by:
3. The computer of the information processing device executes an acquisition process for acquiring images from an image reading device, and when the image reading device receives a scan command from the information processing device, reads the multiple documents set one by one and transmits the read images of each of the documents to the information processing device; Further, when the image for each of the documents read by the image reading device is received by the computer in the acquisition process, a plurality of the images are acquired from the image reading device. A classification process of classifying the received images according to a preset classification condition; a generation process for generating aggregate image data by aggregating the images classified by the classification process for each of the classification conditions; a storage process for storing a file including the aggregate image data generated in the generation process; Run the command, In the saving process, the file including the aggregate image data generated in the generating process, the file including classification information indicating the classification condition in a file name, is saved. A program characterized by:
4. In the program according to claim 3, In the saving process, the file including the aggregate image data generated in the generating process, the file including the classification information at the beginning of a file name, is saved. A program characterized by:
5. In the program according to claim 3 or claim 4, In the saving process, the file including the aggregate image data generated in the generating process, the file including the classification information and additional information for preventing duplication in a file name, is saved. A program characterized by:
6. The computer of the information processing device executes an acquisition process for acquiring images from an image reading device, and when the image reading device receives a scan command from the information processing device, reads the multiple documents set one by one and transmits the read images of each of the documents to the information processing device; Further, when the image for each of the documents read by the image reading device is received by the computer in the acquisition process, a plurality of the images are acquired from the image reading device. A classification process of classifying the received images according to a preset classification condition; a generation process for generating aggregate image data by aggregating the images classified by the classification process for each of the classification conditions; a storage process for storing a file including the aggregate image data generated in the generation process; Run the command, In the generation process, A folder is generated for each of the classification conditions. For each of the images classified in the classification process, a temporary file including the image is stored in the folder; After storing the temporary files for all of the plurality of received images, the plurality of temporary files stored in the folder are sequentially read out, and the aggregated image data is generated by aggregating the images included in the temporary files. A program characterized by:
7. The program according to claim 6, The computer includes: Executing a validity setting process for setting whether or not the aggregation of the received images is valid; In the generation process, When the validity is set in the validity setting process, all of the received images are stored in the temporary file, and then the temporary files stored in the folder are read out in sequence, and the aggregated image data is generated by aggregating the images included in the temporary files. If the validity is not set in the validity setting process, after all of the received multiple images are saved in the temporary file, the aggregate image data is not generated and the temporary file is saved in a predetermined save destination. A program characterized by:
8. The program according to claim 7, In the generation process, If the validity is not set in the validity setting process, after all of the received multiple images are saved in the temporary file, the aggregate image data is not generated, a folder for saving is generated including additional information in the folder name to prevent duplication, and the temporary file is saved in the folder for saving. A program characterized by:
9. The program according to claim 7, In the generation process, If validity is not set in the validity setting process, after all of the received multiple images are saved in the temporary file, the aggregate image data is not generated, a file name for saving is generated including additional information for preventing duplication in the file name, the file name of the temporary file is changed to the file name for saving, and the temporary file is saved in the specified save destination. A program characterized by:
10. A user interface; A computer, A device comprising: The computer includes: an image acquisition process for acquiring an image of each of a plurality of documents read one by one when a scan instruction is received via the user interface; A classification process of classifying the plurality of images acquired in the image acquisition process according to a preset classification condition; a generation process for generating aggregate image data by aggregating the images classified by the classification process for each of the classification conditions; a storage process for storing a file including the aggregate image data generated in the generation process; a sorting process for rearranging the images classified by the classification process for each of the classification conditions according to a sorting condition set in advance; Run In the generation process, the aggregated image data is generated by aggregating the images rearranged in the sort process for each of the classification conditions. A device characterized in that
Citation Information
Patent Citations
Data generating device for facsimile print, image forming apparatus, and method for processing facsimile image data
JP2007201805A
Image processing apparatus
JP2009296409A
Information processing device, image processing system and program
JP2017091420A
