Font color restoration method and device

By color purification and font segmentation of document pictures, restoring the pixels of each text, the problem of unreal font colors in document pictures is solved, and efficient font color restoration effect is achieved.

CN119850471APending Publication Date: 2025-04-18ZHUHAI KINGSOFT OFFICE SOFTWARE +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311357889.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-18
Publication Date
2025-04-18

Smart Images

  • Figure CN119850471A_ABST
    Figure CN119850471A_ABST
Patent Text Reader

Abstract

The invention provides a font color restoration method and device, and relates to the technical field of image processing, and the font color restoration method comprises the steps: carrying out the color purification processing of an initial document picture, and obtaining a purified target document picture; performing font segmentation on the target document picture to obtain at least one pixel corresponding to each character in the target document picture; and for each character in the target document picture, restoring the font color of the character according to at least one pixel corresponding to the character. The font color restoration method provided by the invention is wide in application, can simplify the whole font color restoration process, is high in practicability, and can restore the font color in the document picture regardless of various conditions such as complex backgrounds, complex font colors and the like.
Need to check novelty before this filing date? Find Prior Art