Method and device for processing seal in document
The embodiment of the invention relates to a processing method and device for a seal in a document, and the method comprises the steps: obtaining a to-be-processed document image which comprises a text and a seal; extracting image features of the document image from the document image; decoding a se...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention relates to a processing method and device for a seal in a document, and the method comprises the steps: obtaining a to-be-processed document image which comprises a text and a seal; extracting image features of the document image from the document image; decoding a seal mask image corresponding to the seal from the image features; and restoring the seal based on the seal mask image to obtain a corresponding seal image. According to the method and the device, the seal mask image corresponding to the seal is extracted from the document image, and the seal is restored based on the seal mask image, so that the influence of characters overlapped with the seal on seal restoration can be reduced, and the restoration effect of the seal in the document is improved.
本发明实施例涉及一种文档中印章的处理方法及装置,包括:获取待处理的文档图像,其中,所述文档图像中包含文本和印章;从所述文档图像中提取所述文档图像的图像特征;从所述图像特征中解码出所述印章对应的印章掩膜图像;基于所述印章掩膜图像对所述印章进行还原,得到对应的印章图像。通过本申请,实现了从文档图像中提取印章对应的印章掩膜图像,并基于印章掩膜图像还原印章,由此,可以减少与印章重叠部分的文字对印章还原的影响,从而提高对文档中印章的还原效果。 |
---|