Method And Apparatus For Image Character Recognition Model Generation, And Vertically-Oriented Character Image Recognition
First Claim
1. A method for generating an image character recognition model, comprising:
- generating a rotated line character training sample, the rotated line character training sample comprising a rotated line character image and an expected character recognition result corresponding to the rotated line character image, character units in the rotated line character image rotated by 90 degrees in relation to character units in a standard line character image; and
training a set neural network by using the rotated line character training sample, to generate an image character recognition model.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure disclose an image character recognition model generation method and apparatus, and a vertically-oriented character image recognition method and apparatus. The image character recognition model generation method includes: generating a rotated line character training sample, wherein the rotated line character training sample includes a rotated line character image and an expected character recognition result corresponding to the rotated line character image, and there is a difference of 90 degrees between character units in the rotated line character image and character units in a standard line character image; and training a set neural network by using the rotated line character training sample, to generate an image character recognition model. The technical solutions of the embodiments of the present disclosure overcome the technical defect that existing line character images cannot be directly used to train a vertically-oriented character image recognition model, thereby implementing the efficient recognition of vertically-oriented characters.
-
Citations
19 Claims
-
1. A method for generating an image character recognition model, comprising:
-
generating a rotated line character training sample, the rotated line character training sample comprising a rotated line character image and an expected character recognition result corresponding to the rotated line character image, character units in the rotated line character image rotated by 90 degrees in relation to character units in a standard line character image; and training a set neural network by using the rotated line character training sample, to generate an image character recognition model. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A vertically-oriented character image recognition method, comprising:
-
rotating a to-be-recognized vertically-oriented character image as a whole by 90 degrees, to generate a rotated to-be-recognized image; entering the rotated to-be-recognized image into an image character recognition model, the image character recognition model generated by training a set neural network model by using a rotated line character image training sample, the rotated line character training sample comprising a rotated line character image and an expected character recognition result corresponding to the rotated line character image, character units in the rotated line character image rotated by 90 degrees in relation to character units in a standard line character image; and determining a vertically-oriented character recognition result corresponding to the to-be-recognized vertically-oriented character image based on an output from the image character recognition model. - View Dependent Claims (8, 9)
-
-
10. An image character recognition model generation apparatus, comprising:
-
a training sample generation module for generating a rotated line character training sample, the rotated line character training sample comprising a rotated line character image and an expected character recognition result corresponding to the rotated line character image, character units in the rotated line character image rotated by 90 degrees in relation to character units in a standard line character image; and an image character recognition model generation module for training a set neural network by using the rotated line character training sample, to generate an image character recognition model. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A vertically-oriented character image recognition apparatus, comprising:
-
a rotated to-be-recognized image generation module for rotating a to-be-recognized vertically-oriented character image as a whole by 90 degrees, to generate a rotated to-be-recognized image; a rotated to-be-recognized image entering module for entering the rotated to-be-recognized image into an image character recognition model, the image character recognition model generated by training a set neural network model by using a rotated line character image training sample, the rotated line character training sample comprising a rotated line character image and an expected character recognition result corresponding to the rotated line character image, character units in the rotated line character image rotated by 90 degrees in relation to character units in a standard line character image; and a vertically-oriented character recognition result determining module for determining a vertically-oriented character recognition result corresponding to the to-be-recognized vertically-oriented character image based on an output from the image character recognition model. - View Dependent Claims (17, 18)
-
-
19. A non-transitory computer storage medium storing a computer program, which when executed by one or more processors, cause the one or more processors to perform operations, the operations comprising:
-
generating a rotated line character training sample, the rotated line character training sample comprising a rotated line character image and an expected character recognition result corresponding to the rotated line character image, character units in the rotated line character image rotated by 90 degrees in relation to character units in a standard line character image; and training a set neural network by using the rotated line character training sample, to generate an image character recognition model.
-
Specification