我也碰到这个问题了,传的img_url是一个可以打开的图片链接,返回 { "errcode ":101002, "errmsg ":"decode image failed hint: [EXDCFa0660w512] rid: 62 a0492c - 211 f6d38 - 42 d6f858 "}
OCR fail decode image failed hint云函数中调用返回错误 const imgUrl = 'https://7072-prod-1gkqwpwa5ccfb4a0-1306499989.tcb.qcloud.la/order-pay/18ed0968619bab5106b3a50a32fb0e6f-1653408493081.png' cloud.openapi.ocr.printedText({ type: 'photo', imgUrl }) { "errCode": 101002, "errMsg": "openapi.ocr.printedText:fail decode image failed hint: [SvkjFa0494w972] rid: 628d02ee-4360b55c-32945d61" }
2022-06-08我也碰到这个问题了,请问有解决方案了吗?
OCR识别的时候返回41005错误https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.printedText.html {"errcode":41005,"errmsg":"media data missing hint: [vhZCFA0310e541]"}OCR识别的时候返回这个错误 用的是https调用,传的是img_url
2022-06-08