检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Id配置审核任务的id,配置完成后运行即可。 服务所在的应用区域和终端节点,详情请查看 地区和终端节点 。 using System; using System.Collections.Generic; using HuaweiCloud.SDK.Core; using HuaweiCloud
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()); System.out.println(e.getErrorCode());
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()); System.out.println(e.getErrorCode());
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getErrorCode()); System.out.println(e.getErrorMsg());
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()); System.out.println(e.getErrorCode());
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getErrorCode()); System.out.println(e.getErrorMsg());
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getErrorCode()); System.out.println(e.getErrorMsg());
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()); System.out.println(e.getErrorCode());
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()); System.out.println(e.getErrorCode());
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getErrorCode()); System.out.println(e.getErrorMsg());
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()); System.out.println(e.getErrorCode());
步骤一:开通服务,用户在“总览”页面申请开通服务。 步骤二:对象存储服务OBS授权(可选),如果需要对OBS中的数据进行内容审核请开通对象存储服务OBS授权。 步骤三:配置策略(可选),可对文本、图像、音频和视频内容进行不同场景的检测。 步骤四:配置环境,把准备的配置文件导入到开发环境中。 步骤五:Toke
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getErrorCode()); System.out.println(e.getErrorMsg());
printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getErrorCode()); System.out.println(e.getErrorMsg());
启公共读授权或者提供一个临时授权的URL。 对服务授权 如果您需要使用OBS中的数据,请开通对象存储服务OBS授权。登录管理控制台,进入“OBS内容审核>增量扫描”页面。打开对象存储服务OBS授权的按钮,完成授权操作。完成授权即可使用授权方式的URL对服务进行访问。 图1 OBS授权
文本审核能直接上传word文件进行审核吗? 文本审核不支持word文件直接上传,只能通过调用API接口的方式,分析并识别用户上传的文本内容是否有敏感内容,并将识别结果返回给您。调用方法请参考《内容审核-文本入门》。 建议您先把word文件中字符串提取出来 ,然后分批、分字段调用服务的API接口,进行文本审核。
obtain the OBS file. 获取OBS文件失败。 下载OBS文件失败,请检查对应的文件是否存在。 400 ModelArts.4705 The OBS file is oversized. OBS文件大小超限。 请使用符合服务大小限制的文件作为输入,具体请参见《内容审核使用限制》。
服务可以对OBS文件夹里面的内容进行遍历审核吗? 内容审核服务暂不支持对OBS文件夹里面的内容进行遍历审核。 您需要取出文件夹中的文件进行单个文件审核,也可以考虑从OBS桶中遍历列举桶内的对象,再将对象收集起来挨个进行请求。 父主题: API使用类
建Maven工程。 创建项目以idea开发工具为例(已有Maven工程可跳过此步骤): 打开IntelliJ IDEA 开发工具。 单击File - New - project...。 在New Project弹窗 单击-Maven-单击Next。 输入GroupId和ArtifactId,单击Next。
复制代码示例至PyCharm中。 获取AK/SK,替换代码示例中的“<CLOUD_SDK_AK>”、“<CLOUD_SDK_SK>”参数。 登录访问密钥页面,新增访问密钥,或使用已有的访问密钥。访问密钥为credentials.csv文件,包含AK/SK信息。 运行代码示例,获取识别结果。您可