| CPC G06T 5/77 (2024.01) [G06T 5/70 (2024.01); G06T 7/11 (2017.01); G06T 7/13 (2017.01); G06V 10/28 (2022.01)] | 12 Claims |

|
1. A method for removing handwritten content from a text image, comprising:
acquiring an input image of a text page to be processed, wherein the input image comprises a handwritten area, and the handwritten area comprises the handwritten content;
using an image segmentation model to recognize the input image so as to obtain an initial handwritten pixel of the handwritten content;
performing blurring processing on the initial handwritten pixel to obtain a handwritten pixel mask area;
determining the handwritten content in the handwritten area according to the handwritten pixel mask area; and
removing the handwritten content from the input image to obtain an output image;
wherein blurring processing is performed on the initial handwritten pixel through a GaussianBlur function to expand an area of the initial handwritten pixel, thereby obtaining the handwritten pixel mask area.
|