Image processing apparatus, control method thereof, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorsHidekazu Seto, Keisui Okuma, Yusuke Maeda
Life of this patent
Estimating the term…
Abstract
A training image that simulates a character block entered by part of a character in another row is generated efficiently. A noise is added in the vicinity of an end portion of a character image so that a noise that seems to be caused by entering of part of a character in another row is reproduced for the character image representing a handwritten character.
Claims10
An image processing apparatus comprising:
- a memory that stores a program;
- and
- a processor that executes the program to perform:
- superimposing a noise cut out from another character image in a vicinity of an end portion within a character image representing a handwritten character, wherein the noise is not superimposed in other areas within the character image than the vicinity of the end portion within the character image, wherein
- in the superimposing, in a case where a noise addition position is a top, the noise is cut out from a bottom end of the character image, and, in a case where the noise addition position is a bottom, the noise is cut out from a top end of the character image;
- and
- generating training data by associating a character image in which the noise is superimposed and a correct answer class with each other, wherein
- the generated training data is used for training of a model of a neural network to ignore the noise and reduce erroneous recognition of the handwritten character.
A control method of an image processing apparatus, the control method comprising:
- superimposing a noise cut out from another character image in a vicinity of an end portion within a character image representing a handwritten character, wherein the noise is not superimposed in other areas within the character image than the vicinity of the end portion within the character image, wherein
- in the superimposing, in a case where a noise addition position is a top, the noise is cut out from a bottom end of the character image, and, in a case where the noise addition position is a bottom, the noise is cut out from a top end of the character image;
- and
- generating training data by associating a character image in which the noise is superimposed and a correct answer class with each other, wherein
- the generated training data is used for training of a model of a neural network to ignore the noise and reduce erroneous recognition of the handwritten character.
A non-transitory computer readable storage medium storing a program for causing a computer to perform a control method of an image processing apparatus, the control method comprising:
- superimposing a noise cut out from another character image in a vicinity of an end portion within a character image representing a handwritten character, wherein the noise is not superimposed in other areas within the character image than the vicinity of the end portion within the character image, wherein
- in the superimposing, in a case where a noise addition position is a top, the noise is cut out from a bottom end of the character image, and, in a case where the noise addition position is a bottom, the noise is cut out from a top end of the character image;
- and
- generating training data by associating a character image in which the noise is superimposed and a correct answer class with each other,
- wherein the generated training data is used for training of a model of a neural network to ignore the noise and reduce erroneous recognition of the handwritten character.
Dependencies are inferred from the claim text.