public class AipImageProcess extends BaseClient
accessToken, aipKey, aipToken, appId, config, expireDate, isAuthorized, isBceKey, LOGGER, state| 构造器和说明 |
|---|
AipImageProcess(String appId,
String apiKey,
String secretKey) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.json.JSONObject |
colourize(byte[] image,
HashMap<String,String> options)
黑白图像上色接口
智能识别黑白图像内容并填充色彩,使黑白图像变得鲜活。
|
org.json.JSONObject |
colourize(String image,
HashMap<String,String> options)
黑白图像上色接口
智能识别黑白图像内容并填充色彩,使黑白图像变得鲜活。
|
org.json.JSONObject |
contrastEnhance(byte[] image,
HashMap<String,String> options)
图像对比度增强接口
调整过暗或者过亮图像的对比度,使图像更加鲜明。
|
org.json.JSONObject |
contrastEnhance(String image,
HashMap<String,String> options)
图像对比度增强接口
调整过暗或者过亮图像的对比度,使图像更加鲜明。
|
org.json.JSONObject |
dehaze(byte[] image,
HashMap<String,String> options)
图像去雾接口
对浓雾天气下拍摄,导致细节无法辨认的图像进行去雾处理,还原更清晰真实的图像。
|
org.json.JSONObject |
dehaze(String image,
HashMap<String,String> options)
图像去雾接口
对浓雾天气下拍摄,导致细节无法辨认的图像进行去雾处理,还原更清晰真实的图像。
|
org.json.JSONObject |
imageQualityEnhance(byte[] image,
HashMap<String,String> options)
图像无损放大接口
输入一张图片,可以在尽量保持图像质量的条件下,将图像在长宽方向各放大两倍。
|
org.json.JSONObject |
imageQualityEnhance(String image,
HashMap<String,String> options)
图像无损放大接口
输入一张图片,可以在尽量保持图像质量的条件下,将图像在长宽方向各放大两倍。
|
org.json.JSONObject |
stretchRestore(byte[] image,
HashMap<String,String> options)
拉伸图像恢复接口
自动识别过度拉伸的图像,将图像内容恢复成正常比例。
|
org.json.JSONObject |
stretchRestore(String image,
HashMap<String,String> options)
拉伸图像恢复接口
自动识别过度拉伸的图像,将图像内容恢复成正常比例。
|
getAccessToken, needAuth, postOperation, preOperation, requestServer, setConnectionTimeoutInMillis, setHttpProxy, setSocketProxy, setSocketTimeoutInMillispublic org.json.JSONObject imageQualityEnhance(byte[] image,
HashMap<String,String> options)
image - - 二进制图像数据options - - 可选参数对象,key: value都为string类型
options - options列表:public org.json.JSONObject imageQualityEnhance(String image, HashMap<String,String> options)
image - - 本地图片路径options - - 可选参数对象,key: value都为string类型
options - options列表:public org.json.JSONObject dehaze(byte[] image,
HashMap<String,String> options)
image - - 二进制图像数据options - - 可选参数对象,key: value都为string类型
options - options列表:public org.json.JSONObject dehaze(String image, HashMap<String,String> options)
image - - 本地图片路径options - - 可选参数对象,key: value都为string类型
options - options列表:public org.json.JSONObject contrastEnhance(byte[] image,
HashMap<String,String> options)
image - - 二进制图像数据options - - 可选参数对象,key: value都为string类型
options - options列表:public org.json.JSONObject contrastEnhance(String image, HashMap<String,String> options)
image - - 本地图片路径options - - 可选参数对象,key: value都为string类型
options - options列表:public org.json.JSONObject colourize(byte[] image,
HashMap<String,String> options)
image - - 二进制图像数据options - - 可选参数对象,key: value都为string类型
options - options列表:public org.json.JSONObject colourize(String image, HashMap<String,String> options)
image - - 本地图片路径options - - 可选参数对象,key: value都为string类型
options - options列表:public org.json.JSONObject stretchRestore(byte[] image,
HashMap<String,String> options)
image - - 二进制图像数据options - - 可选参数对象,key: value都为string类型
options - options列表:Copyright © 2019. All rights reserved.