Information processing device, information processing method, and storage medium
The information processing device enhances character recognition accuracy by using image feature information and correct/incorrect data to generate a character recognition model, addressing the limitations of previous technologies that only relied on evaluation values from character recognition engines.
Patent Information
- Application Number
- PCT/JP2023/009648
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-19
AI Technical Summary
Existing character recognition technologies fail to improve accuracy beyond using evaluation values from character recognition engines, neglecting other relevant features in the image.
An information processing device and method that incorporates image feature information and correct/incorrect data as explanatory and target variables, respectively, to generate a character recognition model, enhancing the learning process beyond just evaluation values.
This approach significantly improves the accuracy of character recognition by considering multiple character recognition engines' outputs and image features, leading to more precise character code identification.
Smart Images

Figure JP2023009648_19092024_PF_FP_ABST
Abstract
Description
Information processing device, information processing method, and storage medium
[0001] The present disclosure relates to an information processing device, an information processing method, and a storage medium.
[0002] When performing character recognition from character patterns included in an image, multiple character recognition engines are used. For example, in Patent Document 1, multiple character recognition engines generate evaluation vectors whose elements are evaluation values corresponding to predetermined character codes for input character patterns, and the evaluation vectors generated by the multiple character recognition engines are connected to generate a feature vector. Then, a model that identifies the character code of a character pattern is generated by learning the feature vector generated for the character pattern and the character code defined for the character pattern.
[0003] JP 2014-071813 A
[0004] However, the technology described in Patent Document 1 above learns based only on the evaluation values of character recognition by each character recognition engine, and therefore does not take into account factors other than the evaluation values, resulting in the problem that it is not possible to further improve the accuracy of character recognition.
[0005] Therefore, an object of the present disclosure is to provide an information processing device that can solve the above-mentioned problem of being unable to further improve the accuracy of character recognition.
[0006] An information processing device according to one embodiment of the present disclosure includes: an acquisition unit that acquires each character recognition result output by inputting a character pattern included in an image into a plurality of character recognition engines, image feature information that indicates features that can be extracted from the image, and each correct / incorrect information that indicates whether each of the character recognition results by the plurality of character recognition engines is correct; and a learning unit that generates a character recognition model by learning each of the character recognition results and the image feature information as explanatory variables and each of the correct / incorrect information as a target variable.
[0007] Furthermore, an information processing method that is one form of the present disclosure is configured to acquire each character recognition result output by inputting a character pattern included in an image into each of a plurality of character recognition engines, image feature information that represents features that can be extracted from the image, and each correct / incorrect information that represents the correctness of each of the character recognition results by the plurality of character recognition engines, and generate a character recognition model by learning each of the character recognition results and the image feature information as explanatory variables and each correct / incorrect information as a target variable.
[0008] Furthermore, a program that is one form of the present disclosure is configured to cause a computer to execute a process of acquiring each character recognition result output by inputting a character pattern included in an image into a plurality of character recognition engines, image feature information that represents features that can be extracted from the image, and each correct / incorrect information that represents the correctness of each of the character recognition results by the plurality of character recognition engines, and generating a character recognition model by learning using each of the character recognition results and the image feature information as explanatory variables and each of the correct / incorrect information as a target variable.
[0009] By being configured as described above, the present disclosure can further improve the accuracy of character recognition.
[0010] FIG. 1 is a block diagram showing the overall configuration of an information processing system and the configuration of a learning device according to a first embodiment of the present disclosure. FIG. 2 is a block diagram showing the configuration of a data generation system disclosed in FIG. 1. FIG. 3 is a flowchart showing the processing operation by the information processing system disclosed in FIG. 1. FIG. 4 is a flowchart showing the processing operation by the information processing system disclosed in FIG. 1. FIG. 5 is a block diagram showing the hardware configuration of an information processing device according to a second embodiment of the present disclosure. FIG. 6 is a block diagram showing the configuration of an information processing device according to the second embodiment of the present disclosure.
[0011] First Embodiment A first embodiment of the present disclosure will be described with reference to Fig. 1 to Fig. 4. Fig. 1 and Fig. 2 are diagrams for explaining the configuration of an information processing system, and Fig. 3 and Fig. 4 are diagrams for explaining the processing operation of the information processing system.
[0012] [Configuration] The information processing system in this embodiment learns and generates a character recognition model, and performs character recognition of character patterns included in image data using the generated character recognition model. Therefore, the information processing system includes a data generation system 20 that generates training data used to generate the character recognition model and recognition target data to be input to the character recognition model from image data to be character recognized, and an information processing device 10 that generates a character recognition model and performs character recognition from image data using the character recognition model. However, the information processing system only needs to have at least the function of generating a character recognition model; it does not necessarily need to have the data generation system 20 or the function of performing character recognition. In this case, as described below, the training data and recognition target data generated by the data generation system 20 may be acquired from another information processing device, and character recognition processing using the character recognition model may be performed by another information processing device.
[0013] The data generation system 20 is configured to use image data containing character patterns as input data to generate training data used to train a character recognition model, as described below. As an example, the data generation system 20 is configured with one or more information processing devices each including a calculation device and a storage device. As shown in FIG. 2 , the data generation system 20 includes a first preprocessing unit 21 and a second preprocessing unit 22 that perform image preprocessing on the image data, and a first recognition engine 23 and a second recognition engine 24 that perform character recognition processing on character patterns included in the image. The first preprocessing unit 21, the second preprocessing unit 22, and the first recognition engine 23 and the second recognition engine 24 can be realized by the calculation device executing programs for realizing each function stored in the storage device.
[0014] Here, the input data is, for example, image data scanned from a paper medium or image data that has already been digitized, and the image data includes elements such as character patterns, graphics, and ruled lines. The first preprocessing unit 21 and the second preprocessing unit 22 perform preprocessing on the image data to improve the accuracy of subsequent character recognition processing on the image data. The first preprocessing unit 21 and the second preprocessing unit 22 are configured to perform different preprocessing operations, such as binarization, smoothing, line removal, aspect ratio modification, resolution modification, and brightness modification, or a combination thereof. Note that the preprocessing is not limited to the above-described operations and may be any operation based on pixel data in the image data.
[0015] The first recognition engine 23 and the second recognition engine 24 are character recognition engines that input image data preprocessed by the first preprocessing unit 21 and the second preprocessing unit 22, perform character recognition processing on character patterns contained in the image data, and identify and output character codes corresponding to the character patterns. As an example, the character recognition engine outputs a string of numbers such as "19939191" or a string of characters such as "ABC Co., Ltd." as a character recognition result from the character patterns in the image data. In this case, the first recognition engine 23 and the second recognition engine 24 are configured to perform character recognition processing different from each other, for example, using different algorithms and parameters.
[0016] Furthermore, in this embodiment, even when character recognition processing is performed using the same character recognition engine, if the preprocessing described above is different, the engines are treated as different character recognition engines. In other words, in the example of FIG. 2 , when image data preprocessed by the first preprocessing unit 21 is subjected to character recognition processing using the first recognition engine 23, and when image data preprocessed by the second preprocessing unit 22 is subjected to character recognition processing using the first recognition engine 23, the engines are treated as different character recognition engines. Similarly, in the example of FIG. 2 , when image data preprocessed by the first preprocessing unit 21 is subjected to character recognition processing using the second recognition engine 24, the engines are treated as different character recognition engines. In other words, the data generation system 20 in the example of FIG. 2 is equipped with four different character recognition engines. However, the number of character recognition engines included in the data generation system 20, i.e., the number of combinations of the preprocessing units 21 and 22 and the recognition engines 23 and 24, is not limited to the number shown in FIG. 2 .
[0017] The data generation system 20 then stores, as training data, each piece of character recognition result data, such as a list of characters output by inputting image data to the first recognition engine 23 and the second recognition engine 24. As described above, each combination of the preprocessing units 21, 22 and the recognition engines 23, 24 is treated as a different character recognition engine. Therefore, in the example of FIG. 2 , each piece of character recognition result data from four different character recognition engines is stored as training data. Each piece of character recognition result data includes engine identification information that identifies the character recognition engine that performed the character recognition. Furthermore, the first recognition engine 23 and the second recognition engine 24 may also generate a recognition score that evaluates the character recognition result, depending on the content of the preprocessing, and include the generated recognition score in each piece of character recognition result data. The character recognition result data from each character recognition engine is then input to the character feature extraction unit 26 and the accuracy determination unit 27, which will be described later.
[0018] 2, the data generation system 20 also includes an image feature extraction unit 25 that generates image feature data (image feature information) that represents features that can be extracted from image data that is input data. The image feature extraction unit 25 can be realized by a computing device that executes programs for realizing each function stored in a storage device.
[0019] Specifically, the image feature extraction unit 25 extracts image feature data (image feature information) representing features based on the characteristics of the image data, particularly features based on the characteristics of the pixels of the image, as image feature data. Examples of image feature data include brightness statistics (average value, mode, standard deviation, etc.) of the image data, the out-of-focus score of the image data (variance of the image obtained by applying a Laplacian differential filter), the number of black blocks in the image data (the number of connected components when the image is binarized), the dpi (dots per inch) (resolution) of the image data, and a binarization threshold value obtained by a discriminant analysis method. Examples of image feature data also include information representing features related to the shape and position of the image data, such as the aspect ratio of the image data and position feature information representing the positions of elements (ruled lines, frame lines, shapes, numbers, letters) within the image. The image feature extraction unit 25 then stores the extracted image feature data as training data.
[0020] 2, data generation system 20 also includes a character feature extraction unit 26 that extracts character feature data (character feature information) representing the features of character patterns included in image data as image feature data of the image data. Note that character feature extraction unit 26 can be realized by a computing device executing programs for realizing each function stored in a storage device.
[0021] Specifically, character feature extraction unit 26 receives the character recognition result data from each character recognition engine and extracts character feature data representing the characteristics of the character pattern contained in the image data from each character recognition result data. Examples of character feature data include the type of character language (Japanese, English, Chinese, etc.), the type of character form (hiragana, katakana, kanji, etc.), and the number of specific characters (the number of specific characters (e.g., "0") in a series of numbers or a string of characters). Character feature extraction unit 26 then stores each extracted character feature data as training data. Note that each character feature data includes engine identification information that identifies the character recognition engine that performed the character recognition.
[0022] Furthermore, the character feature extraction unit 26 extracts, as character feature data, comparison information representing the characteristics of the comparison results obtained by comparing the character recognition result data from each character recognition engine. For example, the character feature extraction unit 26 pairs one character recognition engine with another character recognition engine and extracts, as character feature data, the differences in the recognition results between the character recognition result data output by each paired character recognition engine. Examples of the differences in the recognition results include the similarity between each character (e.g., Levenshtein distance) and the difference in the number of specific characters in each character string (recognition result). The character feature extraction unit 26 creates one-to-one pairs between all character recognition engines and extracts character feature data consisting of comparison information between the character recognition result data for each pair, as described above. The character feature extraction unit 26 then stores the extracted character feature data as training data. Each character feature data includes engine identification information that identifies the paired character recognition engine.
[0023] Furthermore, the character feature extraction unit 26 inputs image data before and after changing the characteristics of the image data into each character recognition engine, and obtains each output character recognition result. In this case, the image data characteristics changed include the image aspect ratio and resolution. In this case, if the characteristics of the image data are changed by the preprocessing units 21 and 22, the character recognition engines that perform character recognition on each image will be different to begin with. By associating these character recognition result data as pairs, character feature data, which is the comparison result between each character recognition result data, is extracted as described above. Note that the character feature extraction unit 26 may also extract comparison information, such as the similarity between each character recognition result data for the image data before and after changing the characteristics of the image data, as character feature data. The character feature extraction unit 26 then stores each extracted character feature data as training data. Note that each character feature data may include engine identification information that identifies the character recognition engine or information indicating the changed characteristics of the image data.
[0024] 2, the data generation system 20 also includes a correctness determination unit 27 that generates correctness data (correctness information) indicating whether each piece of character recognition result data obtained by each character recognition engine is correct or incorrect. The correctness determination unit 27 can be realized by a computing device that executes a program for realizing each function stored in a storage device.
[0025] Specifically, the correctness determination unit 27 receives the character recognition result data from each character recognition engine and generates correctness / incorrect data for each character recognition result data, indicating whether the recognition result is "correct" or "incorrect." The correctness / incorrect data may be generated according to a preset algorithm based on the characteristics of each character recognition engine and the content of each character recognition result data, or may receive input of a human correctness / incorrectness determination result and generate the correctness / incorrect data from the input. The correctness / incorrect data then stores the generated correctness / incorrect data as learning data. Each correctness / incorrect data includes engine identification information that identifies the character recognition engine that performed the character recognition. The correctness / incorrect data may further include, as learning data, determination criterion data (determination criterion data) that indicates the criteria for determining correctness, such as the algorithm used by the correctness / incorrectness determination unit 27. The determination criterion data includes engine identification information that identifies the character recognition engine.
[0026] Then, data generation system 20 provides the training data generated and stored as described above to information processing device 10 in response to a request from information processing device 10. At this time, data generation system 20 provides the character recognition result data, image feature data, character feature data, and judgment criterion data from the training data as explanatory variables during training of the character recognition model. Data generation system 20 also provides the correct / incorrect data from the training data as a target variable during training of the character recognition model.
[0027] Furthermore, when the information processing device 10 performs character recognition from new image data as described below, the data generation system 20 uses the new image data as input data and performs the same processing as described above to generate character recognition result data, image feature data, character feature data, and judgment criterion data, that is, data that can be the above-mentioned explanatory variables, as recognition target data. The data generation system 20 then provides the generated recognition target data to the information processing device 10 in response to a request from the information processing device 10.
[0028] Note that the data generation system 20 is not necessarily limited to generating the above-described training data and recognition target data using the above-described methods, and the training data and authentication target data may include types of data other than those described above. Also, the above-described training data and recognition target data are not necessarily limited to being generated by the data generation system 20, and may be generated by another information processing device, or may be prepared in advance and stored in a predetermined information processing device.
[0029] The information processing device 10 is composed of one or more information processing devices each including a calculation device and a storage device. As shown in FIG. 1 , the information processing device 10 includes an acquisition unit 11, a learning unit 12, and a character recognition unit 13. The functions of the acquisition unit 11, the learning unit 12, and the character recognition unit 13 can be realized by the calculation device executing a program for realizing each function stored in the storage device. The information processing device 10 also includes a training data storage unit 14 and a model storage unit 15. The training data storage unit 14 and the model storage unit 15 are each composed of a storage device. Each component will be described in detail below.
[0030] The acquisition unit 11 acquires learning data from the data generation system 20. Specifically, during learning to generate a character recognition model, the acquisition unit 11 acquires character recognition result data, image feature data, character feature data, judgment criterion data, and correct / incorrect data from the above-mentioned data generation system 20, and stores the data as learning data in the learning data storage unit 14. Note that the acquisition unit 11 does not necessarily need to acquire the above-mentioned learning data from the data generation system 20, and may acquire the learning data from another information processing device, or may acquire data that has been prepared in advance and stored in a predetermined information processing device.
[0031] Furthermore, the acquisition unit 11 acquires authentication target data from the data generation system 20. Specifically, when performing character recognition from image data to be subjected to character recognition, the acquisition unit 11 acquires, as recognition target data, character recognition result data, image feature data, character feature data, and judgment criterion data generated using the image data to be subjected to character recognition authentication from the above-described data generation system 20. Note that the acquisition unit 11 does not necessarily need to acquire the above-described authentication target data from the data generation system 20, and may acquire it from another information processing device.
[0032] The learning unit 12 performs machine learning using the acquired training data to generate a character recognition model. Specifically, the learning unit 12 performs machine learning using the character recognition result data, image feature data, character feature data, and judgment criterion data from the training data as explanatory variables, and the correct / incorrect data as a target variable. Note that the learning unit 12 does not need to use all of the explanatory variables described above as explanatory variables; it may input only the explanatory variables that it has acquired, or it may select and input some of the explanatory variables that it has acquired. The learning unit 12 then stores the character recognition model generated by machine learning in the model storage unit 14.
[0033] The character recognition unit 13 inputs the recognition target data of the acquired new image data into the generated character recognition model and outputs the character recognition result. Specifically, the character recognition unit 13 inputs the character recognition result data, image feature data, character feature data, and judgment criterion data, which are the recognition target data generated and acquired from the new image data, into the character recognition model as explanatory variables, and obtains output of correct / incorrect data indicating whether the recognition result by each character recognition engine is correct or incorrect. The character recognition unit 13 then outputs the character recognition result by the character recognition engine that was output as correct as the final character recognition result.
[0034] [Operation] Next, the operation of the information processing system described above will be described. First, the operation during learning to generate a character recognition model will be described with reference to the flowchart of FIG.
[0035] In the information processing system, first, a data generation system 20 uses image data containing character patterns prepared for learning as input data to generate learning data to be used for learning a character recognition model. Specifically, the data generation system 20 reads the learning image data (step S1), and first performs preprocessing of the image data using a first processing unit 21 and a second processing unit 22 (steps S2 and S3). At this time, the first preprocessing unit 21 and the second preprocessing unit 22 are configured to perform different preprocessing processes from each other, and, for example, the preprocessing processes may be any one of or a combination of binarization, smoothing, line removal, aspect ratio change, resolution change, and brightness change.
[0036] Next, the data generation system 20 uses the first recognition engine 23 and the second recognition engine 24 to perform character recognition processing of the character patterns on the image data preprocessed by the first preprocessing unit 21 and the second preprocessing unit 22. As an example, each recognition engine outputs a string of numbers or letters from the character patterns in the image data as the character recognition result. At this time, the first recognition engine 23 and the second recognition engine 24 are configured to perform different character recognition processing, for example, character recognition processing using different algorithms or parameters. Here, when the combinations of preprocessing and character recognition processing are different, it is treated as if the character recognition processing was performed by different character recognition engines. For this reason, in this embodiment, the preprocessing by the first preprocessing unit 21 and the character recognition processing by the first recognition engine 23 (step S4), the preprocessing by the first preprocessing unit 21 and the character recognition processing by the second recognition engine 24 (step S5), the preprocessing by the second preprocessing unit 22 and the character recognition processing by the first recognition engine 23 (step S6), and the preprocessing by the second preprocessing unit 22 and the character recognition processing by the second recognition engine 24 (step S7) are treated as character recognition processing by different character recognition engines, and each character recognition result data is generated as learning data. At this time, a recognition score for evaluating the character recognition result by each character recognition engine may also be generated, and this recognition score may be included in the character recognition result data.
[0037] The data generation system 20 also uses the image feature extraction unit 25 to extract image characteristic feature data representing features based on pixel characteristics from the image data, generate the image feature data, and use it as training data (step S8). Specifically, the image feature extraction unit 25 extracts, as examples of image feature data, statistics (such as the average value, mode, and standard deviation) of the brightness of the image data, the image data's out-of-focus score (the variance of the image obtained by applying a Laplacian differential filter), the number of black blocks in the image data (the number of connected components when the image is binarized), the image data's dpi (dots per inch) (resolution), and a binarization threshold value calculated by a discriminant analysis method. The image feature extraction unit 25 also extracts information representing features related to the shape and position of the image data as image feature data, and uses this information as training data. For example, the image feature extraction unit 25 extracts information such as the aspect ratio of the image data and position feature information representing the positions of elements (ruled lines, frame lines, shapes, numbers, and characters) contained in the image within the image.
[0038] Furthermore, the data generation system 20 extracts character feature data representing the characteristics of character patterns contained in the image data from the character recognition result data of each character recognition engine as image feature data of the image data using the character feature extraction unit 26, and uses the extracted character feature data as learning data (step S9). For example, examples of character feature data extracted include the type of language of the characters (Japanese, English, Chinese, etc.), the type of character form (hiragana, katakana, kanji, etc.), and the number of specific characters (the number of specific characters (e.g., "0") in a series of numbers or a string of characters).
[0039] Furthermore, in the data generation system 20, the character feature extraction unit 26 extracts, as image feature data of the image data, features of the comparison results obtained by comparing the character recognition result data of each character recognition engine, and sets the extracted character feature data as learning data (step S9). In this case, examples of the character feature data extracted include the similarity between each character (e.g., Levenshtein distance) and the difference in the number of specific characters in each character string (recognition result).
[0040] Furthermore, data generation system 20 extracts, as image feature data of the image data, character feature data based on each character recognition result data output by inputting the image data before and after changing the characteristics of the image data to each character recognition engine, using character feature extraction unit 26, and sets this as learning data (step S9). For example, the image aspect ratio, resolution, etc. are changed as characteristics of the image data, and comparison information such as the similarity between each character recognition result data for the image data before and after changing the characteristics of the image data is extracted as character feature data.
[0041] Furthermore, data generation system 20 causes correct / incorrect determination unit 27 to generate correct / incorrect data indicating whether each piece of character recognition result data from each character recognition engine is correct or incorrect, and sets the generated data as learning data (step S9). For example, correct / incorrect determination unit 27 receives the character recognition result data from each character recognition engine and generates correct / incorrect data for each piece of character recognition result data indicating whether the recognition result is "correct" or "incorrect." At this time, correct / incorrect determination unit 27 also generates, as learning data, determination criterion data indicating the criterion for determining correct / incorrect data, such as the algorithm used to perform the correct / incorrect determination by correct / incorrect determination unit 27.
[0042] Next, the information processing device 10 acquires the learning data generated by the data generation system 20, i.e., the character recognition result data, image feature data, character feature data, accuracy data, and judgment criterion data, etc., from the data generation system 20, and performs learning (step S10). At this time, the information processing device 10 performs machine learning using the character recognition result data, image feature data, character feature data, and judgment criterion data from the acquired learning data as explanatory variables and the accuracy data as a target variable. As a result, the information processing device 10 can generate a character recognition model that can output a correct character recognition result by inputting data corresponding to the explanatory variables generated from image data to be newly subjected to character recognition. Note that the information processing device 10 does not necessarily have to acquire the learning data from the data generation system 20; it may acquire it from another information processing device, or it may acquire data that has been prepared in advance and stored in a specific information processing device.
[0043] Next, the operation of the information processing system described above when performing character recognition processing on a new image will be described with reference to the flowchart of FIG.
[0044] The information processing system first reads new image data as input data in the data generation system 20 (step S21), and then performs the same processing as described above (steps S22 to S28) to generate character recognition result data, image feature data, character feature data, and judgment criterion data, that is, data corresponding to the explanatory variables described above, as recognition target data (step S29).
[0045] Next, the information processing device 10 acquires the recognition target data generated from the new image data by the data generation system 20, i.e., the character recognition result data, image feature data, character feature data, and judgment criterion data described above, inputs them into the character recognition model, and performs character recognition processing (step S30). As a result, the information processing device 10 can obtain the output of the character recognition result by the character recognition engine that has been determined to be correct by the character recognition model, and outputs the character recognition result as the final character recognition result (step S31).
[0046] As described above, in this embodiment, a character recognition model is generated by machine learning using not only the character recognition results from multiple character recognition engines but also image feature data that represents features that can be extracted from an image, that is, the character feature data and criterion data described above. Therefore, it is possible to generate a character recognition model that has learned the output characteristics of character recognition by each character recognition engine according to various features of image data that is the target of character recognition, and by using such a character recognition model, it is possible to further improve the accuracy of the character recognition process.
[0047] <Embodiment 2> Next, a second embodiment of the present disclosure will be described with reference to Fig. 5 to Fig. 6. Fig. 5 to Fig. 6 are block diagrams showing the configuration of an information processing device in embodiment 2. Note that this embodiment shows an outline of the configuration of the information processing device described in the above embodiment.
[0048] First, the hardware configuration of the information processing device 100 in this embodiment will be described with reference to Fig. 5. The information processing device 100 is configured as a general information processing device, and is equipped with the following hardware configuration, for example: CPU (Central Processing Unit) 101 (arithmetic unit); ROM (Read Only Memory) 102 (storage device); RAM (Random Access Memory) 103 (storage device); programs 104 loaded into RAM 103; a storage device 105 that stores the programs 104; a drive device 106 that reads and writes data from and to a storage medium 110 external to the information processing device; a communication interface 107 that connects to a communication network 111 external to the information processing device; an input / output interface 108 that inputs and outputs data; and a bus 109 that connects the various components.
[0049] 5 shows an example of the hardware configuration of the information processing device 100, and the hardware configuration of the information processing device is not limited to the above-described case. For example, the information processing device may be configured with only a part of the above-described configuration, such as excluding the drive device 106. Furthermore, the information processing device may use a GPU (Graphics Processing Unit), a DSP (Digital Signal Processor), an MPU (Micro Processing Unit), an FPU (Floating Point Number Processing Unit), a PPU (Physics Processing Unit), a TPU (Tensor Processing Unit), a quantum processor, a microcontroller, or a combination thereof, instead of the above-described CPU.
[0050] The information processing device 100 can be equipped with the acquisition unit 121 and learning unit 122 shown in FIG. 6 by having the CPU 101 acquire and execute the program group 104. The program group 104 is stored in advance in the storage device 105 or the ROM 102, for example, and is loaded into the RAM 103 and executed by the CPU 101 as needed. The program group 104 may be supplied to the CPU 101 via the communication network 111, or may be stored in advance in the storage medium 110, with the drive device 106 reading out the program and supplying it to the CPU 101. However, the acquisition unit 121 and learning unit 122 described above may be constructed using dedicated electronic circuits for realizing such means.
[0051] The acquiring unit 121 acquires each character recognition result output by inputting a character pattern included in an image into each of a plurality of character recognition engines, image feature information representing features extractable from the image, and correct / incorrect information representing the correctness of each of the character recognition results by the plurality of character recognition engines. In this case, the image feature information is, for example, features based on the characteristics of the image, features of the character pattern included in the image, features of the position of elements included in the image within the image, etc. The acquiring unit 121 may further acquire comparison information comparing each of the character recognition results and determination criterion information representing a criterion for determining the correctness of each of the character recognition results by the plurality of character recognition engines.
[0052] The learning unit 122 generates a character recognition model by learning using each character recognition result and image feature information as explanatory variables and each correct / incorrect information as a target variable. At this time, the learning unit 122 may include the above-mentioned comparison information and judgment criterion information in the explanatory variables.
[0053] With the above-described configuration, the present disclosure generates a character recognition model through machine learning using not only character recognition results from multiple character recognition engines but also image feature information that represents features that can be extracted from an image. As a result, it is possible to generate a character recognition model that has learned the output characteristics of character recognition by each character recognition engine according to various features of image data that is the target of character recognition, and by using such a character recognition model, it is possible to further improve the accuracy of character recognition processing.
[0054] The above-described program can be stored and supplied to a computer using various types of non-transitory computer-readable media. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs (Random Access Memory)). The program may also be supplied to a computer by various types of transitory computer-readable media. Examples of transitory computer-readable media include electrical signals, optical signals, and electromagnetic waves. The transitory computer-readable media can be supplied to a computer via wired communication paths such as electric wires and optical fibers, or via wireless communication paths.
[0055] Although the present disclosure has been described above with reference to the above-described embodiments, the present disclosure is not limited to the above-described embodiments. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present disclosure within the scope of the present disclosure. Furthermore, at least one or more of the functions of the acquisition unit 121 and the learning unit 122 described above may be executed by an information processing device installed and connected anywhere on a network, that is, may be executed by so-called cloud computing.
[0056] <Supplementary Notes> Some or all of the above embodiments may be described as in the following supplementary notes. Below, an outline of the configurations of an information processing device, an information processing method, and a program according to the present disclosure will be described. However, the present disclosure is not limited to the following configurations. (Supplementary Note 1) An information processing device comprising: an acquisition unit that acquires character recognition results output by inputting character patterns included in an image into a plurality of character recognition engines, image feature information representing features extractable from the image, and correct / incorrect information representing the correctness of each of the character recognition results by the plurality of character recognition engines; and a learning unit that generates a character recognition model by learning each of the character recognition results and the image feature information as explanatory variables and each of the correct / incorrect information as a target variable. (Supplementary Note 2) The information processing device according to Supplementary Note 1, wherein the acquisition unit acquires, as the image feature information, image characteristic feature information representing features based on characteristics of the image. (Supplementary Note 3) The information processing device according to Supplementary Note 2, wherein the acquisition unit acquires, as the image feature information, image characteristic feature information representing features based on characteristics of the image. (Supplementary Note 4) The information processing device according to Supplementary Note 1, wherein the acquisition unit acquires, as the image feature information, character feature information representing features of the character pattern included in the image. (Supplementary Note 5) The information processing device according to Supplementary Note 4, wherein the acquisition unit is configured to use the character feature information to represent features based on a result of character recognition of the character pattern. (Supplementary Note 6) The information processing device according to Supplementary Note 5, wherein the acquisition unit is configured to use the character feature information to represent features based on a type of character obtained as a result of character recognition of the character pattern. (Supplementary Note 7) The information processing device according to Supplementary Note 1, wherein the acquisition unit acquires, as the image feature information, position feature information representing features of positions of elements included in the image within the image. (Supplementary Note 8) The information processing device according to Supplementary Note 1, wherein the acquisition unit acquires comparison information comparing the character recognition results, and the learning unit learns using the comparison information as an explanatory variable. (Supplementary Note 9) The information processing device according to Supplementary Note 8, wherein the comparison information of the acquisition unit is information that indicates a difference between the character recognition results.(Supplementary Note 10) The information processing device according to Supplementary Note 1, wherein the acquisition unit acquires each of the character recognition results output by inputting the image before and after changing a characteristic of the image to each of the character recognition engines. (Supplementary Note 11) The information processing device according to Supplementary Note 1, wherein the acquisition unit acquires judgment criterion information representing a standard for judging the correctness of each of the character recognition results by the plurality of character recognition engines, and the learning unit learns using the judgment criterion information as an explanatory variable. (Supplementary Note 12) An information processing method comprising: acquiring each of the character recognition results output by inputting a character pattern included in an image to each of the plurality of character recognition engines, image feature information representing features extractable from the image, and correct / incorrect information representing the correctness of each of the character recognition results by the plurality of character recognition engines, and generating a character recognition model by learning each of the character recognition results and the image feature information as explanatory variables and each of the correct / incorrect information as a target variable. (Supplementary Note 13) A computer-readable storage medium storing a program for causing a computer to execute a process of acquiring each character recognition result output by inputting a character pattern included in an image into a plurality of character recognition engines, image feature information representing features extractable from the image, and each correct / incorrect information representing the correctness of each of the character recognition results by the plurality of character recognition engines, and generating a character recognition model by learning each of the character recognition results and the image feature information as explanatory variables and each correct / incorrect information as a target variable.
[0057] REFERENCE SIGNS LIST 10 Information processing device 11 Acquisition unit 12 Learning unit 13 Character recognition unit 14 Learning data storage unit 15 Model storage unit 20 Data generation system 21 First preprocessing unit 22 Second preprocessing unit 23 First recognition engine 24 Second recognition engine 25 Image feature extraction unit 26 Character feature extraction unit 27 Correctness determination unit 100 Information processing device 101 CPU 102 ROM 103 RAM 104 Program group 105 Storage device 106 Drive device 107 Communication interface 108 Input / output interface 109 Bus 110 Storage medium 111 Communication network 121 Acquisition unit 122 Learning unit
Claims
1. An information processing device comprising: an acquisition unit that acquires each character recognition result output by inputting a character pattern included in an image into a plurality of character recognition engines, image feature information that represents features that can be extracted from the image, and each correct / incorrect information that represents the correctness of each of the character recognition results by the plurality of character recognition engines; and a learning unit that generates a character recognition model by learning each of the character recognition results and the image feature information as explanatory variables and each of the correct / incorrect information as a target variable.
2. An information processing device according to claim 1, wherein the acquisition unit acquires, as the image feature information, image characteristic feature information that represents features based on characteristics of the image.
3. An information processing device according to claim 2, wherein the image characteristic feature information of the acquisition unit represents features based on characteristics of pixels of the image.
4. An information processing device according to claim 1, wherein the acquisition unit acquires, as the image feature information, character feature information representing features of the character pattern included in the image.
5. An information processing device according to claim 4, wherein the character feature information of the acquisition unit indicates features based on a result of character recognition of the character pattern.
6. An information processing device according to claim 5, wherein the character feature information of the acquisition unit indicates features based on the type of character obtained as a result of character recognition of the character pattern.
7. An information processing device according to claim 1, wherein the acquisition unit acquires, as the image feature information, position feature information representing the characteristics of the position within the image of an element contained in the image.
8. An information processing device according to claim 1, wherein the acquisition unit acquires comparison information obtained by comparing each of the character recognition results, and the learning unit learns the comparison information as an explanatory variable.
9. An information processing apparatus according to claim 8, wherein the comparison information obtained by the acquisition unit is information that indicates a difference between each of the character recognition results.
10. An information processing device according to claim 1, wherein the acquisition unit acquires the character recognition results output by inputting the image before and after changing the characteristics of the image to each of the character recognition engines.
11. An information processing device according to claim 1, wherein the acquisition unit acquires judgment criteria information representing criteria for judging the accuracy of each of the character recognition results obtained by the multiple character recognition engines, and the learning unit learns the judgment criteria information as an explanatory variable.
12. An information processing method comprising: inputting a character pattern contained in an image into a plurality of character recognition engines, respectively, and obtaining each character recognition result output by the plurality of character recognition engines; image feature information representing features extractable from the image; and accuracy information representing the accuracy of each of the character recognition results by the plurality of character recognition engines; and generating a character recognition model by learning the character recognition results and the image feature information as explanatory variables and the accuracy information as objective variables.
13. A computer-readable storage medium having stored therein a program for causing a computer to execute a process of acquiring each character recognition result output by inputting a character pattern contained in an image into a plurality of character recognition engines, image feature information representing features extractable from the image, and each correct / incorrect information representing the correctness of each of the character recognition results by the plurality of character recognition engines, and generating a character recognition model by learning each of the character recognition results and the image feature information as explanatory variables and each correct / incorrect information as a target variable.
Citation Information
Patent Citations
Character recognition method and device, computer readable medium and electronic equipment
CN114677668A
Character recognition device and program
JP2014071813A
Character recognition system, character recognition device, program and character recognition method
JP2020095374A
