| 程序包 | 说明 |
|---|---|
| com.baidu.aip.contentcensor |
| 限定符和类型 | 方法和说明 |
|---|---|
static EImgType |
EImgType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static EImgType[] |
EImgType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.json.JSONObject |
AipContentCensor.faceAudit(List<String> imgPaths,
EImgType type,
HashMap<String,String> options)
头像审核接口
|
org.json.JSONObject |
AipContentCensor.imageCensorComb(String imgPath,
EImgType type,
List<String> scenes,
HashMap<String,String> options)
组合审核接口
|
org.json.JSONObject |
AipContentCensor.imageCensorUserDefined(String image,
EImgType type,
HashMap<String,String> options)
图像审核接口
本接口除了支持自定义配置外,还对返回结果进行了总体的包装,按照用户在控制台中配置的规则直接返回是否合规,如果不合规则指出具体不合规的内容。
|
Copyright © 2019. All rights reserved.