检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
] request.body = ImageDetectionReq( url="http://www.xxxx.xxxx", categories=listCategoriesbody,
HuaweiCloud\SDK\Core\Auth\BasicCredentials; use HuaweiCloud\SDK\Core\Http\HttpConfig; use HuaweiCloud\SDK\Core\Exceptions\ConnectionException;
CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS
HuaweiCloud\SDK\Core\Auth\BasicCredentials; use HuaweiCloud\SDK\Core\Http\HttpConfig; use HuaweiCloud\SDK\Core\Exceptions\ConnectionException;
HuaweiCloud\SDK\Core\Auth\BasicCredentials; use HuaweiCloud\SDK\Core\Http\HttpConfig; use HuaweiCloud\SDK\Core\Exceptions\ConnectionException;
listbodyCategories = new Array(); listbodyCategories.push("porn"); body.withUrl("http://www.xxxx.xxxx"); body.withCategories(listbodyCategories); body.wi
AudioStreamCreateRequestData(); databody.withUrl("http://xxxx"); body.withCallback("http://xxxxxxx"); body.withCategories(listbodyCategories);
{ Url: "http://xxx.xx.xxxx", FrameInterval: &frameIntervalData, } callbackVideoCreateRequest:= "http://xxx.xx.xxxx"
HuaweiCloud\SDK\Core\Auth\BasicCredentials; use HuaweiCloud\SDK\Core\Http\HttpConfig; use HuaweiCloud\SDK\Core\Exceptions\ConnectionException;
listCategoriesbody = []string{ "porn", } urlImageDetectionReq:= "http://www.xxxx.xxxx" request.Body = &model.ImageDetectionReq{
Url = "http://xxx" }; req.Body = new AudioStreamCreateRequest() { Callback = "http://xxxxxx"
回调数据格式,请参考查询音频内容审核作业的响应示例; 您的服务端callback接口收到内容安全发送的结果后,如果在响应超时时间3秒内返回的HTTP状态码为200,则表示接收成功。其他HTTP状态码或响应时间大于3秒后返回状态码均视为接收失败,接收失败时,内容安全将重复发送多次检测结果。 biz_type
Body = new ImageDetectionReq() { Url = "http://www.xxxx.xxxx", Categories = listCategoriesbody,
= new VideoCreateRequestData() { Url = "http://xxx.xx.xxxx", FrameInterval = 5.5 };
VideoStreamCreateRequestData(); databody.withUrl("http://xxx"); body.withCallback("http://xxxxxx"); body.withImageCategories(li
回调数据格式,请参考查询视频内容审核作业的响应示例; 您的服务端callback接口收到内容安全发送的结果后,如果在响应超时时间3秒内返回的HTTP状态码为200,则表示接收成功。其他HTTP状态码或响应时间大于3秒后返回状态码均视为接收失败,接收失败时,内容安全将重复发送多次检测结果。 seed 否 String
Url = "http://xxx" }; req.Body = new VideoStreamCreateRequest() { Callback = "http://xxxxxx"
databody.withUrl("http://xxx.xx.xxxx") .withFrameInterval(5.5f); body.withCallback("http://xxx.xx.xxxx");
ArrayList<>(); listbodyCategories.add("porn"); body.withUrl("http://www.xxxx.xxxx"); body.withCategories(listbodyCategories);
检测时使用的自定义白名单词库列表。 表5 urls 参数 是否必选 参数类型 描述 url 是 String 图片url,目前支持:公网HTTP/HTTPS URL。 data_id 是 String 图片唯一标识。同一次请求中不可重复,由大小写英文字母、数字、下划线(_)、中划线(-)组成,不超过30个字符。