Character recognition device, character recognition method, program and character recognition model

JP2024141575APending Publication Date: 2024-10-10DAI NIPPON PRINTING CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023053305
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-10

AI Technical Summary

Benefits of technology

【0007】 本開示によると、日本語に特有の文字や文章に適した文字認識技術を提供することができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024141575000001_ABST
    Figure 2024141575000001_ABST
Patent Text Reader

Abstract

To provide a character recognition technique suitable for characters or sentences unique to Japanese language.SOLUTION: A character recognition device includes: a data acquisition part configured to acquire first image data showing a character with a pronunciation display added; and a character recognition part configured to input the first image data to a first character recognition model having learned a character recognition result to the character with the pronunciation display added and to acquire a recognition result of the character from the character recognition model.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a character recognition device, a character recognition method, a program, and a character recognition model. [Background technology]

[0002] With the recent advances in deep learning, machine learning has been applied to a wide range of technical fields. For example, in character recognition, the use of machine learning models is increasing to improve recognition accuracy. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2022-019257 [Patent Document 2] JP 2022-180866 A Summary of the Invention [Problem to be solved by the invention]

[0004] Unlike English, Japanese uses not only horizontal but also vertical text. In addition, furigana (hereinafter referred to as "ruby") is sometimes added to difficult-to-read kanji characters and texts for children. Character recognition of these unique Japanese texts can be difficult for machine learning models developed based on English.

[0005] An object of the present disclosure is to provide a character recognition technology suitable for characters and sentences unique to the Japanese language. [Means for solving the problem]

[0006] One aspect of the present disclosure relates to a character recognition device having a data acquisition unit that acquires first image data indicating characters with ruby ​​annotations, and a character recognition unit that inputs the first image data to a first character recognition model that has learned character recognition results for characters with ruby ​​annotations, and acquires recognition results for the characters from the character recognition model. Effect of the Invention

[0007] According to the present disclosure, it is possible to provide a character recognition technology suitable for characters and sentences unique to the Japanese language. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a schematic diagram illustrating a character recognition device according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a schematic diagram illustrating a character recognition process according to the first embodiment of the present disclosure. [Diagram 3] FIG. 3 is a schematic diagram illustrating a character recognition process according to the second embodiment of the present disclosure. [Figure 4] FIG. 4 is a block diagram illustrating a hardware configuration of a character recognition device according to an embodiment of the present disclosure. [Diagram 5] FIG. 5 is a block diagram showing a functional configuration of the character recognition device according to the first embodiment of the present disclosure. [Figure 6] FIG. 6 is a schematic diagram showing an example of distinguishing between a vertically written character string and a horizontally written character string according to the first embodiment of the present disclosure. [Figure 7] FIG. 7 is a schematic diagram showing the rotation of a vertically written character string according to the first embodiment of the present disclosure. [Figure 8] FIG. 8 is a schematic diagram showing a character recognition model according to the first embodiment of the present disclosure. [Figure 9] FIG. 9 is a flowchart showing the character recognition process according to the first embodiment of the present disclosure. [Figure 10] FIG. 10 is a block diagram showing a functional configuration of a character recognition device according to the second embodiment of the present disclosure. [Figure 11]FIG. 11 is a schematic diagram showing a character recognition model according to the second embodiment of the present disclosure. [Figure 12] FIG. 12 is a schematic diagram showing a character recognition model according to the second embodiment of the present disclosure. [Figure 13] FIG. 13 is a schematic diagram showing a character recognition model according to the second embodiment of the present disclosure. [Figure 14] FIG. 14 is a flowchart showing the character recognition process according to the second embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.

[0010] In the following embodiment, a character recognition device that recognizes characters and / or character strings to be recognized is disclosed.

[0011] [Summary of the Disclosure] 1, upon receiving image data indicating characters and / or character strings to be recognized, character recognition device 100 outputs a recognition result of the characters and / or character strings in the image data using character recognition model 10, which will be described in detail below. Here, the characters and / or character strings to be recognized may include vertically written character strings, which are a notation unique to the Japanese language, characters / character strings with ruby, and / or a combination of these. Character recognition model 10 may be realized as any machine learning model, such as a neural network.

[0012] First, in the first embodiment of the present disclosure, character recognition device 100A executes character recognition on a vertically written character string and obtains a recognition result of the character string. For example, as shown in FIG. 2, when image data showing a vertically written character string "cut down a tree" is obtained as a character string to be recognized, character recognition device 100A according to the first embodiment rotates the vertically written character string "cut down a tree" in the image data by 90 degrees to generate image data showing a horizontally written vertically written character string "cut down a tree". Then, character recognition device 100A inputs the image data showing the horizontally written vertically written character string "cut down a tree" to character recognition model 10A and obtains "cut down a tree" as text data or the like as a recognition result from character recognition model 10A.

[0013] Character recognition model 10A used in character recognition device 100A is trained to output a character recognition result of a vertically written character string when image data showing the horizontally written vertically written character string is acquired by rotating the vertically written character string by 90 degrees. In other words, character recognition model 10A is trained to recognize the horizontally written vertically written character string from its shape. Such character recognition model 10A can improve the character recognition accuracy for vertically written character strings that are unique to Japanese, compared to conventional character recognition models that recognize horizontally written character strings.

[0014] Next, in a second embodiment of the present disclosure, character recognition device 100B executes character recognition on characters and / or character strings with ruby ​​characters, and obtains a recognition result for the character string. For example, as shown in FIG. 3, when a character string with ruby ​​characters "Wagahai (ruby: wagahai) is a cat" is obtained as a character string to be recognized, character recognition device 100B according to the second embodiment inputs image data indicating the character string with ruby ​​characters "Wagahai (ruby: wagahai) is a cat" to character recognition model 10B, and obtains "Wagahai is a cat" as text data or the like as a recognition result from character recognition model 10B. In other words, character recognition device 100B recognizes a character string without ruby ​​characters from a character string with ruby ​​characters.

[0015] Character recognition model 10B used in character recognition device 100B is trained using image data showing characters and / or character strings with ruby ​​as training data so as to output character recognition results of the characters and / or character strings without ruby ​​when image data showing characters and / or character strings with ruby ​​is acquired. In other words, character recognition model 10B is trained to recognize characters and / or character strings with ruby ​​from their shapes, i.e., to recognize the ruby ​​portion and delete the recognized ruby ​​portion. Such character recognition model 10B can improve character recognition accuracy for characters and / or character strings with ruby ​​that are specific to Japanese, compared to conventional character recognition models that recognize characters and / or character strings without ruby.

[0016] Here, character recognition devices 100, 100A, and 100B (hereinafter, may be collectively referred to as character recognition device 100) may be realized by a computing device such as a personal computer (PC), a smartphone, a tablet, a server, etc., and may have a hardware configuration as shown in Fig. 4. That is, character recognition device 100 has a drive device 101, a storage device 102, a memory device 103, a processor 104, a user interface (UI) device 105, and a communication device 106, which are interconnected via a bus B.

[0017] The programs or instructions for implementing various functions and processes in the character recognition device 100 may be stored in a removable storage medium such as a CD-ROM (Compact Disk-Read Only Memory) or a flash memory. When the storage medium is set in the drive device 101, the programs or instructions are installed from the storage medium via the drive device 101 into the storage device 102 or the memory device 103. However, the programs or instructions do not necessarily have to be installed from the storage medium, and may be downloaded from any external device via a network or the like.

[0018] The storage device 102 is realized by a hard disk drive or the like, and stores installed programs or instructions as well as files, data, etc. used in executing the programs or instructions.

[0019] The memory device 103 is realized by a random access memory, a static memory, or the like, and when a program or an instruction is activated, reads and stores the program or instruction, data, or the like from the storage device 102. The storage device 102, the memory device 103, and the removable storage medium may be collectively referred to as a non-transitory storage medium.

[0020] The processor 104 may be realized by one or more CPUs (Central Processing Units), GPUs (Graphics Processing Units), processing circuitry, etc., which may be composed of one or more processor cores, and performs various functions and processes of the character recognition device 100 in accordance with programs, instructions, data such as parameters necessary to execute the programs or instructions, etc. stored in the memory device 103.

[0021] The user interface (UI) device 105 may be composed of input devices such as a keyboard, a mouse, a camera, a microphone, etc., output devices such as a display, a speaker, a headset, a printer, etc., and input / output devices such as a touch panel, and realizes an interface between a user and the character recognition device 100. For example, a user operates the character recognition device 100 by operating a GUI (Graphical User Interface) displayed on a display or a touch panel using a keyboard, a mouse, etc.

[0022] The communication device 106 is realized by various communication circuits that execute wired and / or wireless communication processing with an external device, the Internet, a LAN (Local Area Network), a cellular network, or other communication network.

[0023] However, the above-described hardware configuration is merely an example, and the character recognition device 100 according to the present disclosure may be realized by any other appropriate hardware configuration.

[0024] [First embodiment] Next, character recognition device 100A according to the first embodiment of the present disclosure will be described with reference to FIG. 5. As described above, character recognition device 100A according to the first embodiment of the present disclosure executes character recognition on a vertically written character string and obtains a recognition result of the character string. Specifically, when image data indicating a vertically written character string is obtained, character recognition device 100A rotates the vertically written character string in the image data by 90 degrees to generate image data indicating a horizontally written vertically written character string. Then, character recognition device 100A inputs the image data indicating the horizontally written vertically written character string to character recognition model 10A and obtains a recognition result from character recognition model 10A.

[0025] Fig. 5 is a block diagram showing a functional configuration of character recognition device 100A according to the first embodiment of the present disclosure. As shown in Fig. 5, character recognition device 100A has data acquisition unit 110A, character string rotation unit 120A, and character recognition unit 130A. Each functional unit of data acquisition unit 110A, character string rotation unit 120A, and character recognition unit 130A may be realized by processor 104 executing a computer program stored in memory device 103 of character recognition device 100A.

[0026] The data acquisition unit 110A acquires image data indicating a vertically written character string. For example, when acquiring image data including a character string to be recognized, such as a character string displayed on the image data captured by a camera, scanner, etc., the data acquisition unit 110A recognizes an image portion assumed to be a character, and specifies a character string area one line or one column at a time from the size and interval of the recognized image portion. Then, depending on whether the aspect ratio of the specified block of character string areas is vertically long or horizontally long, it determines whether to rotate the specified character string area. When the aspect ratio of the character string area is vertically long, the data acquisition unit 110A transfers the specified character string area to the character string rotation unit 120A in order to rotate the specified character string area. On the other hand, when the aspect ratio of the character string area is horizontally long, the data acquisition unit 110A transfers the specified character string area to the character recognition unit 130A.

[0027] When multiple lines of character strings are detected at the time of detecting a block of character string areas, the data acquisition unit 110A may detect a vertically written character string based on the ratio between the size (HI) of the space between characters in the horizontal direction and the size (VI) of the space between characters in the vertical direction in the image data. For example, when the character string to be recognized is horizontally written, as shown in FIG. 6A, the size (HI) of the space between characters in the horizontal direction is significantly smaller than the size (VI) of the space between characters in the vertical direction (HI < VI). On the other hand, when the character string to be recognized is vertically written, as shown in FIG. 6B, the size (HI) of the space between characters in the horizontal direction is significantly larger than the size (VI) of the space between characters in the vertical direction (HI > VI). Therefore, the data acquisition unit 110A may calculate the size (HI) of the space between characters in the horizontal direction and the size (VI) of the space between characters in the vertical direction in the image data, and determine whether the character string displayed in the image data is horizontally written or vertically written based on the ratio HI / VI. For example, when the ratio HI / VI is smaller than a predetermined threshold such as 1, the data acquisition unit 110A may determine that the character string to be recognized is horizontally written. On the other hand, when the ratio HI / VI is larger than a predetermined threshold such as 1, the data acquisition unit 110A may determine that the character string to be recognized is vertically written.

[0028] When the character string rotation unit 120A detects a character string region that is vertically long or a vertically written character string, the character string rotation unit 120A rotates image data indicating a vertically written character string to generate image data indicating a horizontally written vertical character string. Specifically, when image data indicating a vertically written character string is acquired from the data acquisition unit 120A, the character string rotation unit 120A converts the image data indicating a vertically written character string into image data indicating a horizontally written vertical character string by rotating the acquired image data by 90 degrees. For example, as shown in FIG. 7, the character string rotation unit 120A rotates image data indicating a vertically written character string "pearl culture" by 90 degrees counterclockwise to acquire image data indicating a horizontally written vertical character string "pearl culture". In the illustrated example, the rotation direction is shown as counterclockwise, but the rotation direction according to the present disclosure is not limited thereto and may be clockwise, and may be set in accordance with the rotation direction applied to the training data of the character recognition model 10A.

[0029] Character recognition unit 130A inputs image data representing a horizontally oriented, vertically written character string to character recognition model 10A, and acquires a recognition result of the character string from character recognition model 10A. Specifically, when image data representing a horizontally oriented, vertically written character string is acquired from character string rotation unit 120A, character recognition unit 130A inputs the acquired image data representing the horizontally oriented, vertically written character string to character recognition model 10A, and acquires text data of the character string as a recognition result from character recognition model 10A.

[0030] Here, the character recognition model 10A may be trained by training data consisting of image data showing a horizontal vertically written character string obtained by rotating a vertically written character string horizontally and a recognition result of the character string. For example, the character recognition model 10A may be trained by extracting a plurality of vertically written character strings from various sentences such as example sentences in dictionaries and publications, and using training data consisting of a pair of image data showing the extracted vertically written character strings rotated 90 degrees counterclockwise or clockwise and text data of the vertically written character string. The character recognition model 10A may be realized as, for example, a convolutional neural network, and the parameters of the character recognition model 10A may be updated according to a difference between an output result and a correct recognition result for training image data showing a horizontally written vertical character string according to a known training algorithm such as an error backpropagation method. The character recognition model 10A trained in this way may obtain image data showing a horizontally written vertically written character string obtained by rotating image data showing a vertically written character string horizontally, as shown in FIG. 8, and output a recognition result of the character string. That is, character recognition model 10A estimates the recognition result of a character string written vertically and horizontally based on the shape of the character string in the image data.

[0031] Character recognition model 10A may be capable of recognizing not only vertically written character strings but also horizontally written character strings. That is, when character recognition model 10A obtains image data showing a horizontally written character string, it may output a recognition result of the character string.

[0032] Character recognition model 10A may be installed in character recognition device 100A, or may be stored in an external server (not shown) connected via communication. When character recognition model 10A is stored in an external server, character recognition unit 130A may transmit image data representing a horizontally oriented vertically written character string to the server, and obtain a recognition result of character recognition model 10A executed on the server.

[0033] In this manner, when the recognition result of the character string to be recognized is acquired, the character recognition unit 130A may output the recognition result of the character string to be recognized in any data format such as text data.

[0034] 9 is a flowchart showing a character recognition process according to the first embodiment of the present disclosure. The character recognition process may be performed by, for example, character recognition device 100A, and more specifically, may be realized by processor 104 of character recognition device 100A executing a computer program or instructions stored in memory device 103.

[0035] In step S101, character recognition device 100A acquires image data showing a vertically written character string. For example, when image data including a character string to be recognized is acquired, character recognition device 100A recognizes an image portion assumed to be a character, identifies an area row or column at a time from the size and spacing of the image portion, and determines whether or not to rotate the identified character string area depending on whether the aspect ratio of the identified block of character string area is vertical or horizontal. If the aspect ratio of the character string area is vertical, character recognition device 100A decides to rotate the identified character string area.

[0036] In step S102, character recognition device 100A rotates image data representing a vertically written character string to generate image data representing a horizontally oriented vertically written character string. Specifically, when character recognition device 100A detects a character string area that is vertically long or a vertically written character string, character recognition device 100A rotates the image data representing a vertically written character string to generate image data representing a horizontally oriented vertically written character string. For example, character recognition device 100A may rotate image data representing a vertically written character string 90 degrees counterclockwise to obtain image data representing a horizontally oriented vertically written character string.

[0037] In step S103, character recognition device 100A uses character recognition model 10A to obtain a recognition result of a character string from image data showing a vertically written character string oriented horizontally. Here, character recognition model 10A may be trained using training data consisting of a pair of image data showing a vertically written character string rotated horizontally and a recognition result of the character string. When character recognition model 10A trained in this manner obtains image data showing a vertically written character string oriented horizontally by rotating image data showing a vertically written character string horizontally, character recognition device 100A may output text data of the character string as a recognition result. When the recognition result is obtained from character recognition model 10A, character recognition device 100A outputs the obtained recognition result.

[0038] According to the first embodiment described above, when image data showing a vertically written character string is acquired, which is obtained by rotating image data showing a vertically written character string 90 degrees, character recognition device 100A can recognize the character string from the shape of the horizontally written vertically written character string using character recognition model 10A that outputs the character recognition result of the character string. Compared to conventional character recognition models that recognize horizontally written character strings, this can improve the character recognition accuracy for vertically written character strings that are unique to the Japanese language.

[0039] [Second embodiment] Next, a character recognition device 100B according to a second embodiment of the present disclosure will be described with reference to Fig. 10. As described above, the character recognition device 100B according to the second embodiment of the present disclosure executes character recognition on characters and / or character strings with ruby ​​characters and obtains a recognition result of the characters and / or character strings. For example, when image data indicating characters and / or character strings with ruby ​​characters captured by a camera, a scanner, or the like is obtained, the character recognition device 100B inputs the obtained image data to the character recognition model 10B and obtains a recognition result of the character string with the ruby ​​characters deleted from the character recognition model 10B.

[0040] Fig. 10 is a block diagram showing a functional configuration of a character recognition device 100B according to a second embodiment of the present disclosure. As shown in Fig. 10, the character recognition device 100B has a data acquisition unit 110B and a character recognition unit 120B. Each functional unit of the data acquisition unit 110B and the character recognition unit 120B may be realized by the processor 104 executing a computer program stored in the memory device 103 of the character recognition device 100B.

[0041] The data acquisition unit 110B acquires image data showing characters with ruby ​​annotations. Specifically, when the data acquisition unit 110B acquires image data including characters and / or character strings to be recognized, the data acquisition unit 110B passes the acquired image data to the character recognition unit 120B.

[0042] Character recognition unit 120B inputs image data to character recognition model 10B and obtains character recognition results from character recognition model 10B. Here, character recognition model 10B may be trained with training data consisting of pairs of image data showing characters and / or character strings with ruby ​​annotations and the recognition results of the characters and / or character strings. For example, character recognition model 10B may be trained using training data consisting of pairs of image data showing the extracted characters / character strings with ruby ​​annotations extracted from example sentences in dictionaries, sentences in publications, and the like, and text data of the characters / character strings with ruby ​​annotations removed.

[0043] As shown in FIG. 11, when image data showing characters and / or character strings with ruby ​​is received, character recognition model 10B outputs the recognition result of the characters and / or character strings as text data or the like. Character recognition model 10B may be realized as, for example, a convolutional neural network, and the parameters of character recognition model 10B may be updated according to the difference between the output result and the correct recognition result for training image data showing characters and / or character strings with ruby, according to a known training algorithm such as the backpropagation method. Character recognition model 10B trained in this manner may obtain image data showing characters and / or character strings with ruby, and output the recognition result of the character strings. That is, character recognition model 10B estimates the recognition result of the characters and / or character strings from which ruby ​​has been removed, based on the shape of the characters and / or character strings with ruby ​​in the image data.

[0044] Character recognition model 10B may be trained to perform character recognition not only on image data showing characters and / or character strings with ruby ​​but also on image data showing characters and / or character strings without ruby. In this case, as shown in Fig. 12, when character recognition model 10B acquires image data showing characters and / or character strings without ruby ​​but also on image data showing characters and / or character strings with ruby, it outputs the recognition result of the character string.

[0045] Character recognition model 10B may be installed in character recognition device 100B, or may be stored in an external server (not shown) connected for communication. When character recognition model 10B is stored in an external server, character recognition unit 120B may transmit image data indicating characters and / or character strings with ruby ​​annotations to the server, and obtain a recognition result from character recognition model 10B executed on the server.

[0046] In this manner, when the recognition result of the character string to be recognized is obtained, the character recognition unit 120B may output the recognition result of the character and / or character string from which ruby ​​characters have been removed in any data format such as text data.

[0047] In one embodiment, when the data acquisition unit 110B acquires image data showing vertically written characters with ruby, the data acquisition unit 110B generates image data showing vertically written characters with ruby ​​in a horizontal orientation by rotating the image data showing the vertically written characters with ruby, and the character recognition unit 120B may input the image data showing the vertically written characters with ruby ​​in a horizontal orientation to the character recognition model 10C and acquire the recognition result of the character from the character recognition model 10C. Here, the character recognition model 10C may be trained by training data consisting of a pair of image data showing vertically written characters with ruby ​​in a horizontal orientation and a recognition result of the character. For example, the character recognition model 10C may be trained by using training data consisting of a pair of image data showing vertically written characters and / or character strings with ruby ​​in a horizontal orientation by rotating the vertically written characters and / or character strings with ruby ​​by 90 degrees, and a recognition result of the characters and / or character strings from which the ruby ​​has been deleted.

[0048] As shown in FIG. 13, when image data showing vertically written characters and / or character strings including ruby ​​characters and / or character strings with horizontal ruby ​​characters rotated 90 degrees is received, character recognition model 10C outputs the recognition result of the characters and / or character strings as text data or the like. Character recognition model 10C may be realized as, for example, a convolutional neural network, and the parameters of character recognition model 10C may be updated according to the difference between the output result and the correct recognition result for training image data showing vertically written characters and / or character strings including horizontal ruby ​​characters, according to a known training algorithm such as the backpropagation method. Character recognition model 10C trained in this manner may obtain image data showing vertically written characters and / or character strings including horizontal ruby ​​characters, and output the recognition result of the character strings. That is, character recognition model 10C estimates the recognition result of the characters and / or character strings with ruby ​​characters deleted based on the shape of the vertically written characters and / or character strings with horizontal ruby ​​characters.

[0049] 14 is a flowchart showing a character recognition process according to the second embodiment of the present disclosure. The character recognition process may be performed by, for example, character recognition device 100B, and more specifically, may be realized by processor 104 of character recognition device 100B executing a computer program or instructions stored in memory device 103.

[0050] In step S201, character recognition device 100B obtains image data indicating characters to which ruby ​​annotations are added.

[0051] In step S202, character recognition device 100B uses character recognition model 10B to obtain a recognition result of a character with ruby ​​removed from image data showing the character with ruby. Here, character recognition model 10B may be trained using training data consisting of a pair of image data showing a character and / or character string with ruby ​​and a recognition result of the character and / or character string. When character recognition model 10B trained in this manner obtains image data showing a character and / or character string with ruby, it may output text data of the character and / or character string with ruby ​​removed as a recognition result. When the recognition result is obtained from character recognition model 10B, character recognition device 100B outputs the obtained recognition result.

[0052] According to the second embodiment, when image data showing characters and / or strings with ruby ​​is acquired, character recognition device 100B can recognize the characters and / or strings with ruby ​​from their shapes using character recognition model 10B that outputs character recognition results for the characters and / or strings with ruby ​​removed, and can improve character recognition accuracy for characters and / or strings with ruby ​​that are unique to Japanese compared to conventional character recognition models.

[0053] In the above-described embodiment, the characters and / or character strings to be recognized are provided by image data, but the character recognition process according to the present disclosure is not limited to this and may be provided by any other format of data including the characters and / or character strings to be recognized.

[0054] Although the examples of the present disclosure have been described in detail above, the present disclosure is not limited to the specific embodiments described above, and various modifications and variations are possible within the scope of the gist of the present disclosure described in the claims. [Explanation of symbols]

[0055] 10,10A,10B,10C Character Recognition Model 100,100A,100B Character recognition device 110A, 110B Data acquisition section 120A String Rotator 120B,130 Character recognition section

Claims

1. a data acquisition unit that acquires first image data indicating characters with ruby ​​annotations; a character recognition unit that inputs the first image data to a first character recognition model that has learned a character recognition result for a character with ruby ​​annotation, and obtains a recognition result for the character from the character recognition model; A character recognition device comprising:

2. 2. The character recognition device according to claim 1, wherein the first character recognition model is trained by first training data consisting of image data showing characters with ruby ​​annotations and a recognition result of the characters.

3. When the data acquisition unit acquires second image data representing vertically written characters with ruby ​​annotations, the data acquisition unit generates third image data representing vertically written characters with ruby ​​annotations in a horizontal orientation by rotating the image data; The character recognition device according to claim 1 , wherein the character recognition unit inputs the third image data to a second character recognition model and obtains a recognition result of the character from the second character recognition model.

4. 4. The character recognition device according to claim 3, wherein the second character recognition model is trained by second training data consisting of image data showing vertically written characters with ruby ​​annotations and a recognition result of the characters.

5. Obtaining first image data representing characters with ruby ​​annotations; inputting the first image data into a first character recognition model that has been trained with character recognition results for characters with ruby ​​annotations, and obtaining a recognition result for the characters from the character recognition model; 1. A computer implemented character recognition method comprising:

6. Obtaining first image data representing characters with ruby ​​annotations; inputting the first image data into a first character recognition model that has been trained with character recognition results for characters with ruby ​​annotations, and obtaining a recognition result for the characters from the character recognition model; A program that causes a computer to execute the following.

7. Obtaining first image data representing characters with ruby ​​annotation; outputting the character recognition result; A character recognition model, A character recognition model trained with training data consisting of image data showing characters with ruby ​​annotations and character recognition results for the characters with ruby ​​annotations.

Citation Information

Patent Citations

  • Document picture layout analysis device

    JP1995192083A

  • Character direction identification device, image forming device, program, storage medium, and character direction identification method

    JP2006260274A

  • Character string area / character rectangle extraction apparatus, character string area / character rectangle extraction method, and program

    JP2017204270A

  • Method And Apparatus For Image Character Recognition Model Generation, And Vertically-Oriented Character Image Recognition

    US20180060704A1

  • Information processing device, information processing method, and program

    JP2022019257A