Class Info |
|---|
public class ImageVisionImpl implements ImageVisionInterface 图像智能编辑设计功能接口实现类。 |
Qualifier and Type |
Method Name and Description |
|---|---|
void |
setVisionCallBack(ImageVision.VisionCallBack callBack) 服务初始化服务回调接口。 |
getColorFilter(org.json.JSONObject requestJson, android.graphics.Bitmap imageBitmap) 获取颜色滤镜处理结果,返回滤镜结果封装类ImageVisionResult。 |
|
analyzeImageLayout(org.json.JSONObject requestJson, android.graphics.Bitmap imageBitmap) 获取智能排版处理结果,返回排版结果封装类ImageLayoutInfo。 |
|
analyzeImageThemeTag(org.json.JSONObject requestJson, android.graphics.Bitmap imageBitmap) 获取主题标签处理结果,返回封装类ImageVisionResult。 |
|
int |
init(android.content.Context context,org.json.JSONObject authJson) 初始化滤镜服务。 |
int |
stop() 停止滤镜服务。 |
Methods Inherited from Class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method |
|---|
public void setVisionCallBack(ImageVision.VisionCallBack callBack) 服务初始化服务回调接口。 |
Parameters
Name |
Description |
|---|---|
callBack |
服务初始化服务回调接口。 |
Method |
|---|
public ImageVisionResult getColorFilter(org.json.JSONObject requestJson, android.graphics.Bitmap imageBitmap) 获取颜色滤镜处理结果,返回封装类。 |
Parameters
Name |
Description |
|---|---|
requestJson |
请求json,参见开发指南滤镜服务步骤4。 |
imageBitmap |
需要添加滤镜效果的图片的bitmap格式。 |
Returns
Type |
Description |
|---|---|
Method |
|---|
publicImageLayoutInfo analyzeImageLayout(JSONObject requestJson, Bitmap imageBitmap) 获取智能排版处理结果,返回排版结果封装类ImageLayoutInfo。 |
Parameters
Name |
Description |
|---|---|
requestJson |
请求json,参见开发指南图文智能排版服务步骤4。 |
imageBitmap |
需要制作智能排版的图片的bitmap格式。 |
Returns
Type |
Description |
|---|---|
封装类ImageLayoutInfo。 |
Method |
|---|
publicImageVisionResultanalyzeImageThemeTag(org.json.JSONObject requestJson, android.graphics.Bitmap imageBitmap) 获取智能标签处理结果,返回封装类ImageVisionResult。 |
Parameters
Name |
Description |
|---|---|
requestJson |
请求json,参见开发指南图像主题标签服务步骤4。 |
imageBitmap |
需要识别的图片的bitmap格式。 |
Returns
Type |
Description |
|---|---|
Method |
|---|
public int init(android.content.Context context,org.json.JSONObject authJson) 初始化滤镜服务。 |
Parameters
Name |
Description |
|---|---|
context |
上下文。 |
authJson |
Json格式。 |
Returns
Type |
Description |
|---|---|
int |
结果码。 |