US 12,361,667 B2
Text processing method and apparatus, and electronic device and storage medium
Tianmin Rao, Beijing (CN)
Assigned to BOE TECHNOLOGY GROUP CO., LTD., Beijing (CN)
Appl. No. 17/921,191
Filed by BOE Technology Group Co., Ltd., Beijing (CN)
PCT Filed May 15, 2020, PCT No. PCT/CN2020/090646
§ 371(c)(1), (2) Date Oct. 25, 2022,
PCT Pub. No. WO2021/227058, PCT Pub. Date Nov. 18, 2021.
Prior Publication US 2023/0169784 A1, Jun. 1, 2023
Int. Cl. G06V 10/24 (2022.01); G06V 30/18 (2022.01)
CPC G06V 10/24 (2022.01) [G06V 30/18 (2022.01)] 15 Claims
OG exemplary drawing
 
1. A text processing method, comprising:
according to a coordinate value of each pixel in a text image, determining a plurality of center pixels of the text image and adjacent pixels of each of the center pixels;
acquiring a coordinate value of each of the center pixels, spatial offsets of the adjacent pixels of each of the center pixels, and a width of a pixel processing area;
acquiring position information of each of the adjacent pixels according to the coordinate value of each of the center pixels, the spatial offsets of the adjacent pixels of each of the center pixels, the width of the pixel processing area, and a preset vector calculation formula; and
acquiring a text of the text image according to the position information and a preset mask mapping relationship.