文字识别 OCR-开始使用:结果示例

时间:2023-11-01 16:15:34

结果示例

  • 示例图

  • 示例结果

    防疫健康码检测结果如下所示,支持识别防疫码类别、姓名、身份证号码、手机号码、省份、城市、健康码或行程卡的更新时间、健康码或行程卡颜色、疫苗接种情况、核酸检测结果、核酸检测机构、核酸检测结果更新时间、核酸检测采样时间、行程卡的途经地址等14个关键字段。。

    返回参数的详细介绍,请参见防疫健康码识别 API参考

    {  "result" : {    "type" : "health_code",    "name" : "**余",    "idcard_number" : "",    "phone_number" : "",    "province" : "安徽省",    "city" : "合肥市",    "time" : "2022-03-30 15:37:13",    "color" : "green",    "vaccination_status" : "x 2已接种新冠疫苗",    "pcr_test_result" : "",    "pcr_test_organization" : "",    "pcr_test_time" : "",    "pcr_sampling_time" : "",    "reached_city" : "",    "confidence" : {      "type" : 0.615,      "name" : 0.9003,      "idcard_number" : 0,      "phone_number" : 0,      "province" : 0,      "city" : 0.8785,      "time" : 0.9174,      "color" : 0.615,      "vaccination_status" : 0.8691,      "pcr_test_result" : 0,      "pcr_test_organization" : 0,      "pcr_test_time" : 0,      "pcr_sampling_time" : 0,      "reached_city" : 0    },    "words_block_count" : 16,    "words_block_list" : [ {      "words" : "文字块1",      "confidence" : 0.8327,      "location" : [ [ 754, 21 ], [ 855, 21 ], [ 855, 60 ], [ 754, 60 ] ]    }, {      "words" : "文字块2",      "confidence" : 0.7972,      "location" : [ [ 929, 22 ], [ 1022, 22 ], [ 1022, 59 ], [ 929, 59 ] ]    } ]  }}
support.huaweicloud.com/bestpractice-ocr/ocr_09_0015.html