已经弄好了,需要https 并且不带端口好的图片路径,图片的url需要进行encode编码后再进行传参
OCR 身份识别中 URL 到底有哪些要求,是否可以带端口号 ,还是必须用什么业界独流的东西https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.idcard.html [代码]https://api.weixin.qq.com/cv/ocr/idcard?type=MODE&img_url=ENCODE_URL&access_token=ACCESS_TOCKEN[代码]这个img_url 的具体要求是什么,报错{"errcode":"101000","errmsg":"invalid image url hint: [HNQqga01944741]"},同一张图片,图片的地址不同,就识别不了是怎么回事,url的条件说清楚啊,文档也不说明白
2019-12-16https://api.weixin.qq.com/cv/ocr/idcard?type=photo&img_url=https%3A%2F%2Ftowntravel.cdtown.cn%3A9006%2Ffile%2Fupload_files%2F20191209%2F1912091559069410.jpg&access_token=28_TOn-jS5sv_G3OkuosuKs7ST5-YXP45l4YdlssH3rrd5JauzsX043oNvT3RIZ7_rb2UL48ITGcLvzA0_Xoxct7bqngK0Jz2s1yyV0UR5iL-3C5q6c7iNSfMDjdfb88rCvD5cb8YZSEIqcRWGbUNSjAFABUZ
微信小程序OCR身份证识别错误请求: https://api.weixin.qq.com/cv/ocr/idcard?type=MODE&img_url=https%253A%252F%252Foss-qa.ebanma.com%253A20016%252Foss%252Fdownload%252Fentmu%252F9a3e2fdd91a64d448923c4fca299d1d0.jpg&access_token=ACCESS_TOKEN 返回: {"errcode":101000,"errmsg":"invalid image url hint: [SUpiZa09461481]"}
2019-12-09