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; text features...
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; text features corresponding to the text are decoded from the image features, seal mask features corresponding to the seal are decoded from the image features, and seal features corresponding to the seal are decoded from the image features; and based on the text feature, the seal mask feature and the seal feature, restoring the seal to obtain a corresponding seal image. Therefore, the influence of the characters overlapped with the seal on seal restoration can be reduced, so that the restoration effect of the seal in the document is improved.
本发明实施例涉及一种文档中印章的处理方法及装置,包括:获取待处理的文档图像,其中,所述文档图像中包含文本和印章;从所述文档图像中提取所述文档图像的图像特征;从所述图像特征中解码出所述文本对应的文本特征、从所述图像特征中解码出所述印章对应的印章掩膜特征、以及从所述图像特征中解码出所述印章对应的印章特征;基于所述文本特征、所述印章掩膜特征及所述印章特征,对所述印章进行还原,得到对 |
---|