Image forming apparatus, control method thereof, and program
An image forming apparatus uses a machine learning model to estimate and correct chapter insertion points, addressing the issue of incorrect user settings and ensuring accurate document formatting.
Patent Information
- Application Number
- JP2020127704
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-07-28
- Publication Date
- 2024-08-20
- Estimated Expiration
- 2040-07-28
AI Technical Summary
Existing image forming apparatuses lack the ability to accurately determine the correct page break positions for inserting chapter sheets, leading to potential errors if users incorrectly set the insertion points.
The apparatus employs a machine learning model trained to estimate chapter or section positions in a manuscript, comparing user-inputted insertion points with estimated break positions and providing feedback for corrections.
The system accurately identifies incorrect chapter insertion points and suggests corrections, ensuring the printed material aligns with the user's intentions.
Smart Images

Figure 0007536546000006 
Figure 0007536546000012 
Figure 0007536546000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an image forming apparatus that forms an image for a copy job, and more particularly to an image forming apparatus and control system that are capable of feeding chapter paper (or tab sheets) and printing title items on the chapter paper. [Background technology]
[0002] An example of a function that an image forming apparatus can have is a chapter paper insertion function that inserts a chapter paper different from the printed matter at a specific page during a copy operation.
[0003] This chapter paper insertion function can be executed by arbitrarily specifying the page number where the chapter paper is to be inserted before executing the job. Methods for specifying a page and inputting it to an image forming device are known, such as in Patent Document 1 (Patent Document 1). In addition, although not described in Patent Document 1, it is also known to insert different chapter papers according to the hierarchy of chapters or sections of a document.
[0004] However, the selection of the page to be inserted is left to the user, and the user must check the contents of the manuscript and decide which page to insert. Therefore, if the user does not correctly input the page where the chapter paper is to be inserted, the printed matter will not be what the user intended. Therefore, if the user has made a mistake in setting the page where the chapter paper is to be inserted, it is desirable to be able to point out the mistake and correct the setting. Patent Document 2 describes an image forming device that can selectively insert multiple types of chapter paper, and that can point out to the user the possibility of a setting error when the settings for the chapter paper insertion locations are in a combination that is normally impossible (Patent Document 2). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Patent Publication No. 2005-182757 [Patent Document 2] Patent Publication No. 2008-28670 Summary of the Invention [Problem to be solved by the invention]
[0006] However, the technology in Patent Document 2 can estimate an input error when there is a discrepancy in the information entered by the user, but does not estimate whether the entered information matches the page break positions of the stack of manuscripts. Therefore, if the user counts the break positions of the stack of manuscripts incorrectly, the chapter paper will be inserted at the wrong page. [Means for solving the problem]
[0007] In order to solve the above problem, one embodiment of the present invention includes a reading means for reading a document having sentences separated by chapters or paragraphs, a storage means for storing a trained model for estimating separation positions from an image, a separation estimation processing means for estimating separation positions of the document from an image obtained by the reading using the trained model, and a determination means for making a determination regarding the insertion of paper based on a result of the estimation by the separation estimation processing means. means for receiving an instruction from a user as to where to insert paper; means for determining whether the location where the instruction is received differs from the estimated separator position; and display means for displaying information based on the result of the determination when it is determined that they differ. has. Effect of the Invention
[0008] According to one embodiment of the present invention, the image forming device estimates the division positions of chapters and sections in a document, and even if a user sets the chapter paper to be inserted in an incorrect position, the error is pointed out and can be corrected. [Brief description of the drawings]
[0009] [Figure 1] System configuration of the present invention [Diagram 2] Hardware configuration of image forming device [Diagram 3] Diagram showing the configuration of a machine learning server [Figure 4] Software configuration diagram [Diagram 5] Conceptual diagram showing the input / output structure using the learning model in the machine learning section [Figure 6]A diagram showing details of the training data [Figure 7] A diagram explaining pre-processing of manuscript data before learning [Figure 8] A diagram explaining the manuscript data used for learning [Figure 9] A diagram explaining the operation flow when performing a copy operation while inserting chapter paper using a trained model. [Figure 10] Detailed explanation of input information confirmation process for chapter paper insertion location [Figure 11] Example of an explanatory diagram of a list showing where to insert chapters [Figure 12] Example of a screen suggesting corrections to users DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present invention will be described.
[0011] The configuration of the device and the control procedure described in the present embodiment are examples for explaining the proposed content, and the present invention is not limited to the described content. EXAMPLES
[0012] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an image forming apparatus according to the present invention will be described with reference to the drawings.
[0013] <System configuration diagram> FIG. 1 is a diagram showing a system to which the present invention can be applied. The system is composed of an image forming apparatus 101 such as a printer, a multifunction machine, or a fax machine, a machine learning server 102, a data server 105, and a general-purpose computer 103 that transmits print data to the image forming apparatus 101. These devices are connected by a network 104 such as a wired LAN. The image forming apparatus 101 is equipped with an AI function, and the machine learning server 102 plays a central role in generating a trained model for realizing this AI function. The data server has a role of collecting training data used for machine learning in the machine learning server from an external device and providing it to the machine learning server. The image forming apparatus 101 can realize a specific AI function by receiving the generated trained model from the machine learning server at any time and further storing the received model. In addition, the machine learning server 102 receives training data required for training the trained model for realizing a specific AI function from external devices such as the data server 105, the image forming apparatus 101, and the general-purpose computer 103. Then, it is possible to perform a learning process using a part or all of the data.
[0014] A feature of the system of the present invention is that manuscript data read by the image forming device 101 is collected in the data server 105, and the data is learned by the machine learning server 102 to generate a learning model. The image forming device 101 is equipped with an AI function that utilizes a learning model that estimates the correct page order loaded from the machine learning server 102.
[0015] <Image forming device-controller configuration> FIG. 2 is a diagram showing a hardware configuration of the image forming apparatus 101 constituting the system of FIG.
[0016] The image forming apparatus 101 has an operation unit 140 that allows a user to perform various operations, a scanner unit 10 that reads image information according to instructions from the operation unit 140, and a printer unit 20 that prints image data on paper. The scanner unit 10 has a CPU that controls the scanner unit 10, and a lighting lamp and a scanning mirror (not shown) for reading an original. The printer unit 20 has a CPU that controls the printer unit, and a photoconductor drum and a fixing unit (not shown) for forming and fixing an image. The image forming apparatus 101 also has a controller 1200 that comprehensively controls the operations of the image forming apparatus connected to the scanner unit 10, the printer unit 20, the LAN 104, the public line (WAN) 3001, and the wireless LAN 106.
[0017] The inside of the controller 1200 will be described in detail with reference to Fig. 2. The controller 1200 has a raster image processor (RIP) 1260 that converts PDL code included in a print job received from the general-purpose computer 103 on the LAN via the LAN 104 into a bitmap image. The controller 1200 also has a scanner image processing unit 1280 that corrects, processes, and edits image data input from the scanner unit 10. The controller 1200 also has a printer image processing unit 1290 that corrects, converts resolution, and the like, for image data to be output (printed) by the printer unit 20, and an image rotation unit 1230 that rotates the image data.
[0018] The controller 1200 also has an image compression unit 1240 that performs compression and decompression processing of multi-value image data in JPEG and binary image data in JBIG, MMR, or MH. The controller 1200 also has a device I / F 1220 that connects the scanner unit 10 and printer unit 20 to the controller 1200 and performs synchronous / asynchronous conversion of image data. The controller 1200 further includes an image bus 2008 that connects these to each other and transfers image data at high speed.
[0019] The controller 1200 also has a CPU 1201 as a control unit that comprehensively controls the image forming apparatus 101. The controller 1200 also has a RAM 1202 that is a system work memory for the operation of the CPU 1201 and is also an image memory for temporarily storing image data. The controller 1200 also outputs image data to be displayed on the operation unit 140 to the operation unit 140 via an interface unit 1206 with the operation unit 140. The operation unit I / F 1206 also has a role of transmitting information input from the operation unit 140 by a user who uses the image forming apparatus to the CPU 1201. The controller 1200 also has a network unit 1210 that is connected to the LAN 104 and communicates (transmits and receives) with the general-purpose computer 103 and other computer terminals (not shown) on the LAN 104. The controller 1200 also has a modem unit 1211 that is connected to the public line 3001 and communicates (transmits and receives) data with an external facsimile device (not shown). The controller 1200 also includes a wireless communication I / F 1270 for connecting to an external terminal via wireless 106. The controller 1200 also includes a ROM 1203 in which a boot program executed by the CPU 1201 is stored, and a hard disk drive (HDD) 1204 in which system software, image data, software counter values, etc. The controller 1200 also includes an internal communication I / F 1208 that communicates with the scanner unit 10 and the printer unit 20, respectively, and a system bus 1207 that connects these together.
[0020] The controller 1200 includes an ImageBus I / F 1205 that connects a system bus 1207 and an image bus 1212 and functions as a bus bridge for converting data structures.
[0021] The controller 1200 records and manages, in the HDD 1204 or RAM 1202, the history of job execution as job log information, such as the user name, number of copies to be printed, color printing, and output attribute information when a print or copy job is executed.
[0022] Since the GPU 1291 can perform efficient calculations by processing more data in parallel, it is effective to use the GPU 1291 for processing when performing learning multiple times using a learning model such as deep learning. Therefore, in the first embodiment, the GPU 1291 is used in addition to the CPU 1201 for processing by the machine learning unit 414. Specifically, when a learning program including a learning model is executed, the CPU 1201 and the GPU 1291 cooperate to perform calculations to perform learning. Note that the processing of the machine learning unit 414 may be performed by only the CPU 1201 or the GPU 1291. The estimation processing unit 405 may also use the GPU 1291 like the machine learning unit 414.
[0023] <Machine learning server> FIG. 3 is a diagram showing the configuration of a machine learning server.
[0024] Each of the devices is configured to include a CPU 1301 , a RAM 1302 , a ROM 1303 , a hard disk drive (HDD) 1304 , a network unit 1310 , an IO unit 1305 , and a GPU 1306 , all of which are connected to one another via a system bus 1207 .
[0025] The CPU 1301 provides various functions by reading and executing programs such as an OS (Operating System) and application software from the HDD 1304. The RAM 1302 is a system work memory when the CPU 1301 executes the programs. The ROM 1303 stores a BIOS (Basic Input Output System) and programs and setting files for starting the OS. The HDD 1304 is a hard disk drive, and stores system software and the like. The network unit 1310 is connected to a network 104 such as a wired LAN, and communicates (transmits and receives) with external devices such as the image forming apparatus 101. The IO unit 1305 is an interface for inputting and outputting information to and from an operation unit (not shown) that is composed of a liquid crystal display input / output device equipped with a multi-touch sensor or the like. Predetermined information is drawn on the operation unit with a predetermined resolution, number of colors, and the like based on screen information instructed by a program. For example, a GUI (Graphical User Interface) screen is formed, and various windows and data required for operation are displayed.
[0026] Since the GPU 1306 can perform efficient calculations by processing more data in parallel, it is effective to use the GPU 1306 for processing when performing learning multiple times using a learning model such as deep learning. Therefore, in the first embodiment, the GPU 1306 is used in addition to the CPU 1301 for processing by the machine learning unit 414. Specifically, when executing a learning program including a learning model, the CPU 1301 and the GPU 1306 cooperate to perform calculations to perform learning. Note that the processing of the machine learning unit 414 may be performed only by the CPU 1301 or the GPU 1306. The estimation processing unit 405 may also use the GPU 1306 like the machine learning unit 414.
[0027] The use of the GPU 1291 of the image forming apparatus 101 will be described.
[0028] The computational resources of the GPU are effectively utilized according to the load required for network communication and GPU processing, the power saving mode of the image forming apparatus 101, etc. For example, when the image forming apparatus 101 transitions to the power saving mode, the GPU on the machine learning server 102 side can be actively utilized.
[0029] <Software configuration of the system of the present invention> Fig. 4 is a diagram showing a software configuration (400) realized by using the hardware resources and programs shown in the hardware configuration diagram of Fig. 2. The programs for realizing the software configuration shown in the diagram are stored in storage for each component, and are read into RAM and executed by the CPU. For example, in the image forming apparatus 101, the programs are stored in the HDD 1204, read into RAM 1202, and executed by the CPU 1201. The same applies to the machine learning server 102 and the data server 105 (not shown).
[0030] The illustrated software configuration is for enabling the system of the present invention to realize a function for performing processing for estimating errors in page order using learning data read by the image forming apparatus 101 .
[0031] The functional roles of the components are shown in FIG.
[0032] The software of the image forming apparatus 101 is composed of a data storage unit 402, a JOB control unit 403, a UI display unit 401, an image reading unit 404, and an estimation processing unit 405. The software of the machine learning server 102 is composed of a learning data generation unit 413, a machine learning unit 414, and a data storage unit 415. The data server 105 is composed of a data collection and provision unit 410 and a data storage unit 412.
[0033] The data storage unit 402 has a functional role of recording data, such as image data, learning data, and learning models, that are input and output by the image forming apparatus 101 to the RAM 1202 and HDD 1204 in the hardware configuration shown in FIG.
[0034] The JOB control unit 403 has a central functional role of executing basic functions of the image forming apparatus 101, such as copying, faxing, and printing, based on user instructions, and of transmitting and receiving instructions and data between other software components in association with the execution of these basic functions.
[0035] The UI display unit 401 has a role of accepting operation settings from the user on a screen provided in the operation unit 140 via the operation unit I / F 1206 shown in Fig. 2 and providing an operation acceptance screen for the same. In addition, the UI display unit 401 has a functional role of displaying a notification screen for notifying the user of messages such as an estimation result by the estimation processing unit 405 in the system of the present invention.
[0036] The image reading unit 404 has a functional role of performing an operation of optically reading an original by the scanner 10 shown in FIG.
[0037] 2 and has a functional role of performing estimation processing, classification processing, and the like to realize an AI function for data input and output by the image forming apparatus 101. This estimation processing is performed based on instructions from a JOB control unit 403, and the result output from the estimation processing unit 405 is transmitted to the JOB control unit 403, making it possible to provide feedback to the user, such as by displaying a notification message on the UI display unit.
[0038] The data server 105 is made up of a data collection and provision unit 410 and a data storage unit 412 .
[0039] The data collection and provision unit 410 has a functional role of collecting and providing learning data for learning in the machine learning server 102. In the system of the present invention, it has a functional role of receiving learning data including operation information of the image forming device 101 from the image forming device 101 and providing it to the machine learning server 102. The collection destination may be another image forming device other than the image forming device 101, a general-purpose computer 103, or another data server. It is possible to collect data necessary for the desired machine learning. The data storage unit 412 has a functional role of recording and managing the collected learning data.
[0040] The software of the machine learning server 102 is composed of a learning data generation unit 413, a machine learning unit 414, and a data storage unit 415.
[0041] The learning data generation unit 413 has a functional role of optimizing the learning data by processing the data received from the data server 105 into a form that will provide effective learning results, such as removing unnecessary data that will become noise, in order to obtain the desired learning effect. This is executed by the CPU 1301 shown in Fig. 3. In the system of the present invention, as an example of data pre-processing for effective learning, the system is devised to enable effective learning by masking areas other than those in which page numbers are estimated to be printed from the scan data.
[0042] The data storage unit 415 temporarily stores data received from the data server 105, generated learning data, and a learned model in the machine learning unit 414 in the RAM 1302 or HDD 1304 shown in FIG.
[0043] The machine learning unit 414 performs machine learning using the learning data generated by the learning data generation unit 413 as input, utilizing the hardware resources GPU 1306 and CPU 1301 shown in FIG. 2 and a learning method using the learning model shown in FIG. 5.
[0044] <Conceptual diagram of learning model> FIG. 5 is a conceptual diagram showing an input / output structure using a learning model in machine learning unit 414, and illustrates an example of a learning model using a neural network.
[0045] Specific algorithms for machine learning include, in addition to neural networks, nearest neighbor methods, naive Bayes methods, decision trees, support vector machines, etc. Also included is deep learning, which uses neural networks to generate features and connection weighting coefficients for learning. Any of the above algorithms that can be used can be used as appropriate and applied to this embodiment.
[0046] For simplicity, we will use a model with a three-layer neural network to explain the learning model for predicting chapters or paragraphs within a page from scanned data.
[0047] The input data (X) used in the input layer are the individual encoded elements of two consecutive pages of manuscript (referred to as "manuscript data A" and "manuscript data B").
[0048] The learning model of the middle layer (W) is a logic circuit in which a predetermined weighting is applied to each element of the neural network and propagated to each element of the next layer (to avoid the complexity of the diagram, the diagram only shows up to the second element of each layer).
[0049] a1, a2, and a3 are elements of the first layer; similarly, b1, b2, and b3 are elements of the second layer, and c1, c2, and c3 are elements of the third layer.
[0050] For example, the b1 element in the second layer is b1 = α × a1 + β × a2 + γ × a3 (α, β, and γ are coefficients adjusted by learning) Let us assume that.
[0051] The data propagates through a three-layer neural network, and the estimated probability of "class1: chapter / paragraph breaks present" and "class2: no chapter / paragraph breaks present" is calculated as output (Y) in the output layer.
[0052] If the estimated probability is 100%, the value is "1", and if the estimated probability is 0%, the value is "0".
[0053] For example, the output (Y) when the estimated probability of a chapter / paragraph break is 89% is Class 1 (with chapter / paragraph breaks) = 0.89, class 2 (without chapter / paragraph breaks) = 0.11.
[0054] FIG. 6 is a diagram showing details of the teacher data.
[0055] In this embodiment, the following is assumed to be implemented to improve the accuracy of the learning model (W). That is, a large amount of training data is prepared, which is a set of "input data with known correct values" and "correct values." Then, the weighting coefficients in the learning model (W) are assumed to be adjusted so that the output when the input data of this training data is input approaches the correct value as closely as possible.
[0056] This is called the learning process, and the learning model that has been adjusted through the learning process is called a trained model.
[0057] The training data to be prepared (a set of "input data with known correct values" and "correct values") will be as follows: Class 1: Training data with chapter / paragraph breaks as expected value Input data (X): "Manuscript data A" and "Manuscript data B" with chapter / paragraph breaks between them Expected value (T): class1 (with chapter / paragraph breaks) = 1, class2 (without chapter / paragraph breaks) = 0 Class 2: Training data with no chapter / paragraph breaks as expected Input data (X): "Manuscript data A" and "Manuscript data B" with no chapter / paragraph breaks between them Expected value (T): class1 (with chapter / paragraph breaks) = 0, class2 (without chapter / paragraph breaks) = 1 When using machine learning to process scanned document data, a mask process is performed on the input data (X) to preprocess the data, except for the areas recognized as the main text. The details of the mask process will be described later with reference to FIG. 7.
[0058] The expected value (T) is the output (Y) value that indicates the "correct value" when "input data with a known correct value" is input.
[0059] Input data (X) for each training data set is input, and the calculated output (Y) and expected value (T) are used to calculate the loss (L) according to a specified loss function.
[0060] In this embodiment, the loss function is Class 1: In the case of training data where chapter / paragraph breaks are expected Loss (L) = 1 - "Estimated probability of class 1 in output (Y)" Class 2: In the case of training data where the expected value is no chapter / paragraph breaks Loss (L) = 1 - "Estimated probability of class 2 in output (Y)" Let us assume that.
[0061] The weighting between each layer of the intermediate learning model (W) is adjusted so that this loss (L) approaches zero.
[0062] The adjusted learning model (W) is treated as a trained model and is implemented in the machine learning unit 414.
[0063] <Explanatory diagram of pre-processing> FIG. 7 is a diagram illustrating pre-processing of manuscript data before learning.
[0064] To prepare data for learning chapter / paragraph breaks, character recognition of page numbers is performed using a known OCR (Optical Character Recognition / Reader) or the like. At this time, masking is performed on areas that are not related to the main text of the scanned data, such as photographs, diagrams, headers, and footers. Masking may be performed by defining all areas to be masked in one go, or by performing masking multiple times according to the characteristics of the areas to be masked and then superimposing the results. In this embodiment, a method of performing masking for each feature in the document and superimposing the results will be described.
[0065] Figure 7(a) is an example of masking scanned data that includes figures and tables. First, character recognition is performed on the entire document using OCR, and the orientation of the document (Figure 7(a) is a landscape document) is determined from the direction of the characters. In this case, the lines of figures and tables are not recognized as characters, so the areas recognized as figures and the text areas surrounded by areas recognized as figures are treated as the internal table areas and are masked. The data with the masked areas masked is treated as the text areas in the document, and this is used as learning data.
[0066] Figure 7(b) is an example of masking the header and footer areas. Headers and footers can be character-recognized using OCR. However, the areas where the header and footer exist are at the top or bottom of the document, and are separate from the text area. Therefore, the text area that has been character-recognized and is located at the "top or bottom of the document" is the target for masking. The data with the masked area masked is regarded as the text area in the document, and this is used as the learning data.
[0067] FIG. 8 is a diagram illustrating manuscript data for learning.
[0068] The manuscript before the masking process of this embodiment is a continuous manuscript of multiple pages, and the positions for inserting the separators include character strings in which the chapter numbers and chapter titles are written in a font larger than that of the main text. Also, in manuscripts in which chapter paper is inserted between chapters, the chapter separator position is often the first sentence on the page, so in the manuscript of this embodiment, the chapter title is also at the top of the page, but the separator position in the present invention is not limited to the top of the page.
[0069] The manuscript data of the first page in FIG. 8 is a manuscript with delimiters, with the chapter title placed at the top of the page, text, figures, and tables placed near the center of the page, and text placed at the bottom of the page.
[0070] The manuscript data of the second page in FIG. 8 is a manuscript without a delimiter, with the continuation of the text of the first page being placed from the top of the page, and a blank area being placed from near the center of the page to the end of the page.
[0071] The manuscript data for the third page in FIG. 8 is a manuscript with a break point, with the chapter title placed at the top of the page, followed by text, and then a table at the bottom of the page.
[0072] The manuscript data for the fourth page in FIG. 8 is a manuscript without delimiters, with figures placed at the top and bottom of the page and text continuing from the third page placed in the center of the page.
[0073] The manuscript data for the fifth page in FIG. 8 is a manuscript without a break position, and the text from the fourth page is continued from the top of the page, followed by a table at the bottom of the page.
[0074] The manuscript data for the sixth page in FIG. 8 is a manuscript with break positions, with the chapter title placed at the top of the page, a table placed near the center of the page, and text again placed at the bottom of the page.
[0075] The above-mentioned manuscript data are combined in the order (no page, 1st page), (1st page, 2nd page), (2nd page, 3rd page) so that manuscript data B is the later page, to obtain teacher data 1 to teacher data 6. In the case of this teacher data, the expected value of class 1 for teacher data that has a break position in manuscript data B, i.e. teacher data 1, 3, and 6, is "1", and conversely, the expected value of class 2 is "0". Conversely, the expected value of class 1 for teacher data that does not have a break position in manuscript data B, i.e. teacher data 2, 4, and 5, is "0", and conversely, the expected value of class 2 is "1".
[0076] In addition, by processing the manuscript data for learning, it is possible to efficiently increase the amount of learning data and improve prediction accuracy. For example, the chapter numbers can be deleted from the manuscript data, or the font of the chapter title can be changed to the same font as the main text. When learning is performed using such manuscript data, the combination of features obtained changes compared to when learning with the learning data before processing, so learning closer to new manuscript data can be performed.
[0077] FIG. 9 is a diagram illustrating an operation flow when performing a copy operation while inserting a chapter sheet, using the above-mentioned trained model.
[0078] First, in S901, it is confirmed whether the menu screen for a copy job has been selected on the image forming apparatus 101. If the menu screen for a copy job has not been selected (S901-No), the image forming apparatus 101 repeats S901. If the menu screen for a copy job has been selected (S901-Yes), the process proceeds to S902, where it is confirmed whether the user has input a setting for the location where chapter paper is to be inserted.
[0079] If the chapter paper insertion position is input in S902 (S902-Yes), the process proceeds to S903 and waits for the job execution key to be input. The information on the chapter paper insertion position input at this time is stored in the HDD 1204 of the image forming apparatus 101 in a list format as shown in FIG. 11(a). If the job execution key is not input (S903-No), the process returns to S902 and repeats the state. If the job execution key for a copy job is input in S903 (S903-Yes), the process proceeds to S904, where the document is scanned by the scanner 10 and the scanned document data is stored in the HDD 1204. In S905, the document data stored in the HDD 1204 is input to a learning model acquired from the machine learning server 102 to estimate whether each page of the document data is a delimiter position for inserting a chapter paper. The estimation result is stored in the HDD 1204 of the image forming apparatus 101 in a list format as shown in FIG. 11(b). The process then proceeds to S906, where input information confirmation processing for the chapter paper insertion location, which will be described later, is performed. In summary, the difference between the input chapter paper insertion location and the estimated chapter paper insertion location is confirmed, and if there is a difference, a confirmation notification is given to the user, and corrections are made from the input chapter paper insertion location as necessary. The corrected chapter paper insertion location is stored in the HDD 1204 in a list format as shown in Figure 11(c). The process then proceeds to S907, where a print / chapter paper insertion process is performed in which the scanned manuscript data is printed while inserting chapter paper into the pages recorded in the list in Figure 11(c), and the operation of the image forming apparatus 101 is terminated.
[0080] If the chapter paper insertion location has not been input in S902 (S902-No), the process proceeds to S908 and waits for the job execution key to be input, as in S903. If the job execution key has been input in S908 (S908-Yes), the document is scanned in S909, and then printing processing is executed in S910, and the operation of the image forming apparatus 101 ends.
[0081] In this embodiment, after all the documents are scanned in S904, the document break positions are estimated and compared with the input chapter paper insertion positions. However, the order of the scanning process and the comparison process does not need to be clearly separated, and scanning may be performed for each page or for several pages, and a comparison may be made with the input chapter paper insertion positions.
[0082] FIG. 10 is a diagram for explaining a more detailed flow of the input information confirmation process at the chapter paper insertion location in S906.
[0083] For the purposes of explaining this embodiment, there are differences between the list of input chapter paper insertion locations in FIG. 11(a) (hereinafter referred to as "the list of FIG. 11(a)") and the list of estimated chapter paper insertion locations in FIG. 11(b) (hereinafter referred to as "the list of FIG. 11(b)"), but the listing of the difference information does not need to be limited to this.
[0084] In S1001, the list in FIG. 11(a) is copied to the corrected list of chapter paper insertion locations in FIG. 11(c) (hereinafter referred to as "the list in FIG. 11(c)"). Next, in S1002, difference information between the input list of chapter paper insertion locations in FIG. 11(a) and the list in FIG. 11(b) is extracted.
[0085] At this point, the list in FIG. 11C has not been correctly corrected, and the list in FIG. 11C will be completed when the processes from S1003 onwards are completed.
[0086] In the process from S1003 onwards, the differences extracted in S1002 are numbered in ascending order of page numbers, and the process is carried out starting from the difference with the lowest number. Therefore, in S1003 and S1004, the number N of the difference of interest is initialized to 1.
[0087] From this point on, the flow differs depending on the combination of the chapter paper insertion location information entered by the user and the chapter paper insertion location information estimated by the image forming apparatus 101, that is, the information in the list of Figure 11(a) and the information in the list of Figure 11(a). There are four combinations of information:
[0088] Case 1: The chapter insertion location is estimated to be on a later page than the chapter insertion location entered by the user. In other words, this is the case of pages 3 and 4 in the list of Figure 11(a) and the list of Figure 11(b).
[0089] Case 2: The chapter paper insertion location input by the user is not assumed to be a chapter paper insertion location by the image forming apparatus 101. That is, this is the case of pages 6 and 7 or pages 7 and 9 in the list of FIG. 11(a) and the list of FIG. 11(b).
[0090] Case 3: The chapter insertion location is estimated to be on the previous page based on the chapter insertion location entered by the user. In other words, this is the case of pages 11 and 12 in the list of Figure 11(a) and the list of Figure 11(b).
[0091] Case 4: The image forming apparatus 101 presumes that a chapter paper insertion location that has not been input by the user is the chapter paper insertion location, such as pages 14 and 15 or pages 15 and 17 in the list of FIG. 11(a) and the list of FIG. 11(b).
[0092] First, case 1 will be described.
[0093] In S1005, since the Nth difference is in the chapter paper insertion location in the list of FIG. 11(a) (S1005-Yes), the process proceeds to S1006. In S1006, it is determined whether there is a difference in the chapter paper insertion location after the page where the Nth difference was found, and since a difference was found (S1006-Yes), the process proceeds to S1007. In S1007, it is confirmed whether the difference confirmed in S1006 is the chapter paper insertion location in the list of FIG. 11(b), and since it is the chapter paper insertion location in the list of FIG. 11(b) in case 1 (S1007-Yes), the process proceeds to S1008. In S1008, the screen of FIG. 12(a) is displayed, indicating that the chapter paper insertion location is estimated to be on a page later than the chapter paper insertion location input by the user, and a correction is proposed to the user to switch the chapter paper insertion location. In S1009, it is confirmed whether a correction instruction has been input on the confirmation screen of FIG. 12(a). If a correction instruction has been input (S1009-Yes), the process proceeds to S1010, where the chapter insertion information for the page corresponding to the Nth difference in the list of Figure 11(c) is deleted, and information on the chapter insertion location in the list of Figure 11(b) corresponding to the N+1th difference is added. Then, in S1011, the N+1th difference information used to correct the list of Figure 11(c) is deleted, and the user is not asked again about the estimated chapter insertion location displayed on the confirmation screen of Figure 12(a) above. Note that if the user rejects the correction proposal (S1009-No), the correction process from S1010 is not performed, and the process proceeds to S1012.
[0094] 11C, if there is no new difference information (N1012-Yes) at S1012, the input information confirmation process for the chapter insertion location ends. However, if there is new difference information (N1012-No) at S1012, the process returns to S1004 and increments N by 1. In other words, the flow from S1004 onwards is executed again for the difference information used in the determination at S1012 above.
[0095] Next, case 2 will be described.
[0096] Case 2 is a case where the determination in S1006 or S1007 in case 1 is No, and the process proceeds to S1013. In S1013, the screen of FIG. 12(b) is displayed, indicating that the chapter paper insertion location input by the user is not estimated as a chapter paper insertion location by the image forming apparatus 101, and a correction to delete the chapter paper insertion location is proposed to the user. If a correction instruction is input (S1014-Yes), in S1015, the chapter paper insertion information of the page corresponding to the Nth difference in the list of FIG. 11(c) is deleted, and the process proceeds to S1012. Note that if the user rejects the correction proposal (S1014-No), the correction process of S1015 is not performed, and the process proceeds to S1012.
[0097] Next, case 3 will be described.
[0098] In S1005, since the Nth difference is in the chapter paper insertion position in the list of FIG. 11(b) (S1005-No), the process proceeds to S1016. In S1016, similar to S1006, it is determined whether there is a difference in the chapter paper insertion position after the page where the Nth difference was found, and since a difference was found (S1016-Yes), the process proceeds to S1017. In S1017, it is confirmed whether the difference confirmed in S1016 is the chapter paper insertion position in the list of FIG. 11(a), and since it is the chapter paper insertion position in the list of FIG. 11(a) in case 3 (S1017-Yes), the process proceeds to S1018. In S1018, the screen of FIG. 12(c) is displayed, which indicates that the chapter paper insertion position is estimated to be on the previous page from the chapter paper insertion position input by the user, and a correction is proposed to the user to switch the chapter paper insertion position. In S1019, it is confirmed whether a correction instruction has been input on the confirmation screen of FIG. 12(c). If a correction instruction has been input (S1019-Yes), the process proceeds to S1020, where the chapter insertion information for the page corresponding to the N+1th difference in the list of Figure 11(c) is deleted, and information on the chapter insertion location in the list of Figure 11(b) corresponding to the Nth difference is added. Then, in S1011, the N+1th difference information used to correct the list of Figure 11(c) is deleted, and the user is not asked again about the estimated chapter insertion location displayed on the confirmation screen of Figure 12(c). Note that if the user rejects the correction proposal (S1019-No), the correction process from S1020 is not performed, and the process proceeds to S1012.
[0099] Finally, case 4 will be explained.
[0100] Case 4 is a case where the determination in S1016 or S1017 in case 3 is No, and the process proceeds to S1022. In S1022, the screen in FIG. 12(d) is displayed, indicating that the image forming apparatus 101 has presumed that a chapter paper insertion location that has not been input by the user is a chapter paper insertion location, and a correction to add a chapter paper insertion location is proposed to the user. If a correction instruction has been input (S1023-Yes), in S1024, chapter paper insertion information of the page corresponding to the Nth difference in the list in FIG. 11(c) is added, and the process proceeds to S1012. Note that if the user rejects the correction suggestion (S1023-No), the correction process in S1024 is not performed, and the process proceeds to S1012.
[0101] By performing the above-described control, the image forming apparatus can estimate the division positions of chapters or sections in a document, and even if a user sets the chapter paper to be inserted in an incorrect position, the error can be pointed out and corrected.
Claims
1. A reading means for reading a document having sentences separated by chapters or paragraphs; A storage means for storing a trained model that estimates delimiter positions from an image; A division estimation processing means for estimating division positions of a document from the image obtained by the reading using the trained model; a determination means for determining whether or not a sheet is to be inserted based on a result of the estimation by the boundary estimation processing means; A means for receiving an instruction from a user regarding a position for inserting paper; a means for determining whether the location where the instruction was received is different from the estimated break position; and a display means for displaying information based on a result of the determination if the images are different.
2. 2. The image forming apparatus according to claim 1, wherein the displayed information includes a position designated by the user and a position where insertion of paper is recommended based on the estimated separation position.
3. a reading step of reading a document having sentences separated by chapters or paragraphs; A storage step of storing a trained model that estimates delimiter positions from an image; a division estimation process step of estimating division positions of a document from the image obtained by the reading using the trained model; a determination step of determining whether or not paper is to be inserted based on a result of the estimation by the boundary estimation processing step; receiving an instruction from a user regarding a location to insert paper; determining whether the location where the instruction was received is different from the estimated break position; and if it is determined that they are different, a display step of displaying information based on the result of the determination.
4. 4. The method for controlling an image forming apparatus according to claim 3, wherein the displayed information includes a position designated by the user and a position where paper insertion is recommended based on the estimated separator position.
5. A program for causing a computer to execute the control method according to claim 3 or 4.
Citation Information
Patent Citations
Document seal dividing method and device, terminal and computer readable storage medium
CN110717323A
Document processing device and method
JP2003091521A
Print data transmitting apparatus, image forming system, printing condition setting method, and printer driver program
JP2005182757A
Control program controlling image forming apparatus
JP2008028670A
Image processing apparatus and image processing program
JP2010135962A
