检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
"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"
listbodyCategories = new ArrayList<>(); listbodyCategories.add("ad"); AudioStreamCreateRequestData databody = new AudioStreamCreateRequestData();
{"request_id": "fa520dddb6b54af51c8d1e6d19898656", "job_id": "01690387200_09ad14f155bb47e9bf2718ace57c73ed"} 父主题: 视频流审核
listCategoriesbody = new List<string>(); listCategoriesbody.Add("ad"); AudioStreamCreateRequestData databody = new AudioStre
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);
用方法请参见如何使用Postman调用华为云Moderation服务。 通过软件开发工具包(SDK)调用内容审核服务API。 如果您是开发工程师,熟悉代码编写,内容审核服务为您提供Java、Python、.NET、GO等版本的SDK,方便您快速集成。使用方法请参见如何使用SDK调用内容审核服务。
"request_id":"fa520dddb6b54af51c8d1e6d19898656", "job_id":"01690387200_09ad14f155bb47e9bf2718ace57c73ed" } 父主题: 视频流审核
listbodyCategories = new ArrayList<>(); listbodyCategories.add("ad"); listbodyCategories.add("abuse"); listbodyCategories
System.out.println(e.getErrorMsg()); } } } 控制台输出200即表示程序执行成功,图像内容审核结果输出到控制台。 class CheckImageModerationResponse { requestId:
申请服务 申请内容审核服务的具体操作步骤请参见《内容审核API参考》的“如何调用API > 申请服务”章节。
"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
"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"
FaceLocationDetail object 人物位置信息,该数组有四个值,分别代表左上角的坐标和右下角的坐标。例如[207,522,340,567],207代表的是左上角的横坐标,522代表左上角的纵坐标,340代表的是右下角的横坐标,567代表的是右下角的纵坐标。 qr_location QRLocationDetail
Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI POST /v3/{project_id}/moderation/audio-stream/jobs/stop/{job_id} 表1 路径参数 参数 是否必选 参数类型 描述
Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI POST /v3/{project_id}/moderation/video-stream/jobs/stop/{job_id} 表1 路径参数 参数 是否必选 参数类型 描述
内容审核提供了REST(Representational State Transfer)风格API,支持您通过HTTPS请求调用,调用方法请参见如何调用API。 同时内容审核还提供多种编程语言的SDK供您使用,SDK的使用方法请参见内容审核SDK。 父主题: 使用前必读