Character string recognition support device, character string recognition support method, program and recording medium
The character string recognition support device addresses imaging condition variations by setting candidate areas, calculating evaluation values, and selecting suitable images, thereby improving recognition accuracy.
Patent Information
- Application Number
- JP2023034229
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-07
- Publication Date
- 2024-09-20
AI Technical Summary
Character recognition accuracy in harsh environments is compromised due to variations in imaging conditions, particularly for products like steel that cannot withstand durable tags, necessitating improved methods to manage product identification through image recognition.
A character string recognition support device and method that includes an image acquisition unit, character string candidate area setting, evaluation value calculation, and image selection to ensure suitable imaging conditions by setting a character string candidate area, calculating an evaluation value, and selecting images based on a threshold value.
The solution suppresses variations in imaging conditions, enhancing the accuracy of character recognition and improving overall recognition performance.
Smart Images

Figure 2024126079000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a character string recognition support device, a character string recognition support method, a program, and a recording medium. [Background technology]
[0002] It is necessary to manage each product individually to prevent erroneous shipments and mix-ups of products that flow through a production line. In this case, it is common to manage products by attaching tags such as barcodes or RFID tags. However, for products that are processed in harsh environments such as steel products, tags are not durable enough and cannot be attached. In such cases, products are managed by printing characters directly on them (for example, engraved, stamped, or sprayed with a stencil) (for example, Patent Document 1, etc.). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2021-164940 A Summary of the Invention [Problem to be solved by the invention]
[0004] In such a situation, images of products are taken to obtain the product's identification information through image recognition, but the accuracy of character recognition is closely related to the image capture conditions. This is the same in various fields where the identification information of items is managed through image recognition. For this reason, a method for suppressing the variation in image capture conditions is required.
[0005] SUMMARY OF THE PRESENT EMBODIMENTS Accordingly, an object of the present invention is to provide a character string recognition assistance device capable of suppressing variations in image capturing conditions for images for character string recognition. [Means for solving the problem]
[0006] In order to achieve the above object, the character string recognition support device of the present invention comprises: The image acquisition unit, the character string candidate area setting unit, the evaluation value calculation unit, and the image selection unit are included. The image acquisition unit acquires an image that is a target for character string recognition, the character string candidate area setting unit sets a character string candidate area for the character string recognition target image; the evaluation value calculation unit calculates an evaluation value of a character string recognition target image in which the character string candidate region is set, the evaluation value is an index indicating a character recognition suitability of the character string candidate region, The image selection unit selects an image subject to character string recognition, the image having an evaluation value equal to or greater than a threshold value, as an image for character string recognition.
[0007] The character string recognition support method of the present invention includes: The method includes an image acquisition step, a character string candidate region setting step, an evaluation value calculation step, and an image selection step, The image acquisition step acquires an image that is a target for character string recognition, The character string candidate region setting step includes setting a character string candidate region for the character string recognition target image, the evaluation value calculation step calculates an evaluation value of a character string recognition target image in which the character string candidate region is set, the evaluation value is an index indicating a character recognition suitability of the character string candidate region, The image selection step selects a character string recognition target image having an evaluation value equal to or greater than a threshold as an image for character string recognition.
[0008] The program of the present invention includes an image acquisition step, a character string candidate region setting step, an evaluation value calculation step, and an image selection step, The image acquisition step acquires an image that is a target for character string recognition, the character string candidate region setting step includes setting a character string candidate region for the character string recognition target image; the evaluation value calculation step calculates an evaluation value of a character string recognition target image in which the character string candidate region is set; the evaluation value is an index indicating a character recognition suitability of the character string candidate region, the image selection step includes selecting a character string recognition target image having an evaluation value equal to or greater than a threshold as an image for character string recognition; The program causes a computer to execute each of the above procedures.
[0009] The recording medium of the present invention comprises: The method includes an image acquisition step, a character string candidate region setting step, an evaluation value calculation step, and an image selection step. The image acquisition step acquires an image that is a target for character string recognition, the character string candidate region setting step includes setting a character string candidate region for the character string recognition target image; the evaluation value calculation step calculates an evaluation value of a character string recognition target image in which the character string candidate region is set; the evaluation value is an index indicating a character recognition suitability of the character string candidate region, the image selection step includes selecting a character string recognition target image having an evaluation value equal to or greater than a threshold as an image for character string recognition; The present invention is a computer-readable recording medium having recorded thereon a program for causing a computer to execute each of the above procedures. Effect of the Invention
[0010] According to the present invention, it is possible to suppress variation in the imaging conditions of an image for character string recognition. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a block diagram showing an example of a configuration of a character string recognition assisting device according to the first embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating an example of a hardware configuration of the character string recognition assistance device according to the first embodiment. [Diagram 3] FIG. 3 is a flowchart illustrating an example of processing in the character string recognition assisting device according to the first embodiment. [Figure 4] FIG. 4 is a block diagram illustrating an example of a configuration of a character string recognition assisting device according to the second embodiment. [Diagram 5] FIG. 5 is a flowchart showing an example of processing in the character string recognition assisting device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Next, an embodiment of the present invention will be described with reference to the drawings. The present invention is not limited to the following embodiment. In each of the drawings, the same parts are given the same reference numerals. In addition, the explanations of each embodiment can be mutually incorporated unless otherwise specified, and the configurations of each embodiment can be combined unless otherwise specified.
[0013] [Embodiment 1] The character string recognition support device of this embodiment will be described with reference to Fig. 1. Fig. 1 is a block diagram showing the configuration of an example of a character string recognition support device 10 of this embodiment. As shown in Fig. 1, the character string recognition support device 10 (hereinafter also referred to as "this device 10") includes an image acquisition unit 11, a character string candidate area setting unit 12, an evaluation value calculation unit 13, and an image selection unit 14. Although not shown, this device 10 may also include, for example, a storage unit, an input unit, and an output unit.
[0014] The device 10 may be, for example, a single device including each of the above-mentioned units, or a device to which each of the above-mentioned units can be connected via a communication line network. The device 10 may be connected to an external device described later via a communication line network. The communication line network is not particularly limited, and a known network may be used, for example, wired or wireless. Examples of the communication line network include an Internet line, a World Wide Web (WWW), a telephone line, a Local Area Network (LAN), a Storage Area Network (SAN), a Delay Tolerant Networking (DTN), a Low Power Wide Area (LPWA), and a Local 5G (L5G). Examples of wireless communication include Wi-Fi (registered trademark), Bluetooth (registered trademark), a Local 5G, and a LPWA. Examples of the wireless communication may include a form in which each device directly communicates with each other (Ad Hoc communication), an infrastructure (infrastructure communication), and an indirect communication via an access point. The device 10 may be incorporated into a server as a system, for example. Furthermore, the present device 10 may be, for example, a personal computer (PC, for example, desktop type or notebook type), a smartphone, a tablet terminal, or the like in which the program of the present invention is installed. The present device 10 may be an imaging terminal capable of imaging an object (for example, a smartphone with a camera, a tablet terminal, or the like), or may be a device capable of communicating with the imaging terminal. Furthermore, the present device 10 may be in the form of, for example, cloud computing or edge computing in which at least one of the above-mentioned parts is on a server and the other parts are on a terminal.
[0015] 2 illustrates a block diagram of a hardware configuration of the present device 10. The present device 10 includes, for example, a central processing unit (CPU, GPU, etc.) 101, a memory 102, a bus 103, a storage device 104, an input device 105, an output device 106, a communication device 107, etc. Each part of the present device 10 is connected to each other via the bus 103 by each interface (I / F).
[0016] The central processing unit 101 cooperates with other components through a controller (such as a system controller or an I / O controller) and controls the entire device 10. In the device 10, the central processing unit 101 executes, for example, the program of the present invention and other programs, and also reads and writes various information. Specifically, for example, the central processing unit 101 functions as an image acquisition unit 11, a character string candidate area setting unit 12, an evaluation value calculation unit 13, and an image selection unit 14. The device 10 may include, as a calculation device, other calculation devices such as a CPU, a GPU (Graphics Processing Unit), an APU (Accelerated Processing Unit), or a combination of these.
[0017] The bus 103 can also be connected to, for example, an external device. Examples of the external device include an external storage device (external database, etc.), a printer, an external input device, an external display device, an audio output device such as a speaker, an external imaging device such as a camera, and various sensors such as an acceleration sensor, a geomagnetic sensor, and a direction sensor. The device 10 can be connected to an external network (the communication line network) by, for example, a communication device 107 connected to the bus 103, and can also be connected to other devices such as a user's terminal via the external network.
[0018] An example of the memory 102 is a main memory (primary storage device). When the central processing unit 101 performs processing, the memory 102 reads various operation programs, such as the program of the present invention, stored in the storage device 104 described below, and the central processing unit 101 receives data from the memory 102 and executes the program. The main memory is, for example, a RAM (random access memory). The memory 102 may also be, for example, a ROM (read only memory).
[0019] The storage device 104 is also called an auxiliary storage device, for example, in contrast to the main memory (primary storage device). As described above, the storage device 104 stores an operation program including the program of the present invention. The storage device 104 may be, for example, a combination of a recording medium and a drive for reading and writing from and to the recording medium. The recording medium is not particularly limited, and may be, for example, an internal or external type, such as a HD (hard disk), a CD-ROM, a CD-R, a CD-RW, an MO, a DVD, a flash memory, or a memory card. The storage device 104 may be, for example, a hard disk drive (HDD) in which a recording medium and a drive are integrated, or a solid state drive (SSD). When the device 10 includes, for example, the storage unit, the storage device 104 functions as the storage unit. The storage device 104 may store, for example, at least one of a character string recognition target image, a character string candidate area, an evaluation value, a threshold value, a character string recognition image, and reference character string information, which will be described later.
[0020] In the present device 10, the memory 102 and the storage device 104 can also store various information such as log information, information acquired from an external database (not shown) or an external device, information generated by the present device 10, and information used when the present device 10 executes processing. Note that at least a portion of the information may be stored, for example, in an external server other than the memory 102 and the storage device 104, or may be stored in a distributed manner in multiple terminals using block chain technology or the like.
[0021] The device 10 further includes, for example, an input device 105 and an output device 106. The input device 105 may be, for example, a pointing device such as a touch panel, a track pad, or a mouse; a keyboard; an imaging means such as a camera or a scanner; a card reader such as an IC card reader or a magnetic card reader; and an audio input means such as a microphone. The output device 106 may be, for example, a display device such as an LED display or a liquid crystal display; an audio output device such as a speaker; a printer; or the like. In the first embodiment, the input device 105 and the output device 106 are configured separately, but the input device 105 and the output device 106 may be configured as an integrated device, such as a touch panel display.
[0022] Next, an example of the character string recognition support method of this embodiment will be described with reference to the flowchart of Fig. 3. The character string recognition support method of this embodiment is implemented as follows, for example, using the character string recognition support device 10 shown in Figs. 1 and 2. Note that the character string recognition support method of this embodiment is not limited to use of the character string recognition support device 10 shown in Figs. 1 and 2.
[0023] First, the image acquisition unit 11 of the character string recognition support device 10 acquires a character string recognition target image (S1, image acquisition step). The character string recognition target image is, for example, a candidate image for character string recognition, and may be an image including a character string, an image not including a character string, or an image that is unclear whether it includes a character string. The character string may be, for example, a known character string or an unknown character string, but is preferably a known character string. The characters included in the character string are not particularly limited, and examples thereof include English letters, numbers, symbols, hiragana, katakana, kanji, other characters, and combinations thereof. Specific examples of the character string include, for example, information for identifying products on a production line (serial number, manufacturing number, lot number, etc.). The character string included in the character string recognition target image preferably includes, for example, characters that are difficult to recognize by normal OCR processing. The "characters that are difficult to recognize by normal OCR processing" are not particularly limited, and examples thereof include characters printed by means of stencil spraying, stamp printing, engraving printing, etc., or handwritten characters. The image acquisition unit 11 may acquire the character string recognition target image by an imaging device such as a camera included in the device 10, or may acquire the character string recognition target image from an imaging device outside the device via a communication line network. The character string recognition target image may be, for example, a moving image or a still image, and may also be a captured image or a captured preview image. When the character string recognition target image is a captured preview image, the image acquisition unit 11 acquires, for example, the captured preview image in real time. The image acquisition unit 11 may store the acquired character string recognition target image in the storage device 104 or the memory 102, for example.
[0024] Next, the character string candidate area setting unit 12 sets a character string candidate area for the character string recognition target image (S2, character string candidate area setting step). The character string candidate area setting unit 12 can, for example, recognize whether the character string recognition target image includes characters or not, and set an area including the recognized characters as the character string candidate area. The character string candidate area setting unit 12 can, for example, recognize the characters by processing using deep learning, or can recognize the characters by using a known image processing method. The character recognition using deep learning can be performed, for example, by a GPU included in the present device 10, or by a CPU, or by a CPUGPU. In addition, the character string candidate area setting unit 12 can set the character string candidate area for the character string recognition target image by using, for example, reference character string information. The reference character string information is, for example, information on templates of character strings that may be included in the character string recognition target image. The reference character string information may be, for example, one type or two or more types, but it is preferable that the reference character string information is two or more types. In this case, the character string candidate area setting unit 12 can, for example, compare the character string recognition target image with the reference character string information, and set an area in the character string recognition target image that may match at least one of the reference character string information as the character string candidate area. The reference character string information may, for example, be stored in the storage unit, or may be stored in an external database. The character string candidate area setting unit 12 may, for example, be capable of visually displaying the set character string candidate area by displaying a binding box or the like. In this case, the character string candidate area setting unit 12 can, for example, set a margin of a predetermined size around the recognized character, and set an area around the character including the margin as the character string candidate area. The size of the margin is not particularly limited, and can be set to any size. By including the character and the character margin in the character string candidate area, for example, it is possible to suppress a part of the character included in the character string from being out of the character string candidate area. The character string candidate area setting unit 12 can, for example, store the set character string candidate area in the storage device 104 or the memory 102. In this case, for example, the character string candidate area setting unit 12 can store the character string candidate area and the character string recognition target image in which the character string candidate area is set in association with each other.
[0025] Next, the evaluation value calculation unit 13 calculates an evaluation value of the character string recognition target image in which the character string candidate region is set (S3, evaluation value calculation step). The evaluation value is an index indicating the character recognition suitability of the character string candidate region. For example, the evaluation value calculation unit 13 preferably calculates at least one selected from a group consisting of the number of matches of characters constituting the character string, the certainty of character recognition, and the value of the imaging condition as the evaluation value. The number of matches of characters constituting the character string and the certainty of character recognition may be calculated by evaluating the character string candidate region by a process using deep learning, or may be calculated by comparing the character string candidate of the character string candidate region with reference character string information by an image processing method using a known pattern matching process such as template matching. The reference character string information is, for example, as described above. The process using deep learning can be executed by using a deep learning network having a structure similar to template matching, for example. The evaluation value calculation unit 13 can, for example, compare the character string candidate region with the reference character string information and calculate the number of matches between each character constituting a character string included in the character string candidate region and the character constituting the reference character information. The evaluation value calculation unit 13 can, for example, calculate a similarity between the character string candidate of the character string candidate region and the reference character string information by the pattern matching process, and calculate the calculated similarity (also called a confidence level) as the evaluation value. The value of the imaging condition is not particularly limited, and is, for example, an index indicating the imaging quality of the character string recognition target image. Specific examples of the imaging condition include values such as edge strength and contrast. The evaluation value calculation unit 13 can, for example, calculate the shading values of the background image of the character string recognition target image and the character region of the character string recognition target image as the evaluation value, and calculate the difference between the shading values as the contrast. The evaluation value calculation unit 13 can also, for example, calculate the magnitude of change in pixel value of the character string recognition target image as edge strength as the evaluation value. The evaluation value calculated by the evaluation value calculation unit 13 may be, for example, one type, but it is preferable that it is two or more types, and it is even more preferable that it is a combination of the number of matches of characters that make up the string of characters, the confidence level of character recognition, and the values of the imaging conditions.The evaluation value calculation unit 13 may store the calculated evaluation value in, for example, the storage device 104 or the memory 102. In this case, the evaluation value calculation unit 13 can store, for example, the character string candidate region and the character string recognition target image in which the character string candidate region is set in association with each other.
[0026] Next, the image selection unit 14 selects the character string recognition target image having the evaluation value equal to or greater than a threshold value as the character string recognition image (S4, image selection step). The threshold value is not particularly limited, and can be set for each type of evaluation value, for example. When the evaluation value includes the confidence level of the character recognition, the threshold value can be set to, for example, any value of the confidence level of the template matching. As a specific example, when the confidence level of the template matching is calculated as 0 to 1.0, the threshold value can be set to, for example, 0.4 or more, 0.5 or more, 0.6 or more, 0.65 or more, 0.7 or more, or 0.8 or more. When the evaluation value includes the number of matches of the characters, the threshold value can be set to, for example, the absolute value of the number of matches of the characters, or the ratio of the matched characters to the entire character string. When the evaluation value includes the value of the imaging condition, the threshold value can be set to, for example, the difference in grayscale value between the background image and the character region in the character string recognition target image. As a specific example, when the imaging condition is edge strength, the threshold value of the difference in grayscale value can be set to, for example, 20 or more. Moreover, when the imaging condition is contrast, the threshold value of the difference in the gradation value can be set to 10 or more. When the evaluation value includes a plurality of types of indexes, the image selection unit 14 may select, for example, a character string recognition target image in which all evaluation values are equal to or greater than a threshold value as the character string recognition image, or may select, for example, a character string recognition target image in which some evaluation values are equal to or greater than a threshold value as the character string recognition image. For example, the image selection unit 14 may select a character string recognition target image based on a plurality of evaluation values, thereby selecting a more appropriate image as the character string recognition image. Furthermore, when the character string recognition target image is a preview image, the image selection unit 14 may select a character string recognition target image equal to or greater than the threshold value as the character string recognition image, and capture the selected image. For example, the image selection unit 14 may store the selected character string recognition image in the storage device 104 or the memory 102.
[0027] Furthermore, the image selection unit 14 may select an image for character string recognition based on the evaluation value, for example, when a situation in which the evaluation value is less than a threshold value satisfies a predetermined condition. Examples of the "situation satisfies a predetermined condition" include a case in which the image capture time for an image for character string recognition exceeds a predetermined time, a case in which the number of times an image to be subjected to character string recognition is captured exceeds a predetermined number, and a case in which the data size of the image for character string recognition exceeds a predetermined size. The selection based on the evaluation value may, for example, select an image with the highest evaluation value, or may select multiple images in descending order of the evaluation value.
[0028] The present device 10 may, for example, output the selected image for character string recognition by the output unit. In this case, the present device 10 may, for example, output the image for character string recognition to the output device 106 of the present device 10, or to an external device. The external device may, for example, be a device having a character recognition function. Furthermore, the present device 10 may, for example, output the image for character string recognition to a character string recognition unit described later in embodiment 2.
[0029] According to the character string recognition support device 10 of this embodiment, an evaluation value of an image to be subjected to character string recognition is calculated, and an image for character recognition can be selected based on the evaluation value. Therefore, according to the character string recognition support device 10 of this embodiment, it is possible to suppress variation in the imaging conditions of the image for character string recognition.
[0030] [Embodiment 2] The second embodiment is another example of a character string recognition assistance device according to the present invention.
[0031] The string recognition support device of this embodiment is similar to the string recognition support device 10 of the first embodiment except that it includes a string recognition unit in addition to the configuration of the string recognition support device 10 of the first embodiment, and the description thereof can be used. The string recognition support device 10A of this embodiment includes, for example, a string recognition unit, and the string recognition unit performs string recognition from the string recognition image.
[0032] FIG. 4 is a block diagram showing an example of the configuration of the character string recognition support device 10A of this embodiment. As shown in FIG. 4, the character string recognition support device 10A includes a character string recognition unit 15 in addition to the configuration of the character string recognition support device 10 of the first embodiment. The hardware configuration of the character string recognition support device 10A is the same as that of the character string recognition support device 10 of FIG. 2, except that the central processing unit 101 has the configuration of the character string recognition support device 10A of FIG. 4 instead of the configuration of the character string recognition support device 10 of FIG. 1. The processing of the character string recognition unit 15 will be described below. The processing of the character string recognition unit 15 can be inserted, for example, at any position in the flowchart of FIG. 3 described in the first embodiment, but it is preferable to insert it after S4 as shown in FIG. 5.
[0033] First, similarly to S1 to S4 in the character string recognition support method of the first embodiment, S1 to S4 are carried out to select an image for character string recognition.
[0034] Next, the character string recognition unit 15 performs character string recognition from the character string recognition image (S5, character string recognition step). The character string recognition may be performed, for example, by processing using deep learning to recognize the character string, or may be performed in the same manner as general character string recognition processing (for example, optical character recognition (OCR)). The character string recognition using deep learning may be performed, for example, by a GPU included in the present device 10A, by a CPU, or by a CPU-GPU.
[0035] According to the character string recognition support device of the present invention, an evaluation value of a character string recognition target image is calculated, and a character string can be recognized from a character recognition image selected based on the evaluation value. Therefore, according to the character string recognition support device 10 of the present embodiment, the variation in the imaging conditions of the character string recognition image can be suppressed, and as a result, the accuracy of character recognition can be improved. Also, for example, in a production line or the like, when the recognition of the management number of an intermediate product, a finished product, or the like is performed by image processing, if the imaging conditions of the image including the management number are not stable, the accuracy of character recognition cannot be achieved, which may cause frustration of the worker, and further unstable imaging conditions, resulting in a vicious cycle. In such a case, according to the character string recognition support device of the present invention, an image for character string recognition can be selected based on the evaluation value of the character string candidate region, and therefore the accuracy of character recognition can be improved.
[0036] [Embodiment 3] The program of this embodiment is a program for causing a computer to execute each step of the character string recognition support method described above. Specifically, the program of this embodiment is a program for causing a computer to execute an image acquisition step, a character string candidate area setting step, an evaluation value calculation step, and an image selection step.
[0037] The image acquisition step acquires an image that is a target for character string recognition, the character string candidate region setting step includes setting a character string candidate region for the character string recognition target image; the evaluation value calculation step calculates an evaluation value of a character string recognition target image in which the character string candidate region is set; The image selection step selects an image subject to character string recognition, the image having an evaluation value equal to or greater than a threshold value, as an image for character string recognition.
[0038] The program of the present embodiment can also be said to be a program that causes a computer to function as an image acquisition step, a character string candidate area setting step, an evaluation value calculation step, and an image selection step.
[0039] The program of this embodiment can be implemented by using the description of the character string recognition support device and the character string recognition support method of the present invention. In each of the steps, for example, the "step" can be replaced with "processing". In addition, the program of this embodiment may be recorded in a computer-readable recording medium. The recording medium is, for example, a non-transitory computer-readable storage medium. The recording medium is not particularly limited, and examples thereof include a random access memory (RAM), a read-only memory (ROM), a hard disk (HD), a flash memory (for example, a solid state drive (SSD), a USB flash memory, an SD / SDHC card, etc.), an optical disk (for example, a CD-R / CD-RW, a DVD-R / DVD-RW, a BD-R / BD-RE, etc.), a magneto-optical disk (MO), a floppy disk (FD), etc. In addition, the program of this embodiment (for example, also referred to as a programming product or a program product) may be in a form distributed from an external computer, for example. The "distribution" may be, for example, distribution via a communication network or distribution via a device connected by a wire. The program of the present embodiment may be installed and executed in the device to which it is distributed, or may be executed without being installed.
[0040] Although the present invention has been described above with reference to the embodiment, the present invention is not limited to the above embodiment. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.
[0041] <Additional Notes> Some or all of the above embodiments may be described as follows, but are not limited to the following: (Appendix 1) The image acquisition unit, the character string candidate area setting unit, the evaluation value calculation unit, and the image selection unit are included. The image acquisition unit acquires an image that is a target for character string recognition, the character string candidate area setting unit sets a character string candidate area for the character string recognition target image; the evaluation value calculation unit calculates an evaluation value of a character string recognition target image in which the character string candidate region is set, the evaluation value is an index indicating a character recognition suitability of the character string candidate region, The image selection unit selects an image subject to character string recognition, the evaluation value of which is equal to or greater than a threshold, as an image for character string recognition. (Appendix 2) 2. The character string recognition assistance device according to claim 1, wherein the character string candidate region setting unit sets the character string candidate region for the character string recognition target image by using reference character string information. (Appendix 3) 3. The character string recognition assistance device according to claim 1, wherein the evaluation value calculation unit calculates, as the evaluation value, at least one selected from the group consisting of a number of matches of characters constituting a character string, a degree of certainty of character recognition, and values of imaging conditions. (Appendix 4) The character string recognition assistance device according to any one of claims 1 to 3, wherein the image selection unit selects an image for character string recognition based on the evaluation value when a situation in which the evaluation value is less than a threshold value satisfies a predetermined condition. (Appendix 5) A character string recognition unit is included. 5. The character string recognition support device according to claim 1, wherein the character string recognition unit performs character string recognition from the character string recognition image. (Appendix 6) The method includes an image acquisition step, a character string candidate region setting step, an evaluation value calculation step, and an image selection step, The image acquisition step acquires an image that is a target for character string recognition, The character string candidate region setting step includes setting a character string candidate region for the character string recognition target image, the evaluation value calculation step calculates an evaluation value of a character string recognition target image in which the character string candidate region is set, the evaluation value is an index indicating a character recognition suitability of the character string candidate region, The image selection step selects a character string recognition target image having an evaluation value equal to or greater than a threshold as an image for character string recognition. (Appendix 7) 7. The character string recognition support method according to claim 6, wherein the character string candidate region setting step sets the character string candidate region for the character string recognition target image by using reference character string information. (Appendix 8) The character string recognition assistance method according to claim 6 or 7, wherein the evaluation value calculation step calculates, as the evaluation value, at least one selected from the group consisting of the number of matches of characters constituting a character string, a degree of certainty of character recognition, and values of imaging conditions. (Appendix 9) The character string recognition support method according to any one of appendices 6 to 8, wherein the image selection step selects an image for character string recognition based on the evaluation value when a situation in which the evaluation value is less than a threshold value satisfies a predetermined condition. (Appendix 10) A character string recognition process is included. The character string recognition support method according to any one of appendix 6 to 9, wherein the character string recognition step performs character string recognition from the image for character string recognition. (Appendix 11) The method includes an image acquisition step, a character string candidate region setting step, an evaluation value calculation step, and an image selection step. The image acquisition step acquires an image that is a target for character string recognition, the character string candidate region setting step includes setting a character string candidate region for the character string recognition target image; the evaluation value calculation step calculates an evaluation value of a character string recognition target image in which the character string candidate region is set; the evaluation value is an index indicating a character recognition suitability of the character string candidate region, the image selection step includes selecting a character string recognition target image having an evaluation value equal to or greater than a threshold as an image for character string recognition; A program for causing a computer to execute each of the above procedures. (Appendix 12) 12. The program according to claim 11, wherein the character string candidate region setting step sets the character string candidate region for the character string recognition target image by using reference character string information. (Appendix 13) 13. The program according to claim 11 or 12, wherein the evaluation value calculation step calculates, as the evaluation value, at least one selected from the group consisting of the number of matches of characters constituting a character string, a degree of certainty of character recognition, and values of imaging conditions. (Appendix 14) 14. The program according to any one of appendices 11 to 13, wherein the image selection step selects an image for character string recognition based on the evaluation value when a situation in which the evaluation value is less than a threshold value satisfies a predetermined condition. (Appendix 15) Includes a string recognition procedure, The program according to any one of appendices 11 to 14, wherein the character string recognition step performs character string recognition from the image for character string recognition. (Appendix 16) The method includes an image acquisition step, a character string candidate region setting step, an evaluation value calculation step, and an image selection step. The image acquisition step acquires an image that is a target for character string recognition, the character string candidate region setting step includes setting a character string candidate region for the character string recognition target image; the evaluation value calculation step calculates an evaluation value of a character string recognition target image in which the character string candidate region is set; the evaluation value is an index indicating a character recognition suitability of the character string candidate region, the image selection step includes selecting a character string recognition target image having an evaluation value equal to or greater than a threshold as an image for character string recognition; A computer-readable recording medium having recorded thereon a program for causing a computer to execute each of the above procedures. (Appendix 17) 17. The recording medium according to claim 16, wherein the character string candidate region setting step sets the character string candidate region for the character string recognition target image by using reference character string information. (Appendix 18) 18. The recording medium according to claim 16, wherein the evaluation value calculation step calculates, as the evaluation value, at least one selected from the group consisting of the number of matches of characters constituting a character string, a degree of certainty of character recognition, and values of imaging conditions. (Appendix 19) 19. The recording medium according to any one of appendices 16 to 18, wherein the image selection step selects an image for character string recognition based on the evaluation value when a situation in which the evaluation value is less than a threshold value satisfies a predetermined condition. (Appendix 20) Includes a string recognition procedure, 20. The recording medium according to claim 16, wherein the character string recognition step performs character string recognition from the image for character string recognition. [Industrial Applicability]
[0042] According to the present invention, it is possible to calculate an evaluation value of an image that is a target for character string recognition, and to select an image for character recognition based on the evaluation value. Therefore, according to the present invention, it is possible to suppress variation in the imaging conditions of the image for character string recognition. Therefore, the present invention is widely useful in fields that utilize character recognition. [Explanation of symbols]
[0043] 10 Character string recognition support device 11 Image acquisition section 12 Character string candidate area setting section 13 Evaluation value calculation unit 14 Image selection section 15 string recognition section 101 Central Processing Unit 102 Memory 103 Bus 104 Storage device 105 Input Device 106 Output Device 107 Communication Devices
Claims
1. The image acquisition unit, the character string candidate area setting unit, the evaluation value calculation unit, and the image selection unit are included. The image acquisition unit acquires an image that is a target for character string recognition, the character string candidate area setting unit sets a character string candidate area for the character string recognition target image; the evaluation value calculation unit calculates an evaluation value of a character string recognition target image in which the character string candidate region is set, the evaluation value is an index indicating a character recognition suitability of the character string candidate region, The image selection unit selects an image subject to character string recognition, the evaluation value of which is equal to or greater than a threshold, as an image for character string recognition.
2. The character string recognition support device according to claim 1 , wherein the character string candidate region setting unit sets the character string candidate region for the character string recognition target image by using reference character string information.
3. 3. The character string recognition assistance device according to claim 1, wherein the evaluation value calculation unit calculates, as the evaluation value, at least one selected from the group consisting of a number of matches of characters constituting a character string, a degree of certainty of character recognition, and values of imaging conditions.
4. The character string recognition assisting device according to claim 1 , wherein the image selection unit selects an image for character string recognition based on the evaluation value when a state in which the evaluation value is less than a threshold value satisfies a predetermined condition.
5. A character string recognition unit is included. The character string recognition assisting device according to claim 1 , wherein the character string recognizing unit recognizes a character string from the character string recognition image.
6. The method includes an image acquisition step, a character string candidate region setting step, an evaluation value calculation step, and an image selection step, The image acquisition step acquires an image that is a target for character string recognition, The character string candidate region setting step includes setting a character string candidate region for the character string recognition target image, the evaluation value calculation step calculates an evaluation value of a character string recognition target image in which the character string candidate region is set, the evaluation value is an index indicating a character recognition suitability of the character string candidate region, The image selection step selects a character string recognition target image having an evaluation value equal to or greater than a threshold as an image for character string recognition.
7. 7. The method according to claim 6, wherein the character string candidate region setting step sets the character string candidate region for the character string recognition target image by using reference character string information.
8. 8. The character string recognition assistance method according to claim 6, wherein the evaluation value calculation step calculates, as the evaluation value, at least one selected from the group consisting of a number of matches of characters constituting the character string, a degree of certainty of character recognition, and values of imaging conditions.
9. The method includes an image acquisition step, a character string candidate region setting step, an evaluation value calculation step, and an image selection step. The image acquisition step acquires an image that is a target for character string recognition, the character string candidate region setting step includes setting a character string candidate region for the character string recognition target image; the evaluation value calculation step calculates an evaluation value of a character string recognition target image in which the character string candidate region is set; the evaluation value is an index indicating a character recognition suitability of the character string candidate region, the image selection step includes selecting a character string recognition target image having an evaluation value equal to or greater than a threshold as an image for character string recognition; A program for causing a computer to execute each of the above procedures.
10. The method includes an image acquisition step, a character string candidate region setting step, an evaluation value calculation step, and an image selection step. The image acquisition step acquires an image that is a target for character string recognition, the character string candidate region setting step includes setting a character string candidate region for the character string recognition target image; the evaluation value calculation step calculates an evaluation value of a character string recognition target image in which the character string candidate region is set; the evaluation value is an index indicating a character recognition suitability of the character string candidate region, the image selection step includes selecting a character string recognition target image having an evaluation value equal to or greater than a threshold as an image for character string recognition; A computer-readable recording medium having recorded thereon a program for causing a computer to execute each of the above procedures.
Citation Information
Patent Citations
OCR identification method and device based on template matching, and storage medium
CN110008944A
Document reader
JP1999203411A
Text quality-based feedback to improve OCR
JP2015537325A
Information processing device, information processing method, and program
JP2018025981A
Text region detection system and method
US20120224765A1
