US 12,333,690 B2
Method and device for removing handwritten content from text image, and storage medium
Qingsong Xu, Hangzhou (CN); and Qing Li, Hangzhou (CN)
Assigned to Hangzhou Glority Software Limited, Hangzhou (CN)
Appl. No. 17/915,488
Filed by Hangzhou Glority Software Limited, Hangzhou (CN)
PCT Filed Feb. 9, 2021, PCT No. PCT/CN2021/076250
§ 371(c)(1), (2) Date Sep. 29, 2022,
PCT Pub. No. WO2021/203832, PCT Pub. Date Oct. 14, 2021.
Claims priority of application No. 202010278143.4 (CN), filed on Apr. 10, 2020.
Prior Publication US 2023/0222631 A1, Jul. 13, 2023
Int. Cl. G06T 5/00 (2024.01); G06T 5/70 (2024.01); G06T 5/77 (2024.01); G06T 7/11 (2017.01); G06T 7/13 (2017.01); G06V 10/28 (2022.01)
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
OG exemplary drawing
 
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.