Scan system, scan program, and method for producing output object

The scan system and method address the issue of varying character recognition accuracy by using a reception and determination unit to output candidate character strings based on scan settings, enhancing recognition reliability.

JP2024152232APending Publication Date: 2024-10-25SEIKO EPSON CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023066296
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

Character recognition accuracy varies with scan settings such as resolution, leading to inconsistent recognition results.

Method used

A scan system and method that includes a reception unit for receiving scan settings, an image sensor for scanning, and a determination unit for performing character recognition, outputting candidate character strings based on scan settings, and a scan program that instructs a computer to perform scanning and character recognition according to specified settings.

Benefits of technology

Improves character recognition accuracy by adjusting recognition criteria based on scan settings, ensuring consistent and reliable output of candidate character strings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024152232000001_ABST
    Figure 2024152232000001_ABST
Patent Text Reader

Abstract

To solve the problem that recognition accuracy of character recognition is sometimes different due to scan setting of resolution or the like.SOLUTION: A scan system includes a reception part for receiving scan setting and a scan instruction, a scanner for operating an image scanner according to the scan setting to execute scan and read an image in accordance with the reception of the scan setting and the scan instruction, and a determination part for performing character recognition to image data showing the read image, and outputting candidate character strings being candidates for a recognized character string and the image data. The determination part constitutes the scan system for outputting the number corresponding to the scan setting of the candidate character strings.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a scanning system, a scanning program, and a method for producing an output. [Background technology]

[0002] 2. Description of the Related Art Conventionally, it is known that image data read by an image scanner is subjected to character recognition, and the image data is stored in a destination according to character information contained in the image data (for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2019-193051 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, the accuracy of character recognition can vary depending on scan settings such as resolution. [Means for solving the problem]

[0005] A scanning system for solving the above problems includes a reception unit that receives scan settings and scan instructions, a scanner that, upon receiving the scan settings and scan instructions, operates an image sensor in accordance with the scan settings to execute a scan and read an image, and a determination unit that performs character recognition on image data showing the read image, and outputs candidate character strings that are candidates for the recognized character string and the image data, and the determination unit outputs a number of candidate character strings according to the scan settings.

[0006] A scanning program for solving the above problem causes a computer to instruct a scanner to perform a scan in accordance with the scan settings in response to receiving scan settings and a scan instruction, performs character recognition on image data showing an image read by the scanner, and outputs the image data and candidate character strings that are candidates for the recognized character strings, the number of candidate character strings corresponding to the scan settings.

[0007] A method for producing an output product to solve the above problem includes, in response to receiving scan settings and a scan instruction, causing a scanner to perform a scan according to the scan settings, performing character recognition on image data showing an image read by the scanner, and producing an output product including candidate character strings that are candidates for the recognized character strings, the number of candidate character strings corresponding to the scan settings, and image data. [Brief description of the drawings]

[0008] [Figure 1] FIG. [Diagram 2] FIG. 4 is a diagram showing an example of a scan setting screen. [Diagram 3] FIG. 13 is a diagram showing an example of a setting screen for specifying word classification and storage. [Figure 4] FIG. 11 is a diagram showing an example of a group print setting screen. [Diagram 5] 5A and 5B are schematic diagrams showing an example of a correspondence relationship between designated words and output settings, and an example of a registration list of the number of copies to be printed. [Figure 6] FIG. 4 is a diagram showing an example of a folder structure. [Figure 7] 13 is a flowchart of a scanning process. [Figure 8] 13 is a flowchart of a specified word search process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Here, the embodiments of the present invention will be described in the following order. (1) Configuration of the multifunction device: (2) Scanning process: (2-1)Specified word search process: (3) Other embodiments:

[0010] (1) Configuration of the multifunction device: FIG. 1 is a block diagram showing the configuration of a multifunction device 1 as a scan system according to an embodiment of the present invention. The multifunction device 1 includes a processor 10, a non-volatile storage medium 20, a UI unit 30 (User Interface), a communication unit 40, a printing unit 50, a reading unit 60, and a FAX communication unit 70. The processor 10 includes a CPU, a ROM, a RAM, etc. (not shown), and can execute various programs recorded in the storage medium 20 to control each unit of the multifunction device 1. The processor 10 may be configured as a single chip or multiple chips. For example, an ASIC may be used instead of the CPU, or the CPU and the ASIC may work together.

[0011] The UI unit 30 includes a touch panel display. The touch panel display includes a display panel that displays various information under the control of the processor 10, and a touch detection panel overlaid on the display panel, and detects a touch operation by a human finger or the like. The touch panel display outputs information indicating the touch operation to the processor 10. The processor 10 acquires the touch operation based on the information.

[0012] The communication unit 40 includes various communication interfaces for communicating with other devices via wire or wirelessly, and also includes an interface for communicating with various removable memories attached to the multifunction device 1.

[0013] In this embodiment, the printing unit 50 includes actuators, sensors, drive circuits, mechanical parts, etc. for printing on various print media using various printing methods such as inkjet and electrophotography. The reading unit (scanner) 60 includes devices for reading an original placed on a platen glass or an original set in an ADF original tray, such as an image sensor and a light source, actuators for transporting the original, drive circuits, sensors, mechanical parts, etc.

[0014] The FAX communication unit 70 includes a modem for FAX communication of image data representing an original via a public switched telephone network or the like, a circuit for detecting and generating control signals for transmitting and receiving the image data, a circuit for encoding the transmitted data and decoding the received data, and the like.

[0015] The multifunction device 1 has a scan-to-box function. The scan-to-box function is a function for saving image data generated by scanning in a folder designated by the user. Furthermore, the multifunction device 1 has a designated word sorting and saving function. The designated word sorting and saving function is a function for scanning an image, performing character recognition, and automatically sorting and saving the image data in a folder corresponding to the designated word if the designated word is included. In this embodiment, in addition to saving in a folder corresponding to the designated word, a function for outputting image data including the designated word with an output setting corresponding to the designated word is realized. In order to realize such a function for sorting and saving image data by a designated word and further outputting the image data with an output setting corresponding to the designated word, the processor 10 can execute a scan program (not shown) recorded in the storage medium 20. When the scan program is executed, the processor 10 functions as a reception unit 11, an acquisition unit 12, a determination unit 13, and a processing unit 14.

[0016] The reception unit 11 allows the processor 10 to realize a function of receiving a designated word and an output setting from a user, and storing the received designated word and the output setting in the non-volatile storage medium 20 in association with each other. The designated word is a key for searching a group of characters included in image data showing a scanned image. The output setting is a parameter of various items for outputting image data. The acquisition unit 12 allows the processor 10 to realize a function of operating the reading unit 60 according to the scan setting to read an image, and acquiring image data showing the read image. The judgment unit 13 allows the processor 10 to realize a function of performing character recognition on the image data showing the read image, and judging whether or not the recognized character string includes the designated word read from the storage medium 20. The processing unit 14 allows the processor 10 to realize a function of outputting the image data with the output setting corresponding to the designated word when the image data includes the designated word.

[0017] First, the output settings and scan settings received from the user will be described in detail. Fig. 2 is a diagram showing an example of a scan setting screen when the Scan To Box function is selected. The processor 10 displays a setting screen as shown in Fig. 2 on the display of the UI unit 30 and receives scan settings from the user. Note that the range of the setting screen shown in Fig. 2 that is displayed at one time on the display of the UI unit 30 is a partial range according to the size of the display, and the user can display the entire setting screen by moving the knob of a scroll bar (not shown), but for ease of explanation, Fig. 2 shows each part included in the setting screen.

[0018] The scan setting screen is a screen for setting values ​​for various setting items for the scan operation, and as shown in Figure 2, buttons for various setting items (b2, b4, etc.) are arranged. By operating these buttons, the user can display the detailed setting screen corresponding to the button and select the setting value on the detailed setting screen. Button b1 is a button for saving the current setting value and instructing the start of scanning.

[0019] The scan settings include a color mode setting (scan color setting), as indicated by button b2. The color mode setting options are monochrome / color / grayscale. The scan settings also include a scan resolution setting, as indicated by button b3. The scan settings screen also includes a button b4, as shown in FIG. 2. Button b4 is a button for accepting detailed settings for the specified word sorting and saving function, and when button b4 is operated, the processor 10 displays the settings screen shown in FIG. 3.

[0020] Fig. 3 is a diagram showing an example of a setting screen for setting details of the specified word sorting and saving function. Using the function of the reception unit 11, the processor 10 displays a setting screen as shown in Fig. 3 on the UI unit 30 and receives user operations. As with Fig. 2 described above, in Fig. 3, for ease of explanation, each part included in the setting screen is shown at once.

[0021] 3 includes a selection section g1, a selection section g2, a language setting section g3, a designated word input section g4, a group print setting section g5, a selection section g6, and a save button b1. The selection section g1 is an operation section for selecting ON / OFF of the designated word sorting and saving function. When it is ON and the designated word is included in the image data, the processor 10 considers the function of saving the image data in a folder corresponding to the designated word to be valid.

[0022] The selection section g2 is a selection section for selecting ON / OFF of the image division file saving function. When ON is selected, when the image data generated by one scan job is composed of multiple pages, the processor 10 separates the image data into separate files for each page and saves them. When OFF is selected, when the image data of one scan job is composed of multiple pages, the processor 10 saves the image data of all pages as one file. That is, the selection section g2 allows the processor 10 to accept a unit for separating the image data into different files. By providing the selection section g2, the user can specify whether to save the image data as different files for each page or to save all pages as one file. When the image data is divided and saved by page, the user can determine whether the file is necessary or not for each file saved in the folder, and delete the corresponding file for the image data of unnecessary pages.

[0023] The language setting unit g3 is a setting unit for setting the language of the text included in the image to be scanned. The processor 10 accepts the specification of the language of the specified word by the language setting unit g3. The processor 10 performs character recognition processing on the image data using a character recognition processing corresponding to the language set in the language setting unit g3. Therefore, the processor 10 can reduce the possibility of erroneously recognizing characters included in the image data compared to when character recognition is performed on the image data using a character recognition processing that does not correspond to the language set in the language setting unit g3.

[0024] The designated word input section g4 is an input section for accepting input of a designated word. When the designated word input section g4 is selected, if Japanese is selected, the processor 10 displays a software keyboard of the Japanese syllabary, alphabet, numbers, symbols, etc., and the user can input the designated word by operating the software keyboard to input the desired characters and converting them to kanji if necessary. In this embodiment, up to three designated words can be specified for image data read by one scan job. For example, a use case in which multiple designated words are set can be assumed in which the same group (a group may be assumed to be, for example, a school class) is written in a document with different notations or names. More specifically, for example, the multiple designated words may be "1st year class 1," "nenichigumi" (class 1 written in kanji numerals) which is "1st year class 1," or the name of the homeroom teacher.

[0025] The group print setting section g5 is a setting section that accepts output settings of image data. In this specification, "group print" indicates printing the number of copies registered in association with the designated word. In this embodiment, it is assumed that the output is a print process, and the output settings are parameters for each setting item for printing image data, and include the setting of the number of copies to be printed. In addition to the number of copies to be printed, the output settings may also include a paper feed tray designation, a paper output tray designation, and the like. Print quality and color / monochrome designation may also be included. In this embodiment, the explanation will be continued assuming that the group print setting section g5 allows the user to set the number of copies to be printed of image data that includes the designated word.

[0026] When the group print setting section g5 is selected, the processor 10 displays a group print setting screen for creating, editing, and deleting a registration list of the number of copies to be printed. FIG. 4 is a diagram showing an example of the group print setting screen. The group print setting screen displays the registration name registered in the registration list of the number of copies to be printed and the numerical value of the number of copies to be printed corresponding to the registration name. When the user inputs a new registration name and the number of copies to be printed in the group print setting screen and operates the registration / overwrite button b11, the registration name and the number of copies to be printed corresponding to the registration name are stored in the storage medium 20 (see list L1 in FIG. 5). When the user changes an already registered registration name and the corresponding number of copies in the group print setting screen and operates the button b11 in the group print setting screen, the processor 10 updates the list L1 with the changed contents. Furthermore, when the user selects an already registered registration name in the group print setting screen and operates the delete button b12, the processor 10 deletes the selected registration name and the number of copies from the list L1. In addition, the user can specify the registration name of the number of copies to be associated with the specified word by selecting one of the registration names displayed in the group print setting screen and operating the OK button b10.

[0027] For example, when "Number of copies to be printed for Class 1-1" is selected on the group print setting screen as the number of copies to be printed corresponding to the designated word "Class 1-1" as shown in Fig. 3, the processor 10 associates "Number of copies to be printed for Class 1-1" with the designated word "Class 1-1" as shown in the correspondence relationship D1 in Fig. 5, and stores the association in the storage medium 20. After this, when "Class 1-1" is again input in the designated word input section g4 on the screen shown in Fig. 3, the processor 10 may refer to the correspondence relationship D1 and automatically select "Number of copies to be printed for Class 1-1" associated with "Class 1-1" and display it in the group print setting section g5. Of course, the registration name of the number of copies to be set in the group print setting section g5 may be manually set by the user each time on the group print setting screen of Fig. 4.

[0028] Next, as shown in list L1 in FIG. 5, in a state where, for example, 30 copies are registered as the number of copies for class 1-1, 29 copies are registered as the number of copies for class 1-2, and 29 copies are registered as the number of copies for class 1-3, a setting example of the designated word input section g4 and the group print setting section g5 for a user to newly print the number of copies representing the entire first grade will be described. The explanation will be continued assuming that there are a total of three classes, classes 1 to 3, in "first grade". The user inputs "first grade" into the designated word input section g4 in FIG. 3. Then, the user selects the group print setting section g5 to display the group print setting screen (FIG. 4), and selects "number of copies for class 1-1", "number of copies for class 1-2", and "number of copies for class 1-3" from the registration list on the group print setting screen and operates the OK button b10, thereby associating "number of copies for class 1-1", "number of copies for class 1-2", and "number of copies for class 1-3" with the designated word "first grade" (see correspondence relationship D2). In other words, "30 copies" + "29 copies" + "29 copies" = a total of "88 copies" is associated as the number of copies to be printed.

[0029] In this example, "1st year class 1", "1st year class 2", and "1st year class 3" are lower-level designated words of the designated word "1st year". In other words, "1st year" is a higher-level designated word of the designated words "1st year class 1", "1st year class 2", and "1st year class 3". The lower-level designated words include the higher-level designated words and are longer than the higher-level designated words.

[0030] The higher-level designated word may be automatically created from the common part of a plurality of lower-level designated words. For example, when two or more designated words having a common part are registered, the processor 10 may automatically create the higher-level designated word from the common part of a plurality of lower-level designated words. This eliminates the need for the user to create the higher-level designated word and store it in the storage medium, improving usability. Furthermore, when the higher-level designated word is automatically created, the processor 10 may inquire the user as to whether or not to register the higher-level designated word in the storage medium 20, and if the user selects registration, the higher-level designated word may be stored in the storage medium 20. Furthermore, the processor 10 may automatically generate the above-mentioned correspondence relationship D2. Specifically, the processor 10 sets the number of prints corresponding to the higher-level designated word to the total number of prints of all lower-level designated words for the higher-level designated word, and automatically generates the correspondence relationship D2 by associating it with the higher-level designated word. The processor 10 may then inquire the user as to whether or not to register the automatically generated correspondence relationship D2 in the storage medium 20, and if the user selects registration, the processor 10 may store the correspondence relationship D2 in the storage medium 20. 3, the registration list of the number of copies to be printed that corresponds to "1 year" may be automatically displayed as a default in the group print setting section g5. This can save the user the trouble of having to set the group print setting section g5 every time, even for the top specified words.

[0031] The selection section g6 in FIG. 3 is a selection section for selecting ON / OFF of the designated word linking function. The designated word linking function is a function for linking a designated word to image data when the image data includes the designated word. The image data and the designated word may be associated in any manner, for example, the designated word may be included as part of the file name of the file including the image data (e.g., a PDF file, etc.), or the designated word may be included in the information section of the file (header, footer, etc.). Alternatively, the designated word may be written and saved in a file other than the file including the image data (e.g., a file having a file name common to the file name of the file).

[0032] When the save button b1 in Fig. 3 is operated, the processor 10 stores the number of copies to be printed in association with the designated word in the storage medium 20. That is, the correspondence relationship D1 and the correspondence relationship D2 shown in Fig. 5 are stored in the storage medium 20. Furthermore, when the save button b1 is operated with the group print setting section g5 already set, the processor 10 assumes that a scan instruction has been given together with the scan settings, and executes a scan by operating the image sensor according to the scan settings set in Fig. 2, performs character recognition processing on the image data, and prints the number of copies corresponding to the designated word.

[0033] That is, when image data is generated by the reading unit 60, the processor 10 acquires the image data by the function of the acquisition unit 12. Then, the processor 10 performs character recognition processing on the image data by the function of the judgment unit 13. In this embodiment, the character recognition processing is performed on the entire image data. The processor 10 performs character recognition processing corresponding to the language selected by the language setting unit g3. The processor 10 executes character recognition processing using a machine-learned model for character recognition, thereby acquiring a candidate character string corresponding to each character group regarded as a group (one word, one phrase, etc.). For the same character group of the image data, multiple candidate character strings may be acquired. For each acquired candidate character string, a numerical value indicating the possibility that the character group is correct is acquired. For example, as the candidate character string and the possibility of the character group corresponding to "1st year class 1", the recognition results such as "'1st year class 1'...X%", "'I year class I'...Y%", and "' / year / class'...Z%" are acquired. In this embodiment, the larger the numerical value indicating the possibility, the more likely the candidate character string for the character group is to be treated as being correct.

[0034] The processor 10 determines that the image data contains the designated word if the conditions described below are met. The processor 10 changes the conditions for determining whether the designated word is included in the image data depending on the scan settings. That is, the processor 10, by using the function of the determination unit 13, relaxes the conditions when the image data is scanned with scan settings with low character recognition accuracy compared to when the image data is scanned with high character recognition accuracy. This can reduce the possibility of the designated word being overlooked even for image data scanned with scan settings with low recognition accuracy.

[0035] Specifically, for example, the processor 10 determines whether a candidate character string obtained as a recognition result matches a designated word by targeting the candidate character strings for which the probability of the candidate character string being accurate is equal to or greater than a threshold. Here, the threshold is a lower value when the character string is scanned at a low resolution than when the character string is scanned at a high resolution. The threshold value for the low resolution scan is T L, the threshold for high-resolution scans is T H (>T L ) In the case of a high-resolution scan, for example, the processor 10 determines whether a candidate character string with a probability of 80% or more matches the designated word, whereas in the case of a low-resolution scan, the processor 10 determines whether a candidate character string with a probability of 70% or more matches the designated word. In this case, scanning the same image at a low resolution allows more candidate character strings to be obtained as candidates for matching with the designated word than scanning at a high resolution, and the matching with the designated word can be determined for more candidate character strings. Therefore, even in a low-resolution scan, it is easy to obtain candidate character strings that match the designated word. As a result, the possibility of missing recognition of the designated word can be reduced even in a low-resolution scan.

[0036] The processor 10 determines that the candidate character string matches the designated word when the number of mismatched characters between the candidate character string and the designated word is equal to or less than the predetermined number of characters, and determines that the designated word is included in the image data. Here, the predetermined number of characters is greater when the image is scanned at a low resolution than when the image is scanned at a high resolution. The predetermined number of characters for low resolution scanning is set to N L , the default number of characters for high resolution scan is N H ( <N L For example, if the designated word is a four-letter word, the processor 10 considers the designated word and the candidate character string to match if at least three characters of the candidate character string and the designated word match (number of mismatched characters = 1) in the case of low resolution, but considers the designated word and the candidate character string to match if four characters match (number of mismatched characters = 0) in the case of high resolution. In this way, the possibility of missing recognition of the designated word can be reduced even in low resolution scans. In addition, the system may be configured to determine that the designated word and the candidate character string match when the matching rate between them is equal to or higher than a preset value, in which case the default value adopted is a lower value for the low-resolution scan than for the high-resolution scan. If the number of characters in the designated word is X, the matching rate is the degree to which a character string of X consecutive characters in a candidate character string of X characters or more matches the designated word.

[0037] Incidentally, a plurality of different designated words may be stored in the storage medium 20. For example, it is assumed that a first designated word and a second designated word are stored. When a first candidate character string having a first value of possibility matches the first designated word, and a second candidate character string having a second value of possibility matches the second designated word, the processor 10 selects the first designated word as the designated word included in the image data in response to the first value being greater than the second value, and selects the second designated word as the designated word included in the image data in response to the second value being greater than the first value. Specifically, for example, when the first designated word is "1 year" and the second designated word is "2 years", and the possibility that the target character group in the image data is "1 year" is a value greater than the possibility that the character group is "2 years", the processor 10 selects "1 year" having the greater possibility value as the designated word included in the image data. On the other hand, if the likelihood that the target character group in the image data is "1 year" is smaller than the likelihood that the character group is "2 years," the processor 10 selects "2 years," which has the larger likelihood value, as the designated word contained in the image data. In this way, by selecting the candidate character string with the higher likelihood, the likelihood of failure to extract the designated word can be reduced.

[0038] In addition, the processor 10 may be configured to perform character recognition on image data showing an image and output candidate character strings, which are candidates for the recognized character string, and image data by using the function of the determination unit 13. For example, the processor 10 displays the image data after the character recognition process on the display of the UI unit 30. When the user selects a desired character in the image data by touching or the like, the processor 10 displays a plurality of candidate character strings corresponding to a character group including the character on the display. The processor 10 outputs candidate character strings whose possibility is equal to or exceeds a threshold value. The threshold value is a lower value when the image is scanned at a low resolution than when the image is scanned at a high resolution. As a result, when the same image is scanned at a low resolution, more candidate character strings are presented to the user than when the image is scanned at a high resolution. Then, when the user selects a character string that has been correctly recognized from among the candidate character strings, the processor 10 adopts the candidate character string selected by the user as a character string indicating the character group selected by the user from the image data. The processor 10 may be configured to determine whether the adopted character string matches a designated word.

[0039] In this manner, it is determined whether the image data contains the designated word, and if it does, the processor 10 uses the function of the processing unit 14 to print the image data according to the output settings, and save the image data in a folder created with the designated word as the folder name. Saving to a folder is performed in the case of a scan in which the selection unit g1 in FIG. 3 is set to ON.

[0040] In the example of FIG. 5, each folder is provided in the storage medium 20 as shown in FIG. 6. The shared folder (also called a shared box) F1 is a folder that stores image data that does not include any of the specified words. The "1st year" folder F2 is a folder that stores image data that includes the higher-level specified word "1st year" but does not include the lower-level specified words of "1st year", "1st year class 1", "1st year class 2", and "1st year class 3". The "1st year class 1" folder F3 is a folder that stores image data that includes the lower-level specified word "1st year class 1". The "1st year class 2" folder F4 is a folder that stores image data that includes the lower-level specified word "1st year class 2". The "1st year class 3" folder F5 is a folder that stores image data that includes the lower-level specified word "1st year class 3". As shown in FIG. 6, the "1st year class 1" folder F3, the "1st year class 2" folder F4, and the "1st year class 3" folder F5 may be created as folders lower than the "1st year" folder F2. By configuring the folder structure in this way, it is easy for the user to recognize the relationship between the higher-level specified word and the lower-level specified word.

[0041] By the function of the processing unit 14, the processor 10 stores the image data in a folder for the more-significant designated words and performs printing according to the output settings of the more-significant designated words in response to the image data including the more-significant designated words but not the more-significant designated words. Also, the processor 10 stores the image data in a folder for the more-significant designated words and performs printing according to the output settings of the more-significant designated words but not the more-significant designated words in response to the acquired image data including the more-significant designated words.

[0042] In this embodiment, the process according to the higher-level designated word includes, in principle, the process according to all the designated words including the higher-level designated word and longer than the higher-level designated word. For example, when there are three lower-level designated words for the higher-level designated word "first year", namely "first-year class 1", "first-year class 2", and "first-year class 3", all the processes according to the three lower-level designated words are included in the process according to the higher-level designated word. More specifically, for example, when the number of copies to be printed is set as shown in FIG. 5, the processor 10 sets the number of copies to be printed of image data that includes the higher-level designated word "first year" but does not include the lower-level designated word to 30 copies + 29 copies + 29 copies = 88 copies. The processor 10 controls the printing unit 50 to print 88 copies of the image data. In this way, the user can perform the process according to all the lower-level designated words for the higher-level designated word when the data includes the higher-level designated word but does not include the lower-level designated word.

[0043] Note that, as an exception, the processing according to the higher-level specified words does not have to include processing according to all the lower-level specified words for the higher-level specified words. In the example of Figure 5, the print copy list for "1st year" can be modified to set "Number of copies to be printed for class 1-1" and "Number of copies to be printed for class 1-2" and not to set "Number of copies to be printed for class 1-3." In this case, processing according to some of the lower-level specified words can be performed on image data that contains higher-level specified words but no lower-level specified words.

[0044] In addition, for image data that includes the lower-level specified word "Class 1, Year 1," when the number of copies to be printed is set as shown in Figure 5, the processor 10 prints 30 copies, which is the number of copies associated with the lower-level specified word "Class 1, Year 1."

[0045] As described above, according to this embodiment, the multifunction device 1 can perform printing according to output settings that are associated in advance with designated words included in image data. This saves the user time and improves usability compared to when the user has to issue a new output instruction (print instruction) for scanned image data to execute printing.

[0046] (2) Scanning process: Fig. 7 is a flowchart showing the scan process. The scan process in Fig. 7 is executed when the save button b1 is operated in a state where scan settings are made on the screen shown in Fig. 2, and further the selection section g1 is set to ON on the screen shown in Fig. 3, at least one designated word is set, and any list of the number of copies is selected in the group print setting section g5.

[0047] When the scan process is started, the processor 10 saves the designated word and accepts a scan start instruction (step S100). That is, the processor 10 associates the designated word input in the designated word input section g4 with the registration list name set in the group print setting section g5 and saves them in the storage medium 20 (see, for example, D1 and D2 in FIG. 5). Furthermore, the processor 10 determines that a user has issued an instruction to start scanning according to the scan settings set on the scan setting screen shown in FIG. 2, and proceeds to the process of step S105.

[0048] The processor 10 executes a scan (step S105). That is, the processor 10 operates the image sensor to perform a scan in accordance with the scan settings set on the scan setting screen shown in Fig. 2, and generates image data representing the image.

[0049] Next, the processor 10 executes a specified word search process (step S110). The specified word search process executes OCR on the image data generated by the scan, and sets a flag when the specified word is detected. Details will be described later.

[0050] When the processor 10 converts the image data generated in step S105 into a file in a predetermined file format (e.g., PDF), it associates a flag with each file. If the image data contained in a file contains the designated word specified in step S100, the flag of that file is set to 1. After printing of the output settings corresponding to the designated word is completed, the flag of that file is set to 0. The flag of a file containing image data that does not contain the designated word remains 0.

[0051] Next, the processor 10 determines whether the flag is set to 1 (step S120). That is, the processor 10 determines whether the flag has been set to 1 through the specified word search process. When the image file division and saving selection section g2 is on, one page of image data is treated as one file, so that when multiple files are generated, steps S120 to S140 are repeated the number of times corresponding to the number of files to be generated.

[0052] If it is determined in step S120 that the flag is set, the processor 10 determines whether or not a designated word box has already been created (step S130). That is, it is determined whether or not a folder corresponding to the designated word designated in step S100 has already been created in the storage medium 20.

[0053] If it is determined in step S130 that the designated word has not been created, the processor 10 generates a BOX for the designated word (step S135) and saves the image data in the created BOX for the designated word (step S140). That is, the processor creates a folder with the designated word as the folder name, and saves a file including image data in the folder. If it is determined in step S130 that the designated word has been created, the processor 10 saves the image data in the created BOX for the designated word (step S140). That is, the processor 10 saves a file including image data in a folder that has already been created and corresponds to the designated word.

[0054] If it is not determined in step S120 that the flag is set, the processor 10 stores the image data in the shared BOX (step S125). That is, the processor 10 stores a file including the image data in the shared folder F1 (see FIG. 6).

[0055] After executing step S125 or step S140, the processor 10 determines whether the image data has been saved in the designated word BOX (step S145). If it is not determined that the image data has been saved in step S145 (if the image data has been saved in the shared BOX), the processor 10 ends the scan process.

[0056] If it is determined in step S145 that image data has been saved in the designated word box, processor 10 starts the group printing process of steps S150 to S170. The processes of steps S150 to S170 are performed on each file saved in the folder corresponding to the designated word. That is, processor 10 determines whether the flag of the file to be processed is set (step S150), and if the flag is set, it considers the file to be subject to group printing (step S160), and if the flag is not set, it considers the file to be excluded from group printing (step S155).

[0057] After executing step S155 or step S160, the processor 10 determines whether the files to be printed have been determined for all files in the designated word box (step S165). If it is determined in step S165 that all files have not been determined, the processor 10 returns to the process of step S150. If it is determined in step S165 that all files have been determined, the processor 10 prints the image data to be group printed and resets the flag (step S170). That is, the processor 10 controls the printing unit 50 to execute printing based on the image data included in the file to be processed and the output setting associated with the designated word. Then, the processor 10 sets the flag to 0 for the files for which printing has been completed.

[0058] (2-1)Specified word detection process: Fig. 8 is a flowchart showing the designated word detection process executed in step S110 of Fig. 7. When the designated word detection process starts, the processor 10 performs character recognition processing on the image data (step S200). That is, character recognition processing corresponding to the designated language is performed on the entire image data, and a candidate character string and a numerical value indicating the possibility of the candidate character string are obtained for each unit estimated to be one word.

[0059] Next, processor 10 sets the flag of the file containing image data to 0 (step S205). That is, the flag is initialized to 0. Next, processor 10 determines whether the image data was scanned at a specified resolution or lower (step S210). That is, processor 10 determines whether the resolution of the image data is lower than a resolution at which the accuracy of the character recognition process changes significantly (e.g., 200 dpi) based on the scan settings used to scan the image data. Processor 10 regards a scan at a resolution lower than this resolution as a scan at a low resolution, and a scan at a resolution higher than this resolution as a scan at a high resolution.

[0060] In step S210, if it is not determined that the scan is at a low resolution, that is, if it is determined that the scan is at a high resolution, the processor 10 determines whether the number of mismatched characters with the specified word is equal to or larger than a predetermined number N H is less than or equal to the threshold T H If there are more than one candidate character strings, the flag is set to 1 (step S215). H is the threshold T L It is greater than the default number of characters N. H In this embodiment, it is 0. If there is no such candidate character string, the flag of the image data remains 0.

[0061] If it is determined in step S210 that the scan is performed at a low resolution, the processor 10 determines whether the number of characters that do not match the specified word is equal to or larger than a predetermined number N Lis less than or equal to the threshold T L If there are more than the number of candidate character strings, a flag is set (step S220). L In this embodiment, it is set to 1. If it does not exist, the flag for the image data remains 0.

[0062] (3) Other embodiments: The above embodiment is an example for implementing the present invention, and various other embodiments can be adopted. For example, the reception unit, scanner, acquisition unit, determination unit, and output unit may be provided in the same device, or at least one of them may be provided separately in a device separate from the others.

[0063] The acquisition unit may be a communication connector or an antenna that acquires data from an external device such as a FAX machine. The output from the processing unit may be printing on another printing device, sending by FAX, or transferring data to another device, in addition to printing on the multifunction device 1. The output settings may include information on the output destination (destination FAX number, output destination printer, transfer destination device (shared folder name)), output file format, etc.

[0064] In the multifunction device 1 of the above embodiment, if the multifunction device 1 is powered off before scanning according to the scan settings and output according to the output settings is completed, the multifunction device 1 may be configured to output after the power is turned on thereafter. For this purpose, the determination unit stores the determination result in a storage medium. In the above embodiment, the "determination result" is a flag associated with the image data. If there is unoutputted image data at the time of startup, the processing unit outputs the unoutputted image data based on the determination result read from the storage medium. In other words, if there is image data with a flag still set to 1 at the time of restart, it can be considered that the output (printing) of the image data has not been completed. The processing unit can reliably execute output according to the output settings by outputting the image data with a flag still set to 1 after restart.

[0065] The determination unit is not limited to a unit that recognizes a character string contained in the image data from an image of characters contained in the image data by performing optical character recognition processing on the image data. The determination unit may recognize and make a judgment on a character string contained in the image data from a check position on a mark sheet contained in the image data, or may determine whether the acquired data contains a word as digital data. The determination unit may determine whether a character string is a designated word by referring to the number of mismatched characters, or by referring to the number of matching characters or the ratio of the number of mismatched or matching characters to the number of characters in the designated word. In any case, a character string with a small number of matching characters is not determined to be a designated word. The configuration in which the determination unit outputs a number of candidate character strings (candidate character strings as a result of character recognition) according to the scan settings can be applied to a general scanner with a character recognition function, various devices that perform character recognition processing on image data output from a scanner, and character recognition programs, in addition to a scan system equipped with a function for determining whether a specified word is included in image data as in the above embodiment. In addition, the output of the number of candidate character strings according to the scan settings may be performed for a user by displaying them on a display. Alternatively, in the case of a configuration in which other processing is performed using the recognition result of character recognition, the number of candidate character strings according to the scan settings may be output to the other processing block. Although the character recognition rate may differ depending on the scan settings, by presenting the number of candidate character strings according to the scan settings to the user, it is possible to make the user recognize a different number of candidate character strings as a character recognition result depending on the scan resolution. In addition, by outputting the number of candidate character strings according to the scan settings to the other processing block, the other processing block can perform other processing using the number of candidate character strings according to the scan resolution.

[0066] In addition, in a configuration for outputting candidate strings that have a probability of being a candidate string equal to or greater than a threshold value obtained as a recognition result, the threshold value may be set to a lower value when scanning at a low resolution than when scanning at a high resolution, thereby outputting a number of candidate strings according to the scan settings. In this way, it is possible to increase the possibility that more candidate strings can be output in the case of a low-resolution scan than in the case of a high-resolution scan, and it is possible to reduce the possibility that a user to whom the candidate strings are output or another processing block will miss extracting a string that is originally included in the image data.

[0067] The determination unit may be configured to change the number of candidate character strings to be output depending on the color settings of the scan. The recognition rate (proportion of characters correctly recognized) of the character recognition process may be lower when the color mode (scan color setting) is a monochrome scan than when the color mode is a color mode or when the color mode is a grayscale scan. When a scanner having such characteristics is provided, the determination unit may be configured to output more candidate character strings when the color mode is a low color setting than when the color mode is a high color setting. This increases the possibility that all candidate character strings can be output. The determination unit may also be configured to change the number of candidate character strings to be output according to the compression rate of the image data. The recognition rate of the character recognition process (the rate at which characters are correctly recognized) tends to decrease as the compression rate of the image data increases. Therefore, the determination unit may be configured to output more candidate character strings when the image data is compressed at a high compression rate than when the image data is compressed at a low compression rate. In this way, it is possible to increase the possibility that all candidate character strings can be output.

[0068] In the above embodiment, an example was given in which the scanning system includes a processing unit that processes the image data according to the upper designated word when the image data includes the upper designated word but does not include the lower designated word, and processes the image data according to the lower designated word instead of the upper designated word when the acquired image data includes the lower designated word, but such a processing unit may be included in a system or device other than the scanning system. The object for determining whether or not the designated word is included may be image data that has been subjected to character recognition processing, or may be text data instead of image data. By configuring a system or device that includes such a processing unit, the user can cause data that includes the upper designated word but does not include the lower designated word to be processed according to the upper designated word, and cause data that includes the lower designated word to be processed according to the lower designated word.

[0069] When the receiving unit is configured to receive a unit for separating image data into different files, the unit is not limited to one page. For example, the unit may be set to separate files in units of 10 pages. Also, for example, the unit may be set to separate files depending on whether the color of the paper of the document is a specific color or not. Also, for example, when the page numbers in the image data can be recognized and the image data is scanned so that the page numbers are in ascending order, the unit may be set to separate files after the page where the page number is reset to 1 from the page before that.

[0070] Furthermore, the present invention can also be applied as a program or method executed by a computer. For example, the present invention can also be applied as a scanning program invention that causes a computer to instruct a scanner to execute a scan according to scan settings, causes the computer to perform character recognition on image data representing an image read by the scanner, and outputs the image data and candidate character strings that are candidates for the recognized character strings, the number of which corresponds to the scan settings.

[0071] Furthermore, the present invention can also be considered as an invention of a method for producing an output product, which includes causing a scanner to execute a scan in accordance with scan settings, performing character recognition on image data representing an image read by the scanner, and producing an output product including candidate character strings that are candidates for the recognized character strings, the number of candidate character strings corresponding to the scan settings, and image data. The output product is data that is output to a user or another processing block. The output product may be in the form of a printed matter.

[0072] The above-mentioned system, program, and method may be realized as a single device or may be realized by using components of multiple devices, and include various aspects. In addition, they can be modified as appropriate, such as being partly software and partly hardware. Furthermore, the invention can also be established as a recording medium for a program that controls the system. Of course, the recording medium for the program may be a magnetic recording medium or a semiconductor memory, and any recording medium developed in the future can be considered in the same way. [Explanation of symbols]

[0073] 1...Multifunction device, 10...Processor, 11...Reception unit, 12...Acquisition unit, 13...Determination unit, 14...Processing unit, 20...Storage medium, 30...UI unit, 40...Communication unit, 50...Printing unit, 60...Reading unit (scanner), 70...FAX communication unit, F1...Shared folder, F2 to F5...Folder corresponding to specified word, b1...Save button, g1...Selection unit, g2...Selection unit, g3...Language setting unit, g4...Specified word input unit, g5...Group print setting unit, g6...Selection unit

Claims

1. 1. A scanning system comprising: a reception unit that receives scan settings and scan instructions; a scanner that, in response to receiving the scan settings and the scan instruction, operates an image sensor in accordance with the scan settings to perform a scan and read an image; a determination unit that performs character recognition on image data representing the read image and outputs a candidate character string that is a candidate for the recognized character string and the image data; Equipped with the determination unit outputs the number of candidate character strings according to the scan setting. Scanning system.

2. The scan settings include a scan resolution setting; The determination unit is outputting the candidate character string obtained as a recognition result in which the probability that the candidate character string is correct is equal to or greater than a threshold value; The threshold is lower when the image is scanned at a lower resolution than when the image is scanned at a higher resolution. The scanning system of claim 1 .

3. The reception unit receives a setting of a designated word, The scan settings include a scan resolution setting; The determination unit is outputting the candidate character string in which the number of mismatched characters between the candidate character string and the designated word is equal to or less than a predetermined number of characters; The number of characters is greater when scanned at a lower resolution than when scanned at a higher resolution. The scanning system of claim 1 .

4. The scan settings include a color setting for the scan; the determination unit outputs a larger number of the candidate character strings when the character is scanned with a color setting having a low character recognition accuracy than when the character is scanned with a color setting having a high character recognition accuracy. The scanning system of claim 1 .

5. The determination unit determines whether any of the candidate character strings matches the designated word; a processing unit that performs a process corresponding to the designated word when any of the candidate character strings matches the designated word, The scanning system of claim 3 .

6. The receiving unit receives a designation of a unit for separating the image data into different files. The scanning system of claim 1 .

7. On the computer, Instruct the scanner to perform a scan according to your scan settings, performing character recognition on image data representing the image read by the scanner; a scanning program that outputs the image data and candidate character strings that are candidates for the recognized character string, the number of the candidate character strings corresponding to the scan settings;

8. Let the scanner perform the scan according to your scan settings, performing character recognition on image data representing an image read by the scanner; producing an output including candidate character strings that are candidates for the recognized character string, the number of the candidate character strings corresponding to the scan settings, and the image data; The method of producing the output.

Citation Information

Patent Citations

  • Network communication system, program, and recording medium

    JP2005039475A

  • Scan system, program, and generation method of scan data for scan system

    JP2021145160A

  • Information processing system, information processing apparatus, and image forming apparatus

    JP2019193051A