获取接口访问凭证 access_token 代码里有写,可以直接参考 根据第1步获取的 API Key 和 Secret Key , 获取 access_token ,通过 access_token 鉴权调用者身份。 调用API接口。调用创建chat接口,详见本文说明。
access_token=【调用鉴权接口获取的token】' --data 'image=【图片Base64编码,需UrlEncode】' -H 'Content-Type:application/x-www-form-urlencoded' # encoding:utf-8 import requests import base64 ''' 食品经营许可证识别 ''' request_url =
access_token=【调用鉴权接口获取的token】' --data 'image=【图片Base64编码,需UrlEncode】' -H 'Content-Type:application/x-www-form-urlencoded' # encoding:utf-8 import requests import base64 ''' 食品生产许可证识别 ''' request_url =
access_token=【调用鉴权接口获取的token】' --data 'image=【图片Base64编码,需UrlEncode】' -H 'Content-Type:application/x-www-form-urlencoded' # encoding:utf-8 import requests import base64 ''' 外国人永久居住证识别 ''' request_url =
access_token=【调用鉴权接口获取的token】' --data 'image=【图片Base64编码,需UrlEncode】' -H 'Content-Type:application/x-www-form-urlencoded' # encoding:utf-8 import requests import base64 ''' 诊断证明识别 ''' request_url = https
access_token=【调用鉴权接口获取的token】' --data 'image=【图片Base64编码,需UrlEncode】' -H 'Content-Type:application/x-www-form-urlencoded' # encoding:utf-8 import requests import base64 ''' 保单识别 ''' request_url = https
access_token=【调用鉴权接口获取的token】' --data 'image=【图片Base64编码,需UrlEncode】' -H 'Content-Type:application/x-www-form-urlencoded' # encoding:utf-8 import requests import base64 ''' 入院小结识别 ''' request_url = https
access_token=【调用鉴权接口获取的token】' --data 'image=【图片Base64编码,需UrlEncode】' -H 'Content-Type:application/x-www-form-urlencoded' # encoding:utf-8 import requests import base64 ''' 门诊病历识别 ''' request_url = https
access_token=【调用鉴权接口获取的token】' --data 'image=【图片Base64编码,需UrlEncode】' -H 'Content-Type:application/x-www-form-urlencoded' # encoding:utf-8 import requests import base64 ''' 手术记录识别 ''' request_url = https
access_token=【调用鉴权接口获取的token】' --data 'image=【图片Base64编码,需UrlEncode】' -H 'Content-Type:application/x-www-form-urlencoded' # encoding:utf-8 import requests import base64 ''' 处方笺识别 ''' request_url = https