Patent ID: 11954455
Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A non-transitory computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements:
recognizing words embedded in a target picture to obtain at least one text line, wherein each of at least one text line corresponds to one line of words;
performing paragraph combination on the at least one text line to obtain at least one text paragraph;
translating the at least one text paragraph into at least one target text paragraph in a specified language; and
replacing the words in the target picture with the at least one target text paragraph;
wherein the computer program further implements:
acquiring position information of words corresponding to each of the at least one text line;
wherein the computer program further implements:
after obtaining the at least one text paragraph, for any text paragraph of the at least one text paragraph, determining position information of words corresponding to the text paragraph in the picture according to position information of words corresponding to text lines corresponding to the text paragraph in the picture; and
wherein the computer program implements replacing the words in the target picture with the at least one target text paragraph by:
erasing the words in the target picture, typesetting the at least one target text paragraph, and embedding the typeset at least one target text paragraph in the target picture according to position information of words corresponding to each of the at least one text paragraph.