出生证明识别
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| Action | String | 是 | RecognizeBirthCertification |
系统规定参数。取值:RecognizeBirthCertification。 |
| Url | String | 否 | https://img.alicdn.com/tfs/TB1P6Yll8Bh1e4jSZFhXXcC9VXa-1381-962.png |
图片链接(长度不超 2048,不支持 base64) |
| String | 否 | 图片二进制文件 |
图片二进制文件,最大10MB,与URL二选一。 使用HTTP方式调用,把图片二进制文件放到HTTP body 中上传即可。 使用SDK的方式调用,把图片放到SDK的body中即可。 |
返回数据
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| RequestId | String | 43A29C77-405E-4CC0-BC55-EE694AD00655 |
请求唯一 ID |
| Data | String | { "data": { "neonatalName": "李崴泥", "sex": "女", "birthTime": "2019年01月17日03时31分", "gestationalAge": "38", "birthWeight": "3160", "birthLength": "49", "birthPlace": "重庆市重庆市丰都县", "medicalInstitutions": "丰都县中医院", "motherName": "韩夕", "motherAge": "25", "motherNationality": "中国", "motherEthnicity": "汉族", "motherAddress": "重庆市丰都县兴龙镇黎明村", "motherIdCardNumber": "500001199501010001", "fatherName": "李强", "fatherAge": "29", "fatherNationality": "中国", "fatherEthnicity": "汉族", "fatherAddress": "重庆市丰都县三合街道滨江东路", "fatherIdCardNumber": "500001198911070808", "issueAuthority": "丰都县中医院", "issueDate": "2019年02月28日", "certificateNumber": "T500100391" }, "height": 926, "orgHeight": 962, "orgWidth": 1381, "prism_keyValueInfo": [{ "key": "neonatalName", "keyProb": 100, "value": "李崴泥", "valuePos": [{ "x": 405, "y": 218 }, { "x": 405, "y": 238 }, { "x": 354, "y": 238 }, { "x": 354, "y": 218 }], "valueProb": 100 }, { "key": "sex", "keyProb": 100, "value": "女", "valuePos": [{ "x": 606, "y": 227 }, { "x": 606, "y": 247 }, { "x": 586, "y": 247 }, { "x": 586, "y": 227 }], "valueProb": 100 }, { "key": "birthTime", "keyProb": 100, "value": "2019年01月17日03时31分", "valuePos": [{ "x": 1176, "y": 224 }, { "x": 1177, "y": 240 }, { "x": 764, "y": 244 }, { "x": 763, "y": 227 }], "valueProb": 100 }, { "key": "gestationalAge", "keyProb": 100, "value": "38", "valuePos": [{ "x": 315, "y": 272 }, { "x": 315, "y": 288 }, { "x": 292, "y": 288 }, { "x": 292, "y": 272 }], "valueProb": 100 }, { "key": "birthWeight", "keyProb": 100, "value": "3160", "valuePos": [{ "x": 668, "y": 281 }, { "x": 668, "y": 298 }, { "x": 628, "y": 298 }, { "x": 628, "y": 281 }], "valueProb": 100 }, { "key": "birthLength", "keyProb": 100, "value": "49", "valuePos": [{ "x": 1008, "y": 278 }, { "x": 1008, "y": 294 }, { "x": 986, "y": 294 }, { "x": 986, "y": 278 }], "valueProb": 100 }, { "key": "birthPlace", "keyProb": 100, "value": "重庆市重庆市丰都县", "valuePos": [{ "x": 293, "y": 342 }, { "x": 294, "y": 320 }, { "x": 664, "y": 330 }, { "x": 663, "y": 352 }], "valueProb": 100 }, { "key": "medicalInstitutions", "keyProb": 100, "value": "丰都县中医院", "valuePos": [{ "x": 1101, "y": 324 }, { "x": 1101, "y": 341 }, { "x": 997, "y": 343 }, { "x": 996, "y": 325 }], "valueProb": 100 }, { "key": "motherName", "keyProb": 100, "value": "韩夕", "valuePos": [{ "x": 339, "y": 407 }, { "x": 339, "y": 427 }, { "x": 304, "y": 427 }, { "x": 304, "y": 407 }], "valueProb": 100 }, { "key": "motherAge", "keyProb": 100, "value": "25", "valuePos": [{ "x": 479, "y": 407 }, { "x": 479, "y": 423 }, { "x": 456, "y": 423 }, { "x": 456, "y": 407 }], "valueProb": 100 }, { "key": "motherNationality", "keyProb": 100, "value": "中国", "valuePos": [{ "x": 657, "y": 409 }, { "x": 657, "y": 429 }, { "x": 621, "y": 429 }, { "x": 621, "y": 409 }], "valueProb": 100 }, { "key": "motherEthnicity", "keyProb": 100, "value": "汉族", "valuePos": [{ "x": 861, "y": 407 }, { "x": 861, "y": 426 }, { "x": 821, "y": 426 }, { "x": 821, "y": 407 }], "valueProb": 100 }, { "key": "motherAddress", "keyProb": 100, "value": "重庆市丰都县兴龙镇黎明村", "valuePos": [{ "x": 925, "y": 424 }, { "x": 926, "y": 407 }, { "x": 1135, "y": 410 }, { "x": 1135, "y": 428 }], "valueProb": 100 }, { "key": "motherIdCardNumber", "keyProb": 100, "value": "500001199501010001", "valuePos": [{ "x": 1121, "y": 455 }, { "x": 1122, "y": 474 }, { "x": 954, "y": 475 }, { "x": 954, "y": 457 }], "valueProb": 100 }, { "key": "fatherName", "keyProb": 100, "value": "李强", "valuePos": [{ "x": 328, "y": 539 }, { "x": 328, "y": 558 }, { "x": 291, "y": 558 }, { "x": 291, "y": 539 }], "valueProb": 100 }, { "key": "fatherAge", "keyProb": 100, "value": "29", "valuePos": [{ "x": 475, "y": 541 }, { "x": 475, "y": 559 }, { "x": 452, "y": 559 }, { "x": 452, "y": 541 }], "valueProb": 100 }, { "key": "fatherNationality", "keyProb": 100, "value": "中国", "valuePos": [{ "x": 655, "y": 543 }, { "x": 655, "y": 564 }, { "x": 617, "y": 564 }, { "x": 617, "y": 543 }], "valueProb": 100 }, { "key": "fatherEthnicity", "keyProb": 100, "value": "汉族", "valuePos": [{ "x": 820, "y": 548 }, { "x": 861, "y": 548 }, { "x": 861, "y": 567 }, { "x": 820, "y": 567 }], "valueProb": 100 }, { "key": "fatherAddress", "keyProb": 100, "value": "重庆市丰都县三合街道滨江东路", "valuePos": [{ "x": 928, "y": 558 }, { "x": 928, "y": 538 }, { "x": 1171, "y": 542 }, { "x": 1170, "y": 561 }], "valueProb": 100 }, { "key": "fatherIdCardNumber", "keyProb": 100, "value": "500001198911070808", "valuePos": [{ "x": 1120, "y": 592 }, { "x": 1120, "y": 610 }, { "x": 952, "y": 612 }, { "x": 951, "y": 593 }], "valueProb": 100 }, { "key": "issueAuthority", "keyProb": 100, "value": "丰都县中医院", "valuePos": [{ "x": 300, "y": 704 }, { "x": 300, "y": 681 }, { "x": 416, "y": 684 }, { "x": 415, "y": 706 }], "valueProb": 100 }, { "key": "issueDate", "keyProb": 100, "value": "2019年02月28日", "valuePos": [{ "x": 263, "y": 762 }, { "x": 264, "y": 746 }, { "x": 478, "y": 750 }, { "x": 477, "y": 765 }], "valueProb": 100 }, { "key": "certificateNumber", "keyProb": 100, "value": "T500100391", "valuePos": [{ "x": 1138, "y": 763 }, { "x": 1138, "y": 791 }, { "x": 971, "y": 791 }, { "x": 971, "y": 763 }], "valueProb": 100 }], "width": 1341 } |
返回数据 |
| Code | String | 200 |
状态码 |
| Message | String | message |
详细信息 |
示例
请求示例
http(s)://[Endpoint]/?Action=RecognizeBirthCertification
&Url=https://img.alicdn.com/tfs/TB1Wo7eXAvoK1RjSZFDXXXY3pXa-2512-3509.jpg
&公共请求参数
正常返回示例
XML格式
HTTP/1.1 200 OK
Content-Type:application/xml
<RecognizeBirthCertificationResponse>
<RequestId>B3F69B1B-A99E-485F-8658-F46AF2576190</RequestId>
<Data>{"data":{"neonatalName":"李崴泥","sex":"女","birthTime":"2019年01月17日03时31分","gestationalAge":"38","birthWeight":"3160","birthLength":"49","birthPlace":"重庆市重庆市丰都县","medicalInstitutions":"丰都县中医院","motherName":"韩夕","motherAge":"25","motherNationality":"中国","motherEthnicity":"汉族","motherAddress":"重庆市丰都县兴龙镇黎明村","motherIdCardNumber":"500001199501010001","fatherName":"李强","fatherAge":"29","fatherNationality":"中国","fatherEthnicity":"汉族","fatherAddress":"重庆市丰都县三合街道滨江东路","fatherIdCardNumber":"500001198911070808","issueAuthority":"丰都县中医院","issueDate":"2019年02月28日","certificateNumber":"T500100391"},"height":926,"orgHeight":962,"orgWidth":1381,"prism_keyValueInfo":[{"key":"neonatalName","keyProb":100,"value":"李崴泥","valuePos":[{"x":405,"y":218},{"x":405,"y":238},{"x":354,"y":238},{"x":354,"y":218}],"valueProb":100},{"key":"sex","keyProb":100,"value":"女","valuePos":[{"x":606,"y":227},{"x":606,"y":247},{"x":586,"y":247},{"x":586,"y":227}],"valueProb":100},{"key":"birthTime","keyProb":100,"value":"2019年01月17日03时31分","valuePos":[{"x":1176,"y":224},{"x":1177,"y":240},{"x":764,"y":244},{"x":763,"y":227}],"valueProb":100},{"key":"gestationalAge","keyProb":100,"value":"38","valuePos":[{"x":315,"y":272},{"x":315,"y":288},{"x":292,"y":288},{"x":292,"y":272}],"valueProb":100},{"key":"birthWeight","keyProb":100,"value":"3160","valuePos":[{"x":668,"y":281},{"x":668,"y":298},{"x":628,"y":298},{"x":628,"y":281}],"valueProb":100},{"key":"birthLength","keyProb":100,"value":"49","valuePos":[{"x":1008,"y":278},{"x":1008,"y":294},{"x":986,"y":294},{"x":986,"y":278}],"valueProb":100},{"key":"birthPlace","keyProb":100,"value":"重庆市重庆市丰都县","valuePos":[{"x":293,"y":342},{"x":294,"y":320},{"x":664,"y":330},{"x":663,"y":352}],"valueProb":100},{"key":"medicalInstitutions","keyProb":100,"value":"丰都县中医院","valuePos":[{"x":1101,"y":324},{"x":1101,"y":341},{"x":997,"y":343},{"x":996,"y":325}],"valueProb":100},{"key":"motherName","keyProb":100,"value":"韩夕","valuePos":[{"x":339,"y":407},{"x":339,"y":427},{"x":304,"y":427},{"x":304,"y":407}],"valueProb":100},{"key":"motherAge","keyProb":100,"value":"25","valuePos":[{"x":479,"y":407},{"x":479,"y":423},{"x":456,"y":423},{"x":456,"y":407}],"valueProb":100},{"key":"motherNationality","keyProb":100,"value":"中国","valuePos":[{"x":657,"y":409},{"x":657,"y":429},{"x":621,"y":429},{"x":621,"y":409}],"valueProb":100},{"key":"motherEthnicity","keyProb":100,"value":"汉族","valuePos":[{"x":861,"y":407},{"x":861,"y":426},{"x":821,"y":426},{"x":821,"y":407}],"valueProb":100},{"key":"motherAddress","keyProb":100,"value":"重庆市丰都县兴龙镇黎明村","valuePos":[{"x":925,"y":424},{"x":926,"y":407},{"x":1135,"y":410},{"x":1135,"y":428}],"valueProb":100},{"key":"motherIdCardNumber","keyProb":100,"value":"500001199501010001","valuePos":[{"x":1121,"y":455},{"x":1122,"y":474},{"x":954,"y":475},{"x":954,"y":457}],"valueProb":100},{"key":"fatherName","keyProb":100,"value":"李强","valuePos":[{"x":328,"y":539},{"x":328,"y":558},{"x":291,"y":558},{"x":291,"y":539}],"valueProb":100},{"key":"fatherAge","keyProb":100,"value":"29","valuePos":[{"x":475,"y":541},{"x":475,"y":559},{"x":452,"y":559},{"x":452,"y":541}],"valueProb":100},{"key":"fatherNationality","keyProb":100,"value":"中国","valuePos":[{"x":655,"y":543},{"x":655,"y":564},{"x":617,"y":564},{"x":617,"y":543}],"valueProb":100},{"key":"fatherEthnicity","keyProb":100,"value":"汉族","valuePos":[{"x":820,"y":548},{"x":861,"y":548},{"x":861,"y":567},{"x":820,"y":567}],"valueProb":100},{"key":"fatherAddress","keyProb":100,"value":"重庆市丰都县三合街道滨江东路","valuePos":[{"x":928,"y":558},{"x":928,"y":538},{"x":1171,"y":542},{"x":1170,"y":561}],"valueProb":100},{"key":"fatherIdCardNumber","keyProb":100,"value":"500001198911070808","valuePos":[{"x":1120,"y":592},{"x":1120,"y":610},{"x":952,"y":612},{"x":951,"y":593}],"valueProb":100},{"key":"issueAuthority","keyProb":100,"value":"丰都县中医院","valuePos":[{"x":300,"y":704},{"x":300,"y":681},{"x":416,"y":684},{"x":415,"y":706}],"valueProb":100},{"key":"issueDate","keyProb":100,"value":"2019年02月28日","valuePos":[{"x":263,"y":762},{"x":264,"y":746},{"x":478,"y":750},{"x":477,"y":765}],"valueProb":100},{"key":"certificateNumber","keyProb":100,"value":"T500100391","valuePos":[{"x":1138,"y":763},{"x":1138,"y":791},{"x":971,"y":791},{"x":971,"y":763}],"valueProb":100}],"width":1341}</Data>
</RecognizeBirthCertificationResponse>
JSON格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "B3F69B1B-A99E-485F-8658-F46AF2576190",
"Data" : "{\"data\":{\"neonatalName\":\"李崴泥\",\"sex\":\"女\",\"birthTime\":\"2019年01月17日03时31分\",\"gestationalAge\":\"38\",\"birthWeight\":\"3160\",\"birthLength\":\"49\",\"birthPlace\":\"重庆市重庆市丰都县\",\"medicalInstitutions\":\"丰都县中医院\",\"motherName\":\"韩夕\",\"motherAge\":\"25\",\"motherNationality\":\"中国\",\"motherEthnicity\":\"汉族\",\"motherAddress\":\"重庆市丰都县兴龙镇黎明村\",\"motherIdCardNumber\":\"500001199501010001\",\"fatherName\":\"李强\",\"fatherAge\":\"29\",\"fatherNationality\":\"中国\",\"fatherEthnicity\":\"汉族\",\"fatherAddress\":\"重庆市丰都县三合街道滨江东路\",\"fatherIdCardNumber\":\"500001198911070808\",\"issueAuthority\":\"丰都县中医院\",\"issueDate\":\"2019年02月28日\",\"certificateNumber\":\"T500100391\"},\"height\":926,\"orgHeight\":962,\"orgWidth\":1381,\"prism_keyValueInfo\":[{\"key\":\"neonatalName\",\"keyProb\":100,\"value\":\"李崴泥\",\"valuePos\":[{\"x\":405,\"y\":218},{\"x\":405,\"y\":238},{\"x\":354,\"y\":238},{\"x\":354,\"y\":218}],\"valueProb\":100},{\"key\":\"sex\",\"keyProb\":100,\"value\":\"女\",\"valuePos\":[{\"x\":606,\"y\":227},{\"x\":606,\"y\":247},{\"x\":586,\"y\":247},{\"x\":586,\"y\":227}],\"valueProb\":100},{\"key\":\"birthTime\",\"keyProb\":100,\"value\":\"2019年01月17日03时31分\",\"valuePos\":[{\"x\":1176,\"y\":224},{\"x\":1177,\"y\":240},{\"x\":764,\"y\":244},{\"x\":763,\"y\":227}],\"valueProb\":100},{\"key\":\"gestationalAge\",\"keyProb\":100,\"value\":\"38\",\"valuePos\":[{\"x\":315,\"y\":272},{\"x\":315,\"y\":288},{\"x\":292,\"y\":288},{\"x\":292,\"y\":272}],\"valueProb\":100},{\"key\":\"birthWeight\",\"keyProb\":100,\"value\":\"3160\",\"valuePos\":[{\"x\":668,\"y\":281},{\"x\":668,\"y\":298},{\"x\":628,\"y\":298},{\"x\":628,\"y\":281}],\"valueProb\":100},{\"key\":\"birthLength\",\"keyProb\":100,\"value\":\"49\",\"valuePos\":[{\"x\":1008,\"y\":278},{\"x\":1008,\"y\":294},{\"x\":986,\"y\":294},{\"x\":986,\"y\":278}],\"valueProb\":100},{\"key\":\"birthPlace\",\"keyProb\":100,\"value\":\"重庆市重庆市丰都县\",\"valuePos\":[{\"x\":293,\"y\":342},{\"x\":294,\"y\":320},{\"x\":664,\"y\":330},{\"x\":663,\"y\":352}],\"valueProb\":100},{\"key\":\"medicalInstitutions\",\"keyProb\":100,\"value\":\"丰都县中医院\",\"valuePos\":[{\"x\":1101,\"y\":324},{\"x\":1101,\"y\":341},{\"x\":997,\"y\":343},{\"x\":996,\"y\":325}],\"valueProb\":100},{\"key\":\"motherName\",\"keyProb\":100,\"value\":\"韩夕\",\"valuePos\":[{\"x\":339,\"y\":407},{\"x\":339,\"y\":427},{\"x\":304,\"y\":427},{\"x\":304,\"y\":407}],\"valueProb\":100},{\"key\":\"motherAge\",\"keyProb\":100,\"value\":\"25\",\"valuePos\":[{\"x\":479,\"y\":407},{\"x\":479,\"y\":423},{\"x\":456,\"y\":423},{\"x\":456,\"y\":407}],\"valueProb\":100},{\"key\":\"motherNationality\",\"keyProb\":100,\"value\":\"中国\",\"valuePos\":[{\"x\":657,\"y\":409},{\"x\":657,\"y\":429},{\"x\":621,\"y\":429},{\"x\":621,\"y\":409}],\"valueProb\":100},{\"key\":\"motherEthnicity\",\"keyProb\":100,\"value\":\"汉族\",\"valuePos\":[{\"x\":861,\"y\":407},{\"x\":861,\"y\":426},{\"x\":821,\"y\":426},{\"x\":821,\"y\":407}],\"valueProb\":100},{\"key\":\"motherAddress\",\"keyProb\":100,\"value\":\"重庆市丰都县兴龙镇黎明村\",\"valuePos\":[{\"x\":925,\"y\":424},{\"x\":926,\"y\":407},{\"x\":1135,\"y\":410},{\"x\":1135,\"y\":428}],\"valueProb\":100},{\"key\":\"motherIdCardNumber\",\"keyProb\":100,\"value\":\"500001199501010001\",\"valuePos\":[{\"x\":1121,\"y\":455},{\"x\":1122,\"y\":474},{\"x\":954,\"y\":475},{\"x\":954,\"y\":457}],\"valueProb\":100},{\"key\":\"fatherName\",\"keyProb\":100,\"value\":\"李强\",\"valuePos\":[{\"x\":328,\"y\":539},{\"x\":328,\"y\":558},{\"x\":291,\"y\":558},{\"x\":291,\"y\":539}],\"valueProb\":100},{\"key\":\"fatherAge\",\"keyProb\":100,\"value\":\"29\",\"valuePos\":[{\"x\":475,\"y\":541},{\"x\":475,\"y\":559},{\"x\":452,\"y\":559},{\"x\":452,\"y\":541}],\"valueProb\":100},{\"key\":\"fatherNationality\",\"keyProb\":100,\"value\":\"中国\",\"valuePos\":[{\"x\":655,\"y\":543},{\"x\":655,\"y\":564},{\"x\":617,\"y\":564},{\"x\":617,\"y\":543}],\"valueProb\":100},{\"key\":\"fatherEthnicity\",\"keyProb\":100,\"value\":\"汉族\",\"valuePos\":[{\"x\":820,\"y\":548},{\"x\":861,\"y\":548},{\"x\":861,\"y\":567},{\"x\":820,\"y\":567}],\"valueProb\":100},{\"key\":\"fatherAddress\",\"keyProb\":100,\"value\":\"重庆市丰都县三合街道滨江东路\",\"valuePos\":[{\"x\":928,\"y\":558},{\"x\":928,\"y\":538},{\"x\":1171,\"y\":542},{\"x\":1170,\"y\":561}],\"valueProb\":100},{\"key\":\"fatherIdCardNumber\",\"keyProb\":100,\"value\":\"500001198911070808\",\"valuePos\":[{\"x\":1120,\"y\":592},{\"x\":1120,\"y\":610},{\"x\":952,\"y\":612},{\"x\":951,\"y\":593}],\"valueProb\":100},{\"key\":\"issueAuthority\",\"keyProb\":100,\"value\":\"丰都县中医院\",\"valuePos\":[{\"x\":300,\"y\":704},{\"x\":300,\"y\":681},{\"x\":416,\"y\":684},{\"x\":415,\"y\":706}],\"valueProb\":100},{\"key\":\"issueDate\",\"keyProb\":100,\"value\":\"2019年02月28日\",\"valuePos\":[{\"x\":263,\"y\":762},{\"x\":264,\"y\":746},{\"x\":478,\"y\":750},{\"x\":477,\"y\":765}],\"valueProb\":100},{\"key\":\"certificateNumber\",\"keyProb\":100,\"value\":\"T500100391\",\"valuePos\":[{\"x\":1138,\"y\":763},{\"x\":1138,\"y\":791},{\"x\":971,\"y\":791},{\"x\":971,\"y\":763}],\"valueProb\":100}],\"width\":1341}"
}
返回示例补充说明
### 中英文字段映射
neonatalName 新生儿姓名
sex 性别
birthTime 出生时间
gestationalAge 出生孕周
birthWeight 出生体重
birthLength 出生身长
birthPlace 出生地
medicalInstitutions 医疗机构名称
motherName 母亲姓名
motherAge 母亲年龄
motherNationality 母亲国籍
motherEthnicity 母亲民族
motherAddress 母亲住址
motherIdCardNumber 母亲有效身份证件号
fatherName 父亲姓名
fatherAge 父亲年龄
fatherNationality 父亲国籍
fatherEthnicity 父亲民族
fatherAddress 父亲住址
fatherIdCardNumber 父亲有效身份证件号
issueAuthority 签发机构
issueDate 签发日期
certificateNumber 编号
错误码
访问错误中心查看更多错误码。