protected static class BaiDuAIParser.Parser extends Object
Modifier | Constructor and Description |
---|---|
protected |
Parser() |
Modifier and Type | Method and Description |
---|---|
protected String |
getAccessToken(okhttp3.OkHttpClient client,
String ak,
String sk)
获取访问凭证
|
protected AIParseInfo |
parseInfo(okhttp3.OkHttpClient client,
String ak,
String sk,
String url,
String jsonBody)
解析图像
|
protected AIParseInfo parseInfo(okhttp3.OkHttpClient client, String ak, String sk, String url, String jsonBody)
client
- http客户端ak
- api密钥sk
- 密钥url
- 请求地址jsonBody
- json请求体Copyright © 2025. All rights reserved.