Patent ID: 11902522
Assignee: ZTE CORPORATION
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 0:
1. A character restoration method, comprising:
determining a character identifier of a character in a text region, wherein the character identifier is used for uniquely identifying the character; and
performing encoding at least according to the character identifier, and sending encoded data to a receiving end, wherein the encoded data is used for the receiving end to decode the encoded data and restore the character according to the character identifier obtained after decoding;
wherein determining the character identifier of the character in the text region comprises:
extracting a character feature of the character in the text region, wherein the character feature comprises a character height of the character, a character width of the character, and a character pixel matrix distribution of the character; and
performing matching in preset character feature information according to the character feature, determining an index of the character feature of the character in the character feature information, and taking the index of the character feature as the character identifier;
wherein performing matching in the preset character feature information according to the character feature, and determining the index of the character feature of the character in the character feature information comprises:
performing matching in specified character features in the character feature information according to the character feature of the character until a complete character feature of the character is matched, wherein the specified character features comprise: character features with a height the same as the character height of the character, a width greater than or equal to the character width of the character, and a pixel matrix distribution the same as the character pixel matrix distribution of the character; and
determining the index of the complete character feature in the character feature information according to the matched complete character feature.