【只要10分钟 快速掌握文字识别】
Ta的回复 :“ 1.6 获取密钥 点击“返回创建应用列表”后,页面出现平台分配的密钥:API Key、Secret Key(即AK、SK)。 ” 这里应该写错了吧,https://cloud.baidu.com/doc/Reference/GetAKSK.html,即AK(Access Key ID)/SK(Secret Access Key),需要到控制台——安全认证专门去获取,和API Key、Secret Key是两码事。包括 https://ai.baidu.com/docs#/OCR-API/8b83b775 获取access_token示例代码中:#!/bin/bash curl -i -k 'https://aip.baidubce.com/oauth/2.0/token?grant_type=client_credentials&client_id=【百度云应用的AK】&client_secret=【百度云应用的SK】' 这里应该也混淆了API Key、Secret Key和AK//SK的概念,URL方式明明需要的是API Key、Secret Key。 希望是我搞错了,还望看到我的疑问解答一下。 谢谢!