OCR-增值税发票识别?

  • 回答 (3)
  • 关注 (0)
  • 查看 (405)

为何缺少了----> 发票的商品明细数据 例如 : 货物或应收劳务、服务名称 规格型号 单位 数量 单价 金额 *餐饮服务*餐饮服务 数量 1 153.77 153.77

根据 :https://cloud.tencent.com/document/product/866/17606 解析增值税发票

解析后的JSON数据 ocrInvoice: {

"code": 0,

"message": "OK",

"data": {

"recognize_warn_msg": [],

"recognize_warn_code": [],

"items": [{

"item": "密码区1",

"itemcoord": {

"x": 508,

"y": 117,

"width": 260,

"height": 16

},

"itemconf": 0.9990660548210144,

"itemstring": "/0*0/+>+8+360>1738<7><>30-*"

}, {

"item": "密码区2",

"itemcoord": {

"x": 508,

"y": 137,

"width": 259,

"height": 16

},

"itemconf": 0.9990619421005248,

"itemstring": ">935*<33<3/9-*34186+477+823"

}, {

"item": "密码区3",

"itemcoord": {

"x": 509,

"y": 157,

"width": 258,

"height": 16

},

"itemconf": 0.991845428943634,

"itemstring": "5<79-37-><37642-1-1148<->/6"

}, {

"item": "密码区4",

"itemcoord": {

"x": 509,

"y": 177,

"width": 259,

"height": 16

},

"itemconf": 0.958845853805542,

"itemstring": "32>88-15*257>29/*<151<7*/92"

}, {

"item": "发票名称",

"itemcoord": {

"x": 264,

"y": 33,

"width": 291,

"height": 28

},

"itemconf": 0.9362583160400392,

"itemstring": "上海增值税电子普通发票"

}, {

"item": "购买方识别号",

"itemcoord": {

"x": 66,

"y": 137,

"width": 252,

"height": 14

},

"itemconf": 0.9997414946556092,

"itemstring": "9131000067457924XL"

}, {

"item": "销售方识别号",

"itemcoord": {

"x": 65,

"y": 414,

"width": 253,

"height": 15

},

"itemconf": 0.9850531816482544,

"itemstring": "913101156073309979"

}, {

"item": "发票代码",

"itemcoord": {

"x": 581,

"y": 18,

"width": 120,

"height": 14

},

"itemconf": 0.9998999834060668,

"itemstring": "031001600211"

}, {

"item": "校验码",

"itemcoord": {

"x": 580,

"y": 88,

"width": 180,

"height": 14

},

"itemconf": 0.9998999834060668,

"itemstring": "51501846731755301593"

}, {

"item": "发票号码",

"itemcoord": {

"x": 581,

"y": 43,

"width": 98,

"height": 13

},

"itemconf": 0.9998999834060668,

"itemstring": "No77893170"

}, {

"item": "开票日期",

"itemcoord": {

"x": 580,

"y": 64,

"width": 155,

"height": 14

},

"itemconf": 0.9998999834060668,

"itemstring": "2018年07月24日"

}, {

"item": "税率",

"itemcoord": {

"x": 681,

"y": 475,

"width": 63,

"height": 17

},

"itemconf": 0.9998999834060668,

"itemstring": "6%"

}, {

"item": "合计金额",

"itemcoord": {

"x": 575,

"y": 347,

"width": 64,

"height": 15

},

"itemconf": 0.9998999834060668,

"itemstring": "¥153.77"

}, {

"item": "合计税额",

"itemcoord": {

"x": 743,

"y": 348,

"width": 46,

"height": 14

},

"itemconf": 0.9996492862701416,

"itemstring": "¥9.23"

}, {

"item": "价税合计(大写)",

"itemcoord": {

"x": 238,

"y": 369,

"width": 102,

"height": 15

},

"itemconf": 0.9951887130737304,

"itemstring": "壹佰陆拾叁圆整"

}, {

"item": "备注",

"itemcoord": {

"x": 689,

"y": 411,

"width": 53,

"height": 22

},

"itemconf": 0.9253317713737488,

"itemstring": "胜客有"

}, {

"item": "备注",

"itemcoord": {

"x": 653,

"y": 454,

"width": 116,

"height": 15

},

"itemconf": 0.624378502368927,

"itemstring": "兰931510309979"

}],

"class": [],

"angle": 0.0

}

}

用户2757114用户2757114提问于
国家一级保护废物

深圳市康拓普信息技术有限公司 · 软件工程师 (已认证)

回答于

这个旧的发票识别接口,现在还能用吗?新接口中没有返回文字位置,还是要用旧的

用户4573157回答于

我问下那个OCR 增值税识别SDK Java里面有吗

用户4899787回答于

找遍了github的例子还有源码也没找到发票识别的相关SDK用法,

如果不开放能否写明了不开放?请问文档维护工作的人时间都花在哪里了?

可能回答问题的人

  • Y. Ji

    5 粉丝0 提问1 回答
  • Superbeet

    4 粉丝0 提问0 回答
  • 腾讯云AI中心

    腾讯云 · 产品经理 (已认证)

    60 粉丝0 提问19 回答
  • 莫烦

    2 粉丝0 提问0 回答
  • 罗罗可爱多

    腾讯 · 高级研究员 (已认证)

    9 粉丝0 提问4 回答
  • 晏栋栋栋

    1 粉丝0 提问1 回答

扫码关注云+社区

领取腾讯云代金券