摘要
针对印章会影响发票文字识别的问题,提出了一种基于Pix2Pix网络去除印章的方法:采用HSV颜色空间的方法,筛选出包括印章在内的信息;通过二值化、图片腐蚀、轮廓集检测、椭圆拟合算法,确定椭圆印章的位置;将检测到的印章位置的外接矩形作为图片送入Pix2Pix网络,得到去除印章的图片。实验结果表明,Pix2Pix网络可以有效地去除印章。
To solve the problem that the seal will affect the recognition of invoice characters,a method of removing the seal based on Pix2Pix network was proposed.The HSV color space was used to filter out the information including seal.The location of ellipse seal was determined by binarization,image erosion,contour set detection and ellipse fitting algorithm.The external rectangle of the detected seal position was sent into Pix2Pix network as a picture,and the picture of the seal removed was obtained.The experimental results show that Pix2Pix network can effectively remove the seal.
作者
王俊
苗军
卿来云
乔元华
WANG Jun;MIAO Jun;QING Laiyun;QIAO Yuanhua(Beijing Key Laboratory of Internet Culture and Digital Dissemination Research,Beijing Information Science and Technology University,Beijing 100101,China;School of Computer Science and Technology,University of Chinese Academy of Sciences,Beijing 100049,China;College of Applied Sciences,Beijing University of Technology,Beijing 100124,China)
出处
《北京信息科技大学学报(自然科学版)》
2021年第4期39-43,共5页
Journal of Beijing Information Science and Technology University
基金
国家自然科学基金资助项目(61872333)
北京市自然科学基金资助项目(4202025)
北京市教委科技计划资助项目(KM201911232003)
北京未来芯片技术高精尖创新中心科研基金(KYJJ2018004)。