client

package
v1.62.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CensorClient

type CensorClient struct {
	core.JDCloudClient
}

func NewCensorClient

func NewCensorClient(credential *core.Credential) *CensorClient

func (*CensorClient) AsyncAudioScan added in v1.45.0

提交音频异步检测任务

func (*CensorClient) AsyncAudioScanV2 added in v1.56.0

提交音频异步检测任务V2

func (*CensorClient) AsyncImageScan

提交图片异步检测任务

func (*CensorClient) AsyncVideoScan added in v1.45.0

提交视频异步检测任务

func (*CensorClient) AsyncVideoScanV2 added in v1.56.0

提交视频异步检测任务V2

func (*CensorClient) AudioCallbackV2 added in v1.56.0

语音检测结果获取接口,获取离线处理的数据后,下次调用,不会再次返回之前获取过的离线数据。小于10s/20次,请求频率过快服务器会拒绝处理

func (*CensorClient) AudioResults added in v1.45.0

查看音频异步检测结果

func (*CensorClient) AudioResultsV2 added in v1.56.0

根据taskid查询语音检测结果,小于10s/20次,请求频率过快服务器会拒绝处理

func (*CensorClient) DeleteCensorLib added in v1.45.0

删除敏感库

func (*CensorClient) DeleteCensorLibItems added in v1.45.0

删除敏感库Item

func (*CensorClient) DeleteLimit added in v1.45.0

删除限制参数配置

func (*CensorClient) DisableLogger

func (c *CensorClient) DisableLogger()

func (*CensorClient) ImageResults

查看图片异步检测结果

func (*CensorClient) ImageScan

图片同步检测

func (*CensorClient) ImageScanV2 added in v1.56.0

图片同步检测v2

func (*CensorClient) InnerTextScan added in v1.45.0

文本同步检测-检测文本中是否包含违规信息

func (*CensorClient) SetConfig

func (c *CensorClient) SetConfig(config *core.Config)

func (*CensorClient) SetLogger

func (c *CensorClient) SetLogger(logger core.Logger)

func (*CensorClient) TextResultsV2 added in v1.56.0

查看文本疑似结果,小于10s/20次,请求频率过快服务器会拒绝处理

func (*CensorClient) TextScan

func (c *CensorClient) TextScan(request *censor.TextScanRequest) (*censor.TextScanResponse, error)

文本同步检测-检测文本中是否包含违规信息

func (*CensorClient) TextScanV2 added in v1.56.0

文本同步检测-检测文本中是否包含违规信息

func (*CensorClient) VideoCallbackV2 added in v1.56.0

视频检测结果获取接口,获取离线处理的数据后,下次调用,不会再次返回之前获取过的离线数据。小于10s/20次,请求频率过快服务器会拒绝处理

func (*CensorClient) VideoResults added in v1.45.0

查看视频异步检测结果

func (*CensorClient) VideoResultsV2 added in v1.56.0

根据taskid查询视频检测结果,小于10s/20次,请求频率过快服务器会拒绝处理

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL