Computer program for target device, method for controlling target device and target device
By determining target setting information for image data, the system optimizes recognition processing, reducing processing load and enhancing efficiency in image processing systems.
Patent Information
- Application Number
- JP2023060356
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-16
AI Technical Summary
Existing image processing systems face high processing loads due to the need to perform recognition processing on multiple pieces of image data without optimizing the settings for each.
A computer program that determines target setting information for generating target image data from a plurality of settings, allowing recognition processing to be focused on this optimized data, thereby reducing the overall processing load on the target device.
This approach reduces the processing load on the target device by optimizing the recognition processing to specific image data settings, improving efficiency and user convenience.
Smart Images

Figure 2024147388000001_ABST
Abstract
Description
[Technical field]
[0001] This specification discloses a technique related to a target device that processes image data. [Background technology]
[0002] Patent Document 1 discloses an image data generating device. When a scan instruction is received, the image data generating device scans a document placed on a document platen and generates image data. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2008-312133 A Summary of the Invention [Problem to be solved by the invention]
[0004] This specification provides a technique that can reduce the processing load of a target device. [Means for solving the problem]
[0005] This specification discloses a computer program for a target device. The computer program may cause a computer of the target device to function as a first acquisition unit that acquires a plurality of pieces of setting information for generating a plurality of pieces of image data from read data generated by executing reading of a document by an image reading device, a second acquisition unit that acquires the plurality of pieces of image data by using the plurality of pieces of setting information, a determination unit that determines target setting information for generating target image data, which is one piece of image data to be a target of recognition processing among the plurality of pieces of image data, from the plurality of pieces of setting information, a first recognition processing execution unit that executes the recognition processing on the target image data corresponding to the target setting information and generates first result information indicating the result of the recognition processing, and a first processing unit that processes each of the plurality of image data by using the first result information to generate each of a plurality of processed data.
[0006] According to the above configuration, the target device determines target setting information for generating target image data from among a plurality of image data, and executes recognition processing on the target image data corresponding to the target setting information. Therefore, compared to a configuration in which recognition processing is executed on each of a plurality of image data, the processing load of the target device can be reduced.
[0007] A computer-readable recording medium storing the above computer program, a target device implemented by the above computer program, and a method for controlling the target device are also novel and useful. [Brief description of the drawings]
[0008] [Figure 1] 1 shows the configuration of a communication system. [Diagram 2] 13 is an example of a screen displayed when a scan process is executed. [Diagram 3] This is a continuation of Figure 2. [Figure 4] 1 is a flowchart of image data processing executed by a PC. [Diagram 5]13 is a flowchart of a target setting information determination process executed by a PC. [Figure 6] FIG. 2 is a diagram showing an outline of a first processing treatment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] (Example) (Configuration of communication system 2; Figure 1) 1, the communication system 2 includes a PC 10 and a scanner 100. The PC 10 and the scanner 100 are connected to a LAN (abbreviation of Local Area Network) 4. The PC 10 and the scanner 100 are capable of communicating with each other via the LAN 4.
[0010] (PC10 configuration) The PC 10 may be a desktop PC or a notebook PC. The PC 10 includes an operation unit 12, a display unit 14, a communication interface 16, and a control unit 30. In the following, the interface is referred to as "I / F."
[0011] The operation unit 12 is an interface for inputting various information to the PC 10, and includes a mouse, a keyboard, and the like. The display unit 14 is a display or panel for displaying various information. The panel may or may not be a touch panel. The panel is, for example, a liquid crystal panel or an organic EL panel. The communication I / F 16 is connected to the LAN 4. The communication I / F 16 may be a wired I / F or a wireless I / F.
[0012] The control unit 30 includes a CPU 32 and a memory 34. The memory 34 is composed of a volatile memory, a non-volatile memory, etc. The memory 34 stores an Operating System (OS) program 36, an application program 38, and a scanner driver 40. Hereinafter, the OS program 36 and the application program 38 will be referred to as "OS 36" and "application 38", respectively. The CPU 32 executes various processes in accordance with the OS 36 and the application 38. The OS 36 controls the basic operation of the PC 10. The scanner driver 40 causes a scanner (e.g., the scanner 100) having a model name "MN1" to execute a scan. That is, the scanner driver 40 is a program corresponding to the scanner having the model name "MN1".
[0013] (Configuration of scanner 100) Scanner 100 is a peripheral device capable of executing a scan function. Scanner 100 may also be a multi-function device capable of executing a print function, a FAX function, etc. Scanner 100 has a model name "MN1." Scanner 100 includes an operation unit 112, a display unit 114, a communication I / F 116, a scan execution unit 118, and a control unit 130. Operation unit 112, display unit 114, and communication I / F 116 have the same functions as operation unit 12, display unit 14, and communication I / F 16, respectively.
[0014] The scan execution unit 118 includes a scanner engine having an image sensor such as a charge-coupled device (CCD) image sensor or a contact image sensor (CIS).
[0015] The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes in accordance with a program 136 stored in the memory 134. The memory 134 is configured by a volatile memory, a non-volatile memory, or the like.
[0016] (Scanning process; Figure 2, Figure 3) The scanning process realized by the communication system 2 of the present embodiment will be described with reference to Figs. 2 and 3. In Figs. 2 and 3, the process will be described mainly with the OS 36, the application 38, and the scanner driver 40, without describing the process mainly with the CPU 32 of the PC 10. The application 38 and the scanner driver 40 access each piece of hardware, such as the CPU 32, the display unit 14, the memory 34, and the communication I / F 16, via the OS 36 to execute various processes. However, in the following description, the fact that the application 38 and the scanner driver 40 execute processes via the OS 36 will be omitted as appropriate. In addition, the process will be described mainly with the scanner 100, without describing the process mainly with the CPU 132 of the scanner 100. In addition, in the following, the outer frame of the screen displayed according to the application 38 is indicated by a thick line, and the outer frame of the screen displayed according to the scanner driver 40 is indicated by a thin line.
[0017] First, the user executes a startup operation on the PC 10 to start the application 38. As a result, the OS 36 of the PC 10 supplies a startup instruction to the application 38. The application 38 starts up in response to receiving the startup instruction from the OS 36, and displays a home screen SC10 on the display unit 14. The home screen SC10 includes a scan button BT10. The scan button BT10 is a button for causing the scanner 100 to execute a scan. The home screen SC10 may include information indicating that the scanner 100 has been selected.
[0018] At T10, the user executes an operation to select the scan button BT10 on the home screen SC10 on the PC 10. This causes the application 38 to supply a display instruction to the scanner driver 40.
[0019] When the scanner driver 40 acquires a display instruction from the application 38, it displays a scan start screen (not shown) including a setting button and a scan start button on the display unit 14. When the scanner driver 40 accepts the selection of the setting button in the scan start screen, it displays a scan setting screen SC12 on the display unit 14. The scan setting screen SC12 is a screen for setting scan setting information (hereinafter simply referred to as "setting information"). The scan setting screen SC12 includes a function selection field FL10, a first setting area SA10, an OK button BT14, and a cancel button BT16. The function selection field FL10 includes a check box for selecting whether or not to use a function for generating multiple image data from one piece of read data. The read data is data generated by the scanner 100 executing reading of a document placed on the document table of the scanner 100. The read data is, for example, JPEG data or RAW data. The first setting area SA10 includes an output number setting field FL12, tab buttons TB10 and TB12, a second setting area SA12 associated with the tab buttons TB10 and TB12, and a dedicated data selection field FL14. The output number setting field FL12 is a field for setting the number of image data generated from one piece of scanned data. The dedicated data selection field FL14 is a field for selecting whether or not to generate dedicated image data used in the recognition process (S42 in FIG. 4) described later. The number of tabs included in the first setting area SA10 corresponds to the number of outputs set in the output number setting field FL12. In the scan setting screen SC12 in FIG. 2, the number of outputs "2" is set in the output number setting field FL12, so the first setting area SA10 includes two tab buttons TB10 and TB12. Among the multiple tab buttons TB10 and TB12, the tab with a white background is the selected tab. The second setting area SA12, which is displayed when the tab button TB10 is selected, is an area for setting the first setting information. The first setting information is information for generating the first image data. The second setting area SA12, which is displayed when the tab button TB12 is selected, is an area for setting the second setting information. The second setting information is information for generating the second image data.
[0020] The second setting area SA12 includes a resolution setting field FL16, a color information setting field FL18, and a color drop setting field FL20. The resolution setting field FL16 is a field for setting a setting value of the setting item "resolution". In this embodiment, "300 dpi", "600 dpi", "720 dpi", and "1200 dpi" can be set. The color information setting field FL18 is a field for setting a setting value of the setting item "color information". In this embodiment, "monochrome" and "color" can be set. The color drop setting field FL20 is a field for setting a setting value of the setting item "color drop". The setting item "color drop" is an item for setting a color not to be included in the image data. For example, when "red" is set in the color drop setting field FL20, the scanner driver 40 generates image data that does not include red parts in the read data. In this embodiment, "red", "blue", etc. can be set. In the initial state, a check is given to the function selection field FL10, and "2" is set as the number of outputs in the output number setting field FL12. In addition, the resolution setting field FL16 and the color information setting field FL18 are set to "300 dpi" and "monochrome", respectively, and the color drop setting field FL20 is empty. Furthermore, the dedicated data selection field FL14 is not checked. Furthermore, the scanner driver 40 temporarily stores the first setting information and the second scan setting information in the memory 34 when displaying the scan setting screen SC12. The first scan setting information and the second scan setting information include "300 dpi" as a setting value corresponding to the setting item "resolution" and "monochrome" as a setting value corresponding to the setting item "color information". The second setting area SA12 may include a field for selecting whether or not to generate image data that does not include a background pattern in the read data.
[0021] At T12, the user performs an operation on the PC 10 to select the tab button TB12. As a result, as shown in Fig. 3, the scanner driver 40 displays a scan setting screen SC12 for setting the second setting information on the display unit 14. The scan setting screen SC12 on the upper side of Fig. 3 is similar to the scan setting screen SC12 on the lower side of Fig. 2, except that the tab button TB12 is selected.
[0022] The user executes an operation on PC 10 in order to change the setting value corresponding to the setting item "resolution" from "300 dpi" to "600 dpi" in T20. This causes scanner driver 40 to change the setting value in resolution setting field FL16 from "300 dpi" to "600 dpi." Scanner driver 40 changes the setting value corresponding to the setting item "resolution" of the second setting information in memory 34 from "300 dpi" to "600 dpi."
[0023] At T22, the user performs an operation on PC 10 to select OK button BT14 in scan setting screen SC12. This causes scanner driver 40 to display a scan start screen. Next, the user performs an operation on PC 10 to select a scan start button in the scan start screen. This causes scanner driver 40 to transmit a scan instruction to scanner 100 at T24 to instruct scanner 100 to generate read data.
[0024] When scanner 100 receives a scan instruction from PC 10 in T24, scanner 100 generates read data by reading an original placed on the platen of scanner 100. Scanner 100 transmits the read data to PC 10 in T26.
[0025] When the scanner driver 40 of the PC 10 receives the read data from the scanner 100 in T26, it executes image data processing (FIG. 4) using the read data in T28. The image data processing is a process of generating a plurality of image data using the read data and a plurality of pieces of setting information in the memory 34. As shown in FIG. 3, when the number of outputs is set to "2" in the output number setting field FL12, first image data and second image data are generated using the first setting information and second setting information, respectively. In this way, in the communication system 2 of this embodiment, a plurality of image data are generated from one piece of read data.
[0026] (Figure 4; Image data processing) The image data processing executed by the scanner driver 40 of the PC 10 will be described with reference to Fig. 4. When the scanner driver 40 receives read data from the scanner 100, the scanner driver 40 starts the processing of Fig. 4.
[0027] In S10, the scanner driver 40 acquires a plurality of pieces of setting information from the memory .
[0028] In S12, the scanner driver 40 judges whether or not to generate dedicated image data. If the dedicated data selection field FL14 (see FIG. 3) in the scan setting screen SC12 is checked, the scanner driver 40 judges YES in S12 and proceeds to S40. On the other hand, if the dedicated data selection field FL14 is not checked in the scan setting screen SC12, the scanner driver 40 judges NO in S12 and proceeds to S14.
[0029] In S14, the scanner driver 40 executes a target setting information determination process (FIG. 5) which is a process for determining target setting information. The target setting information is determined from among the multiple pieces of setting information acquired in S10 (hereinafter, referred to as "multiple pieces of acquired setting information"). The target setting information is setting information for generating image data that is most suitable for a recognition process, which will be described later, from among the multiple pieces of acquired setting information, and is used to generate target image data in S20.
[0030] In S20, the scanner driver 40 generates target image data using the read data and the target setting information.
[0031] In S22, the scanner driver 40 executes a recognition process on the target image data generated in S20. The recognition process includes a character recognition process for recognizing characters included in the image represented by the target image data, and a character direction recognition process for recognizing the direction of the characters recognized by the character recognition process. The scanner driver 40 generates character information indicating characters included in the image represented by the target image data by the character recognition process, and generates direction information indicating the direction of characters included in the image represented by the target image data by the character direction recognition process. The recognition process includes a code recognition process for recognizing a code image when the image represented by the target image data includes the code image. The scanner driver 40 generates code information obtained by decoding the code image included in the image represented by the target image data by the code recognition process. The code image is a two-dimensional code such as a one-dimensional barcode or a QR code. QR code is a registered trademark of DENSO WAVE INCORPORATED.
[0032] In S24, the scanner driver 40 stores the first result information generated by the recognition process in S22 in the memory 34. The first result information includes character information and orientation information. If the recognition process in S22 includes a code recognition process, the first result information further includes code information.
[0033] In S26, the scanner driver 40 generates non-target image data. The scanner driver 40 identifies one or more pieces of setting information other than the target setting information from the multiple pieces of setting information already acquired, and generates one or more pieces of non-target image data using each of the one or more pieces of setting information already identified.
[0034] In S28, the scanner driver 40 executes a first processing process on the target image data and one or more non-target image data to generate a plurality of processed data. The first processing process includes an addition process of adding character information in the first result information to each of the target image data and one or more non-target image data. When the first result information includes code information, the addition process further includes a process of adding code information in the first result information to each of the target image data and one or more non-target image data. The first processing process may further include a rotation process of rotating each of the target image data and one or more non-target image data according to the orientation information in the first result information. The rotation process will be described with reference to FIG. 6. The scanner driver 40 rotates the image data so that the characters "abc" included in the image represented by the target image data are upright. When the orientation of the characters "abc" included in the image represented by the target image data is landscape (the second target image data from the left in FIG. 6, and the rightmost target image data in FIG. 6) or when the orientation of the characters "abc" is opposite to upright (the third target image data from the left in FIG. 6), the scanner driver 40 rotates the target image data so that the orientation of the characters "abc" becomes upright. For example, for the second target image data from the left in FIG. 6, a rotation process is performed to rotate the target image data 90° to the right. On the other hand, when the orientation of the characters "abc" included in the image represented by the target image data is upright (the leftmost target image data in FIG. 6), the scanner driver 40 does not perform a rotation process.
[0035] 5, the scanner driver 40 outputs a plurality of pieces of processed data to the application 38. When the application 38 acquires the plurality of pieces of processed data from the scanner driver 40, the application 38 stores the plurality of pieces of processed data in the memory 34.
[0036] Furthermore, in S40, if the answer is YES in S12, the scanner driver 40 generates dedicated image data using the read data and the dedicated setting information. The dedicated setting information is setting information for generating dedicated image data suitable for recognition processing. The dedicated setting information includes a setting value "600 dpi" corresponding to the setting item "resolution" and a setting value "monochrome" corresponding to the setting item "color image". The dedicated setting information is pre-stored in the memory 34.
[0037] The recognition process in S42 is similar to S22, except that it is a process performed on dedicated image data. The second result information in S44 is similar to the first result information in S42, except that it is information obtained based on dedicated image data.
[0038] In S46, the scanner driver 40 generates non-target image data. In S46, the scanner driver 40 generates a plurality of non-target image data by using each of the plurality of pieces of setting information that have been acquired.
[0039] In S48, the scanner driver 40 executes a second processing process on the multiple non-target image data to generate multiple processed data. The second processing process is similar to the first processing process in S28, except that the second result information is used and the processing is executed on the multiple non-target image data. Note that the scanner driver 40 does not execute the second processing process on the dedicated image data. In other words, the dedicated image data is not processed using the second result information.
[0040] In S30 after passing through S48, the scanner driver 40 outputs the multiple pieces of processed data generated in S48 to the application 38. In S30, the scanner driver 40 erases the dedicated image data without outputting it to the application 38.
[0041] When using dedicated image data, the reliability of the recognition process can be improved, but the processing load on the PC 10 can be increased. With the above configuration, the user can select whether or not to use dedicated image data. Therefore, the user can select whether or not to use dedicated image data depending on the current processing load of the PC 10, etc. Therefore, user convenience is improved.
[0042] (Figure 5: Target setting information determination process) The target setting information determination process executed in S14 in FIG. 4 will be described with reference to FIG. 5. In S60, the scanner driver 40 judges whether the acquired multiple pieces of setting information include setting information for generating image data representing a monochrome image. Specifically, the scanner driver 40 judges whether the acquired multiple pieces of setting information include setting information corresponding to the setting value "monochrome". If the acquired multiple pieces of setting information include setting information corresponding to the setting value "monochrome" (YES in S60), the scanner driver 40 proceeds to S62. On the other hand, if the acquired multiple pieces of setting information do not include setting information corresponding to the setting value "monochrome" (NO in S60), the scanner driver 40 proceeds to S80. Note that the case where NO is judged in S60 is when all of the setting values corresponding to the setting item "color information" included in the acquired multiple pieces of setting information are "color".
[0043] In S62, the scanner driver 40 judges whether or not one or more pieces of setting information including the setting value "monochrome" include setting information for generating image data having a resolution within a predetermined range. The resolution within the predetermined range is, for example, 600 dpi to 720 dpi. Specifically, the scanner driver 40 judges whether or not the one or more pieces of setting information include a setting item "resolution" corresponding to a resolution (i.e., a setting value) within the predetermined range. If the one or more pieces of setting information include a setting item "resolution" corresponding to a resolution within the predetermined range (YES in S62), the scanner driver 40 proceeds to S64. On the other hand, if the one or more pieces of setting information do not include a setting item "resolution" corresponding to a resolution within the predetermined range (YES in S62), the scanner driver 40 proceeds to S70.
[0044] In S64, the scanner driver 40 specifies, as the target setting information, setting information that includes "monochrome" as a setting value corresponding to the setting item "color information" and that includes a resolution within a predetermined range as a setting value corresponding to the setting item "resolution." When S64 ends, the scanner driver 40 ends the processing of FIG. 5.
[0045] In S70, the scanner driver 40 specifies, as the target setting information, the setting information including the highest resolution indicated by the setting value corresponding to the setting item "resolution" from among one or more pieces of setting information including "monochrome" as the setting value corresponding to the setting item "color information". When the scanner driver 40 ends S70, it ends the process of FIG. 5.
[0046] As described above, the scanner driver 40 determines the setting information including the setting value "monochrome" as the target setting information. Compared to color images, monochrome images make it easier to recognize character contours, etc. Therefore, by using monochrome images, the accuracy of the recognition process can be improved.
[0047] As described above, the scanner driver 40 determines, as the target setting information, setting information including a resolution whose setting value corresponding to the setting item "resolution" is within a predetermined range. The higher the image resolution, the easier it is to recognize character contours, etc. However, when the image resolution is high, the time required for recognition processing also becomes longer. Furthermore, the processing load on the PC 10 also becomes higher. By using setting information including a resolution within a predetermined range, it is possible to shorten the time required for recognition processing while ensuring the accuracy of the recognition processing. Furthermore, the processing load on the PC 10 can be reduced.
[0048] S80 is the same as S62, except that a plurality of pieces of setting information including the setting item "color" are used. If the scanner driver 40 determines YES in S80, it proceeds to S82, and if the scanner driver 40 determines NO in S80, it proceeds to S90.
[0049] In S82, the scanner driver 40 specifies, as the target setting information, setting information that includes "color" as a setting value corresponding to the setting item "color information" and that includes a resolution within a predetermined range as a setting value corresponding to the setting item "resolution." When the scanner driver 40 ends S82, it ends the processing of FIG. 5.
[0050] In S90, the scanner driver 40 specifies, as the target setting information, the setting information including the highest resolution indicated by the setting value of the setting item "resolution" from among a plurality of setting information including "color" as the setting value corresponding to the setting item "color information". When the scanner driver 40 ends S90, it ends the process of FIG. 5.
[0051] 2 and 3, a case will be described in which the first setting information includes "300 dpi" as a setting value corresponding to the setting item "resolution" and "monochrome" as a setting value corresponding to the setting item "color image", and the second setting information includes "600 dpi" as a setting value corresponding to the setting item "resolution" and "monochrome" as a setting value corresponding to the setting item "color image". In this case, the scanner driver 40 judges that the two pieces of setting information already acquired include setting information including the setting value "monochrome" (YES in S60), and judges that one or more pieces of setting information including the setting value "monochrome" (i.e., the second setting information) include the setting item "resolution" corresponding to a resolution within a predetermined range (S62). In this case, the scanner driver 40 specifies the second setting information including "monochrome" as a setting value corresponding to the setting item "color information" and including "600 dpi" as a setting value corresponding to the setting item "resolution" as the target setting information. Then, the processing from S20 onwards in FIG. 4 is executed using the second setting information.
[0052] (Effects of this embodiment) According to the above configuration, the PC 10 determines the target setting information for generating the target image data from among the multiple image data (S14 in FIG. 4, FIG. 5), and executes the recognition process for the target image data corresponding to the target setting information (S22). Therefore, the processing load of the PC 10 can be reduced compared to a configuration in which the recognition process is executed for each of the multiple image data.
[0053] (Correspondence) PC 10 and scanner 100 are examples of a "target device" and an "image reading device," respectively. Setting information that includes "monochrome" as a setting value for the setting item "color image" is an example of "first setting information." Setting information that includes a resolution within a predetermined range as a setting value for the setting item "resolution" is an example of "second setting information." PC 10 is an example of a "terminal device."
[0054] S10 in FIG. 4 is an example of processing executed by a "first acquisition unit." S20 and S26 in FIG. 4 are examples of processing executed by a "second acquisition unit." S14 in FIG. 4 is an example of processing executed by a "determination unit." S22 and S24 in FIG. 4 are examples of processing executed by a "first recognition processing execution unit." S28 in FIG. 4 is an example of processing executed by a "first processing unit."
[0055] Although specific examples of the present invention have been described above in detail, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and alterations of the specific examples exemplified above. Modifications of the above-mentioned embodiments are listed below.
[0056] (First Modification) As a setting value corresponding to the setting item "color information", any one of "monochrome", "grayscale", and "color" may be selectable. The setting value "grayscale" indicates printing expressed in 256 gradations from black to white. In this modification, when the result of S60 in FIG. 5 is NO, the scanner driver 40 determines whether the acquired multiple pieces of setting information include the setting item "color information" corresponding to the setting value "grayscale", and proceeds to S80 if the acquired multiple pieces of setting information do not include the setting item "color information" corresponding to the setting value "grayscale". On the other hand, when the acquired multiple pieces of setting information include the setting item "color information" corresponding to the setting value "grayscale", the scanner driver 40 executes a process similar to S62 to determine the target setting information.
[0057] (Second Modification) It is possible to omit S60 in Fig. 5. In this modification, the scanner driver 40 determines the target setting information by focusing only on the setting value corresponding to the setting item "resolution".
[0058] (Third Modification) When a color image is more suitable for processing executed in the recognition process than a monochrome image, the scanner driver 40 may determine whether the acquired multiple pieces of setting information include setting information for generating image data representing a color image in S60 of Fig. 5. In this modification, setting information that includes "color" as a setting value for the setting item "color information" is an example of the "first setting information".
[0059] (Fourth Modification) S62, S70, S80, and S90 in Fig. 5 can be omitted. In this case, the scanner driver 40 may determine, in S64, any one of the one or more pieces of setting information including the setting value "monochrome" as the target setting information, or may determine, in S82, the setting information having the highest resolution among the one or more pieces of setting information including the setting value "monochrome" as the target setting information. Also, the scanner driver 40 may determine, in S82, any one of the multiple pieces of setting information including the setting value "color" as the target setting information, or may determine, in S82, the setting information having the highest resolution among the multiple pieces of setting information including the setting value "color" as the target setting information.
[0060] (Fifth Modification) The scan setting screen SC12 does not have to have the dedicated data selection field FL14. In this modification, S12 and S40 to S48 in Fig. 4 can be omitted. In this modification, the "second recognition processing execution unit" and the "second processing unit" can be omitted.
[0061] (Sixth Modification) When the result of S80 is NO, the scanner driver 40 may automatically determine to use the dedicated setting information. In this modification, S12 in FIG. 4 and S90 in FIG. 5 can be omitted.
[0062] (Seventh Modification) The first result information and the second result information may include at least one of character information, orientation information, and barcode information. Here, "at least one of character information, orientation information, and barcode information" means any one of the following three pieces of information: character information, orientation information, barcode information, two pieces of information of character information and orientation information, two pieces of information of character information and barcode information, two pieces of information of orientation information and barcode information, and three pieces of information of character information, orientation information, and barcode information.
[0063] (Eighth Modification) The scanner 100 may execute the image data processing of FIG. 4 and the target setting information determination processing of FIG. 5. In this modification, when the scanner driver 40 of the PC 10 accepts the selection of the scan start button in the scan start screen, it transmits a scan instruction including a plurality of pieces of setting information to the scanner 100. When the scanner 100 acquires the scan instruction from the PC 10, it generates read data by executing reading of the document placed on the document table of the scanner 100, and executes the image data processing of FIG. 4 and the target setting information determination processing of FIG. 5 using the read data and the plurality of pieces of setting information that have been received. When the scanner 100 generates a plurality of pieces of processed data (S28, S48), it transmits the plurality of pieces of processed data to the scanner 100 in S30. When the scanner driver 40 of the scanner 100 receives a plurality of pieces of processed data from the PC 10, it supplies the plurality of pieces of processed data to the application 38. In this modification, the scanner 100 is an example of a "target device." In this modified example, the "storage control unit", "receiving unit", and "generating unit" can be omitted.
[0064] (Ninth Variation) Scanner 100 may be configured to display scan setting screen SC12 of Fig. 2 and Fig. 3. In this variation, when scanner 100 accepts selection of OK button BT14 on scan setting screen SC12, it executes image data processing of Fig. 4 and target setting information determination processing of Fig. 5. In this variation, scanner 100 acquires from memory 134 in S10 a plurality of setting information set on scan setting screen SC12. The content of the processing executed thereafter is the same as the processing executed in the eighth variation. In this variation, scanner 100 is an example of a "target device."
[0065] (Tenth Modification) In the embodiment, the application 38 is described as a so-called native application installed on the PC 10, but the application 38 may be a web application or a cloud application. The application 38 may be an application realized by a combination of at least two of a native application, a web application, and a cloud application. The above combinations include, for example, a combination of a native application and a web application (a so-called hybrid application), a combination of a native application and a cloud application, a combination of a web application and a cloud application, or a combination of a native application, a web application, and a cloud application.
[0066] (Eleventh Modification) In the embodiment, the application 38 shares the processing with the scanner driver 40, but the application 38 may be configured to perform the processing performed by the scanner driver 40 in addition to the processing performed by the application 38. In the case of this modification, the "terminal device" may be a smartphone or a tablet terminal instead of a PC.
[0067] (Twelfth Modification) In the above embodiment, the processes in FIGS. 2 to 6 are realized by software (for example, programs 36, 38, 40, 136), but at least one of these processes may be realized by hardware such as a logic circuit.
[0068] In addition, the technical elements described in this specification or drawings exert technical utility alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technologies exemplified in this specification or drawings achieve multiple objectives simultaneously, and achieving one of those objectives is itself technically useful.
[0069] In the scope of the claims at the time of filing of this patent application, even if each claim is dependent on only some of the claims, it is not limited to the fact that each claim can be dependent on only those some of the claims. Each claim can also be dependent on other claims that are not dependent on it at the time of filing to the extent that there is no technical contradiction. In other words, the technology of each claim can be combined in various ways as follows: (Item 1) A computer program for a target device, comprising: The computer program causes a computer of the target device to a first acquisition unit that acquires a plurality of pieces of setting information for generating a plurality of pieces of image data from read data generated by an image reading device reading an original; a second acquisition unit that acquires the plurality of image data by utilizing the plurality of pieces of setting information; A determination unit that determines, from the plurality of pieces of setting information, target setting information for generating target image data that is one piece of image data that is a target of recognition processing among the plurality of image data; a first recognition processing execution unit that executes the recognition processing on the target image data corresponding to the target setting information and generates first result information indicating a result of the recognition processing; a first processing unit that processes each of the plurality of image data using the first result information to generate each of a plurality of processed data; A computer program that functions as a (Item 2) The computer program according to item 1, wherein the determination unit determines the first setting information as the target setting information when the plurality of setting information includes first setting information for generating image data representing a monochrome image. (Item 3) The computer program according to item 1 or 2, wherein the determination unit determines the second setting information as the target setting information when the plurality of setting information includes second setting information for generating image data having a resolution within a predetermined range. (Item 4) The computer program further causes the computer to a second recognition processing execution unit that executes the recognition processing on the dedicated image data, the dedicated image data being dedicated for the recognition processing, when a user selects to use the dedicated image data generated from the read data, and generates second result information indicating a result of the recognition processing; a second processing unit that processes each of the plurality of image data by using the second result information to generate each of a plurality of processed data, and the dedicated image data is not processed by using the second result information; If the user does not select to utilize the dedicated image data, The determination unit determines the target setting information from the plurality of pieces of setting information; the first recognition processing execution unit executes the recognition processing on the target image data; 4. The computer program according to any one of items 1 to 3, wherein the first processing unit processes each of the plurality of image data by using the first result information. (Item 5) 5. The computer program of claim 1, wherein the recognition process includes character recognition. (Item 6) the first result information includes character information indicating characters included in an image represented by the target image data, 6. The computer program according to item 5, wherein the first processing unit adds the character information to each of the plurality of image data. (Item 7) the first result information includes orientation information indicating an orientation of characters included in an image represented by the target image data; 7. The computer program according to item 5 or 6, wherein the first processing unit rotates each of the plurality of image data in accordance with the orientation information. (Item 8) The computer program further causes the computer to When the plurality of pieces of setting information are set by a user, the plurality of pieces of setting information are caused to function as a storage control unit that stores the plurality of pieces of setting information in a memory of the target device; 8. The computer program according to claim 1, wherein the first acquisition unit acquires the plurality of pieces of setting information in the memory. (Item 9) the target device is a terminal device, The computer program further causes the computer to a receiving unit that receives the read data from the image reading device; a generating unit that generates each of the plurality of image data by using the read data and the plurality of pieces of setting information; 2. The computer program according to item 1, (Item 10) 1. A method for controlling a target device, comprising: a first acquisition step of acquiring a plurality of pieces of setting information for generating a plurality of pieces of image data from read data generated by an image reading device reading an original; a second acquisition step of acquiring the plurality of image data by utilizing the plurality of pieces of setting information; a determination step of determining, from the plurality of pieces of setting information, target setting information for generating target image data which is one piece of image data to be subjected to recognition processing among the plurality of pieces of image data; a first recognition processing execution step of executing the recognition processing on the target image data corresponding to the target setting information and generating first result information indicating a result of the recognition processing; a first processing step of processing each of the plurality of image data using the first result information to generate each of a plurality of processed data; A method comprising: (Item 11) A target device, a first acquisition unit that acquires a plurality of pieces of setting information for generating a plurality of pieces of image data from read data generated by an image reading device reading an original; a second acquisition unit that acquires the plurality of image data by utilizing the plurality of pieces of setting information; A determination unit that determines, from the plurality of pieces of setting information, target setting information for generating target image data that is one piece of image data that is a target of recognition processing among the plurality of image data; a first recognition processing execution unit that executes the recognition processing on the target image data corresponding to the target setting information and generates first result information indicating a result of the recognition processing; a first processing unit that processes each of the plurality of image data using the first result information to generate each of a plurality of processed data; A target device comprising: [Explanation of symbols]
[0070] 2: communication system, 10: PC, 12: operation unit, 14: display unit, 16: communication I / F, 30: control unit, 32: CPU, 34: memory, 36: OS program, 38: application program, 40: scanner driver, 100: scanner, 112: operation unit, 114: display unit, 116: communication I / F, 118: scan execution unit, 130: control unit, 132: CPU, 134: memory, 136: program
Claims
1. A computer program for a target device, comprising: The computer program causes a computer of the target device to a first acquiring unit that acquires a plurality of pieces of setting information for generating a plurality of pieces of image data from read data generated by an image reading device reading a document; a second acquisition unit that acquires the plurality of image data by utilizing the plurality of pieces of setting information; a determination unit that determines, from the plurality of pieces of setting information, target setting information for generating target image data that is one piece of image data that is a target of recognition processing among the plurality of pieces of image data; a first recognition processing execution unit that executes the recognition processing on the target image data corresponding to the target setting information and generates first result information indicating a result of the recognition processing; a first processing unit that processes each of the plurality of image data by using the first result information to generate each of a plurality of processed data; A computer program that functions as a
2. The computer program product according to claim 1 , wherein the determination unit determines, when the plurality of pieces of setting information includes first setting information for generating image data representing a monochrome image, the first setting information as the target setting information.
3. The computer program product according to claim 1 , wherein the determination unit determines, when the plurality of pieces of setting information includes second setting information for generating image data having a resolution within a predetermined range, the second setting information as the target setting information.
4. The computer program further causes the computer to a second recognition processing execution unit that executes the recognition processing on the dedicated image data, the dedicated image data being dedicated for the recognition processing, when a user selects to use the dedicated image data generated from the read data, and generates second result information indicating a result of the recognition processing; a second processing unit that processes each of the plurality of image data by using the second result information to generate each of a plurality of processed data, and the dedicated image data is not processed by using the second result information; If the user does not select to utilize the dedicated image data, The determination unit determines the target setting information from the plurality of pieces of setting information; the first recognition processing execution unit executes the recognition processing on the target image data; The computer program product according to claim 1 , wherein the first processing unit processes each of the plurality of image data by using the first result information.
5. The computer program product of claim 1 , wherein the recognition process includes a character recognition process.
6. the first result information includes character information indicating characters included in an image represented by the target image data, The computer program product according to claim 5 , wherein the first processing unit adds the character information to each of the plurality of image data.
7. the first result information includes orientation information indicating an orientation of characters included in an image represented by the target image data; The computer program product according to claim 5 , wherein the first processing unit rotates each of the plurality of image data in accordance with the orientation information.
8. The computer program further causes the computer to When the plurality of pieces of setting information are set by a user, the plurality of pieces of setting information are caused to function as a storage control unit that stores the plurality of pieces of setting information in a memory of the target device; The computer program product according to claim 1 , wherein the first acquisition unit acquires the plurality of pieces of setting information in the memory.
9. the target device is a terminal device, The computer program further causes the computer to a receiving unit that receives the read data from the image reading device; a generating unit that generates each of the plurality of image data by using the read data and the plurality of pieces of setting information; The computer program product of claim 1 .
10. 1. A method for controlling a target device, comprising: a first acquisition step of acquiring a plurality of pieces of setting information for generating a plurality of pieces of image data from read data generated by executing reading of a document by an image reading device; a second acquisition step of acquiring the plurality of image data by using the plurality of pieces of setting information; a determining step of determining, from the plurality of pieces of setting information, target setting information for generating target image data which is one piece of image data to be subjected to recognition processing among the plurality of pieces of image data; a first recognition processing execution step of executing the recognition processing on the target image data corresponding to the target setting information to generate first result information indicating a result of the recognition processing; a first processing step of processing each of the plurality of image data by using the first result information to generate each of a plurality of processed data; A method comprising:
11. A target device, a first acquiring unit that acquires a plurality of pieces of setting information for generating a plurality of pieces of image data from read data generated by an image reading device reading a document; a second acquisition unit that acquires the plurality of image data by utilizing the plurality of pieces of setting information; a determination unit that determines, from the plurality of pieces of setting information, target setting information for generating target image data that is one piece of image data that is a target of recognition processing among the plurality of pieces of image data; a first recognition processing execution unit that executes the recognition processing on the target image data corresponding to the target setting information and generates first result information indicating a result of the recognition processing; a first processing unit that processes each of the plurality of image data by using the first result information to generate each of a plurality of processed data; A target device comprising:
Citation Information
Patent Citations
Image data generation device, image data generation method, and image data generation program
JP2008312133A
