增值税发票全票面结构化识别

贺锋 ,  张威 ,  杨玉燕 ,  陈博扬 ,  王建松

科学技术与工程 ›› 2025, Vol. 25 ›› Issue (9) :3788-3794

PDF (9161KB)
科学技术与工程 ›› 2025, Vol. 25 ›› Issue (9) :3788-3794 DOI: 10.12404/j.issn.1671-1815.2402410
自动化技术、计算机技术

增值税发票全票面结构化识别

作者信息 +

Full-ticket Structural Recognition of VAT Invoice

Author information +
文章历史 +

摘要

增值税发票商品明细部分的项目名称、规格型号等的格式和内容非常灵活复杂,且缺乏完整表格线对各信息字段进行分隔,现有方法对增值税发票进行全票面信息结构化识别还存在元素识别率低、计算复杂度过高等问题,提出一种基于计算机形态学的全票面信息结构化识别方法。该方法采用形态学操作检测发票表格线,对发票不同区域裁切并识别文字;再利用增值税发票商品明细区域版面排布隐含规则,结合计算机形态学操作获得的文字连通区域,构建完整表格结构;最后基于文本检测神经网络(text detection neural network with differentiable binarization, DBNet)和卷积递归神经网络(convolutional recurrent neural network, CRNN)实现文本的检测和识别。提出的方法在3种版式共49张增值税发票数据集上测试,结果表明,元素识别率分别达到99.9%、97.4%和98.8%,单张平均运行时间分别为0.90、0.47和0.82 s,全票面结构化识别性能超过多个对照表格识别模型以及文献方法。

Abstract

The format and content of items such as product names and specifications in the detailed section of VAT invoices are highly flexible and complex, lacking complete gridlines to separate information fields. Existing methods for all-element structural recognition of VAT invoices face issues like low element recognition rates and high computational complexity. A structured recognition method for full face information based on computer morphology was proposed, which uses morphological operations to detect invoice table lines, cuts and recognizes text in different areas of the invoice. Then the implicit rules of the layout of the value-added tax invoice product details area was reused, combined with the text connected areas obtained through computer morphology operations, to construct a complete table structure. Finally, text detection and recognition were achieved using text detection neural network with differentiable binarization (DBNet) and convolutional recurrent neural networks (CRNN). The proposed method was tested on a dataset of 49 value-added tax invoices in three different formats, and the results show that the element recognition rates reached 99.9%, 97.4%, and 98.8%, respectively. The average running time per invoice is 0.90, 0.47, and 0.82 s, respectively. The structural recognition performance of the entire invoice exceeded multiple comparison table recognition models and literature methods.

关键词

增值税发票 / 表格检测 / 形态学操作 / 结构化识别 / 倾斜校正 / 红章消除

Key words

VAT invoice / table detection / morphological operations / structural recognition / tilt correction / seal elimination

引用本文

引用格式 ▾
贺锋, 张威, 杨玉燕, 陈博扬, 王建松. 增值税发票全票面结构化识别[J]. 科学技术与工程, 2025, 25(9): 3788-3794 DOI:10.12404/j.issn.1671-1815.2402410
HE Feng, ZHANG Wei, YANG Yu-yan, CHEN Bo-yang, WANG Jian-song. Full-ticket Structural Recognition of VAT Invoice[J]. Science Technology and Engineering, 2025, 25(9): 3788-3794 DOI:10.12404/j.issn.1671-1815.2402410

登录浏览全文

4963

注册一个新账户 忘记密码

参考文献

基金资助

梅州市烟草专卖局(公司)科技项目(2023441400240048)

PDF (9161KB)

37

访问

0

被引

详细

导航
相关文章

/

〈 〉