Image processing system, image processing method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorsYuki Narumi, Go Oishi
Life of this patent
Estimating the term…
Abstract
An image processing system performs tilt correction with respect to a document image having handwritten characters and typed letters mixed with each other. The image processing system separates the document image into an image with handwritten characters determined as handwritten characters and an image without handwritten characters not determined as handwritten characters, estimates a tilt angle of the image without handwritten characters, and corrects the document image on the basis of the tilt angle.
Claims7
An image processing system which performs tilt correction with respect to a document image, the image processing system comprising:
- at least one memory that stores instructions;
- and
- at least one processor that executes the instructions to perform:
- (1) obtaining the document image, wherein the document image includes handwritten characters and typed letters;
- (2) generating a first image containing no handwritten characters from the document image, wherein (a) in a case where a range of a tilt angle of the document image is determined to be equal to or larger than a prescribed value, the first image containing no handwritten characters is generated by determining pixels of handwritten characters using a first neural network and by eliminating the determined pixels of handwritten characters from the document image, (b) in a case where the range of the tilt angle of the document image is determined to be smaller than the prescribed value, the first image containing no handwritten characters is generated by determining the pixels of handwritten characters using a second neural network and by eliminating the determined pixels of handwritten characters from the document image, and (c) the second neural network is different from the first neural network;
- (3) estimating a tilt angle of the generated first image;
- and
- (4) tilt-correcting the document image on the basis of the estimated tilt angle of the generated first image,
- wherein the tilt-corrected document image includes the handwritten characters and the typed letters.
An image processing method for performing tilt correction with respect to a document image, the image processing method comprising:
- obtaining the document image, wherein the document image includes handwritten characters and typed letters;
- generating a first image containing no handwritten characters from the document image, wherein (a) in a case where a range of a tilt angle of the document image is determined to be equal to or larger than a prescribed value, the first image containing no handwritten characters is generated by determining pixels of handwritten characters using a first neural network and by eliminating the determined pixels of handwritten characters from the document image, (b) in a case where the range of the tilt angle of the document image is determined to be smaller than the prescribed value, the first image containing no handwritten characters is generated by determining the pixels of handwritten characters using a second neural network and by eliminating the determined pixels of handwritten characters from the document image, and (c) the second neural network is different from the first neural network;
- estimating a tilt angle of the generated first image;
- and
- tilt-correcting the document image on the basis of the estimated tilt angle of the generated first image,
- wherein the tilt-corrected document image includes the handwritten characters and the typed letters.
A non-transitory computer-readable storage medium storing a program causing a computer to execute a method comprising:
- obtaining a document image, wherein the document image includes handwritten characters and typed letters;
- generating a first image containing no handwritten characters from the document image, wherein (a) in a case where a range of a tilt angle of the document image is determined to be equal to or larger than a prescribed value, the first image containing no handwritten characters is generated by determining pixels of handwritten characters using a first neural network and by eliminating the determined pixels of handwritten characters from the document image, (b) in a case where the range of the tilt angle of the document image is determined to be smaller than the prescribed value, the first image containing no handwritten characters is generated by determining the pixels of handwritten characters using a second neural network and by eliminating the determined pixels of handwritten characters from the document image, and (c) the second neural network is different from the first neural network;
- estimating a tilt angle of the generated first image;
- and
- tilt-correcting the document image on the basis of the estimated tilt angle of the generated first image,
- wherein the tilt-corrected document image includes the handwritten characters and the typed letters.
Dependencies are inferred from the claim text.