检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
push("terrorism"); listbodyCategories.push("porn"); listbodyCategories.push("ad"); const listbodyUrls = new Array(); listbodyUrls.push("https://XXX.jpg");
"image_categories":["porn","terrorism","image_text"],"audio_categories":["porn","ad","moan","abuse"],"callback":"xxx"},"create_time":"2022-07-30T08:57:11
array_push($listbodyCategories,"porn"); array_push($listbodyCategories,"ad"); $listbodyUrls = array(); array_push($listbodyUrls,"https://XXX.jpg");
$request = new RunCheckResultRequest(); $request->setJobId("321cb5b6-3ad3-461a-b258-7ba7f530b91a"); try { $response = $client->RunCheckResult($request);
listbodyCategories = new ArrayList<>(); listbodyCategories.add("ad"); listbodyCategories.add("abuse"); listbodyCategories
qrContent: null segments: null label: ad }, class ImageDetectionResultDetail { suggestion:
"image_categories":["porn","terrorism","image_text"],"audio_categories":["porn","ad","moan","abuse"],"callback":"xxx"},"create_time":"2022-07-30T08:57:11
"image_categories":["porn","terrorism","image_text"],"audio_categories":["porn","ad","moan","abuse"],"callback":"xxx"},"create_time":"2022-07-30T08:57:11
], "audio_categories":[ "porn", "ad", "moan", "abuse" ], "callback":"xxx"
"image_categories":["porn","terrorism","image_text"],"audio_categories":["porn","ad","moan","abuse"],"callback":"xxx"},"create_time":"2022-07-30T08:57:11
"data":{"url":"https://xxxx.wav"},"callback":"http://xxx","categories":["porn","ad"]},"create_time":"2022-06-20 11:05:29","update_time":"2022-06-20 11:07:08"
Array of strings 网页视频中音频需要检测的风险类型,不传或为空时表示不审核网页视频中音频的内容, 可取值如下: porn:涉黄检测 ad:广告检测 abuse:辱骂检测 moan:娇喘检测 callback 否 String 该字段非空时,检测结果会回调通知您的URL。该字段为空时,您需要定时轮询获取检测结果。
label String 当前内容片段的风险类型,可取值为: terrorism:暴恐 porn:色情 sexy:性感 abuse:辱骂 ad:广告 qr_code:二维码 watermark:水印 meaningless:无意义 ban:违禁 bad_scene:不良场景 moan:娇喘
在我的凭证下,您可以查看账号ID和用户ID。通常在调用API的鉴权过程中,您需要用到账号、用户和密码等信息。 区域(Region) 指云资源所在的物理位置,同一区域内可用区间内网互通,不同区域间内网不互通。通过在不同地区创建云资源,可以将应用程序设计的更接近特定客户的要求,或满足不同地区的法律或其他要求。
// 连接池获取可用连接超时限制 .socketTimeout(20000) // 获取服务器响应数据超时限制 .build(); 步骤五:调用服务 输入需要检测的文本,参考如下示例代码修改“ModerationTextContentDemo
有哪些途径可以使用内容审核的API? 共有三种方式可以基于已构建好的请求消息发起请求。 cURL cURL是一个命令行工具,用来执行各种URL操作和信息传输。cURL充当的是HTTP客户端,可以发送HTTP请求给服务端,并接收响应消息。cURL适用于接口调试。关于cURL详细信息请参见https://curl