赞
踩
国*税*局发票查验平台https://inv-veri.chinatax.gov.cn/, 验证码识别接口测试, 为了防止恶意使用, 每天限制接口调用次数为500
验证码须是原图, 不能从网页截图, 否则会严重影响识别结果.
接口地址: 47.107.153.131/captcha
请求体为json串, 参数:
data: 图像进行base64编码后的字符串
color:需要识别的颜色, 取值分别为: red,blue,yellow,black
请求示例:
-
- curl 47.107.153.131/captcha -X POST -H "Content-Type:application/json" -d '{"color":"red","data":"iVBORw0KGgoAAAANSUhEUgAAAHgAAAAyCAIAAAAYxYiPAAAQf0lEQVR42t1bCVyNWR9+67Zp31MkFRXGkig/a6EksgwhpYZIhCzTR2P5apQ9FSoM0RjrkGWY6cNoLGNLGjvZorJvob2u77mOTm/vfe/tdiVGv/O73nvOec895znPef7L+2LcGOZhSeHu0oMOQkdcfJZiHfRWjrsynB5/rglLL7FbrotXMinPXfBPWHlEUHlIPU9oxbozX18pP7uYt54ha+5d4Z5Utu3LgXjCd1/bNoiAflBSoPNO92JpNkHh9pGXF5Kz5AZR6Da/VhCb9I2vh3U29tFhf43ecFxSz7H+U2sc7XLjOdI79J/0lgfov0ozLIXWX41QDGi0klxELf+jT/8xcxfsYrfO2JvkmNVPu8BQCta8ZcPivVe79N8Svll+Ri8tWzWswvdzQRzevoOU1jtOHeRYlW2jphr6Bsoqqrp6xgzDxKw+sWzjUe9js82f2RrmNx50ZsqiTYdkHGr1yiNn+48paaD5jmFQXjS0kB9orwqfZWXxvBjd6GUjHcQBPXfWOYX7jdWV+15gatvSUSBQ+m58JL4uSzjK2DCKcQKNYp3W97pNSI2LW3fa3eKpjKM9sG5D8L3UfdCaFYcPBoTjetXak3IC3VRodbQ04ytwJ0b4hYG/vfv64Tp2/amxhxbb5jlqFeozUYxpJ6vajkZg/W3SMlqTGP8XajZFbpcHaNhA3Xd6sIf/Uogtl3cUwbr2ZCNTG20dgwUxqZGbf/fICNR9a2z1qK1/2vyYpBPhi/diA8YGL6nVyG91DQGrT0s1dmWhlh5oLg/Q68u2wrf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WSi/xdU6cXga7t/qXErA4p6AQ0rFxV4mxiRAaffJqUT38tx0u0Iu+bVHjYsa4uPHWd81M4+jGseHTICxSEk8JMr80JEvM5mB3g7O8sZ5VhzrraeG8RaVNLW7Ztqyw71ix5beSizkSId4dNUs+QI0OnpeV0e1Hlsm4vM4dPeSGBhsg6dW6avtRcE3GsLgu/9/jsCvy3dj+iFLdSEfj3/9TYx9HyxQ5cHctXyildYcT15+50UzkIWzJ8pey7Hm5biKK3RtUW7xm6+6vsU/iBnXpHbKcl9SxRndw5X85uoV+3CdyKupBUgMZ3y/LvauforjWgo1veOzIL/M/J38pQI/We/KFUPht9XMtXykNrvZa6H+CU2sGevoo0TtOk0ZHyJpdyjCpn72pc4ifRuni87DNBNlvMRkeKd9vpc4Y+NmkY6dKxpcjxF+tdHxeiAc06U6vu7h7f+VAG24OqQeI+yR74tNyvVKdjHbFzUjGnmlvXesM6Iwc9c/C4rjWW//V0vF/y0pkkfOeW5IAAAAASUVORK5CYII="}'
响应示例:
- {
- "code": 200,
- "message": "success",
- "data": {
- "picStr": "旺妾RX",
- "codeType": "inv",
- "message": "OK",
- "picId": "RE1609315915930"
- }
- }
其中picStr就是识别出的验证码文字
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。