成功解决百度智能云图像识别组合接口API出现error_code‘: 216102,service not support问题
python今天测试百度智能云的图像识别接口的测试代码时,调用失败出现了仔细观察测试代码发现代码中用于指定本次调用的模型服务的参数scenes中,写了一个无效的参数“dishs”,解决方法就是将dishes修改为dishs或其他有效参数修改前:params = "{\"imgUrl\":\"【网络图片地址】\",\"scenes\":[\"animal\",\"plant\",\"ingredient\",\"dishes\", \"red_wine\",\"currency\",\"lan
原创
2021-04-25 18:14:15 ·
2145 阅读 ·
0 评论