Documentation ¶
Index ¶
- func GenReqDefForCreateImageHighresolutionMattingTask() *def.HttpRequestDef
- func GenReqDefForCreateVideoTaggingMediaTask() *def.HttpRequestDef
- func GenReqDefForRunCelebrityRecognition() *def.HttpRequestDef
- func GenReqDefForRunImageDescription() *def.HttpRequestDef
- func GenReqDefForRunImageMainObjectDetection() *def.HttpRequestDef
- func GenReqDefForRunImageMediaTagging() *def.HttpRequestDef
- func GenReqDefForRunImageMediaTaggingDet() *def.HttpRequestDef
- func GenReqDefForRunImageSuperResolution() *def.HttpRequestDef
- func GenReqDefForRunImageTagging() *def.HttpRequestDef
- func GenReqDefForRunRecaptureDetect() *def.HttpRequestDef
- func GenReqDefForShowImageHighresolutionMattingTask() *def.HttpRequestDef
- func GenReqDefForShowVideoTaggingMediaTask() *def.HttpRequestDef
- func ImageClientBuilder() *http_client.HcHttpClientBuilder
- type CreateImageHighresolutionMattingTaskInvoker
- type CreateVideoTaggingMediaTaskInvoker
- type ImageClient
- func (c *ImageClient) CreateImageHighresolutionMattingTask(request *model.CreateImageHighresolutionMattingTaskRequest) (*model.CreateImageHighresolutionMattingTaskResponse, error)
- func (c *ImageClient) CreateImageHighresolutionMattingTaskInvoker(request *model.CreateImageHighresolutionMattingTaskRequest) *CreateImageHighresolutionMattingTaskInvoker
- func (c *ImageClient) CreateVideoTaggingMediaTask(request *model.CreateVideoTaggingMediaTaskRequest) (*model.CreateVideoTaggingMediaTaskResponse, error)
- func (c *ImageClient) CreateVideoTaggingMediaTaskInvoker(request *model.CreateVideoTaggingMediaTaskRequest) *CreateVideoTaggingMediaTaskInvoker
- func (c *ImageClient) RunCelebrityRecognition(request *model.RunCelebrityRecognitionRequest) (*model.RunCelebrityRecognitionResponse, error)
- func (c *ImageClient) RunCelebrityRecognitionInvoker(request *model.RunCelebrityRecognitionRequest) *RunCelebrityRecognitionInvoker
- func (c *ImageClient) RunImageDescription(request *model.RunImageDescriptionRequest) (*model.RunImageDescriptionResponse, error)
- func (c *ImageClient) RunImageDescriptionInvoker(request *model.RunImageDescriptionRequest) *RunImageDescriptionInvoker
- func (c *ImageClient) RunImageMainObjectDetection(request *model.RunImageMainObjectDetectionRequest) (*model.RunImageMainObjectDetectionResponse, error)
- func (c *ImageClient) RunImageMainObjectDetectionInvoker(request *model.RunImageMainObjectDetectionRequest) *RunImageMainObjectDetectionInvoker
- func (c *ImageClient) RunImageMediaTagging(request *model.RunImageMediaTaggingRequest) (*model.RunImageMediaTaggingResponse, error)
- func (c *ImageClient) RunImageMediaTaggingDet(request *model.RunImageMediaTaggingDetRequest) (*model.RunImageMediaTaggingDetResponse, error)
- func (c *ImageClient) RunImageMediaTaggingDetInvoker(request *model.RunImageMediaTaggingDetRequest) *RunImageMediaTaggingDetInvoker
- func (c *ImageClient) RunImageMediaTaggingInvoker(request *model.RunImageMediaTaggingRequest) *RunImageMediaTaggingInvoker
- func (c *ImageClient) RunImageSuperResolution(request *model.RunImageSuperResolutionRequest) (*model.RunImageSuperResolutionResponse, error)
- func (c *ImageClient) RunImageSuperResolutionInvoker(request *model.RunImageSuperResolutionRequest) *RunImageSuperResolutionInvoker
- func (c *ImageClient) RunImageTagging(request *model.RunImageTaggingRequest) (*model.RunImageTaggingResponse, error)
- func (c *ImageClient) RunImageTaggingInvoker(request *model.RunImageTaggingRequest) *RunImageTaggingInvoker
- func (c *ImageClient) RunRecaptureDetect(request *model.RunRecaptureDetectRequest) (*model.RunRecaptureDetectResponse, error)
- func (c *ImageClient) RunRecaptureDetectInvoker(request *model.RunRecaptureDetectRequest) *RunRecaptureDetectInvoker
- func (c *ImageClient) ShowImageHighresolutionMattingTask(request *model.ShowImageHighresolutionMattingTaskRequest) (*model.ShowImageHighresolutionMattingTaskResponse, error)
- func (c *ImageClient) ShowImageHighresolutionMattingTaskInvoker(request *model.ShowImageHighresolutionMattingTaskRequest) *ShowImageHighresolutionMattingTaskInvoker
- func (c *ImageClient) ShowVideoTaggingMediaTask(request *model.ShowVideoTaggingMediaTaskRequest) (*model.ShowVideoTaggingMediaTaskResponse, error)
- func (c *ImageClient) ShowVideoTaggingMediaTaskInvoker(request *model.ShowVideoTaggingMediaTaskRequest) *ShowVideoTaggingMediaTaskInvoker
- type RunCelebrityRecognitionInvoker
- type RunImageDescriptionInvoker
- type RunImageMainObjectDetectionInvoker
- type RunImageMediaTaggingDetInvoker
- type RunImageMediaTaggingInvoker
- type RunImageSuperResolutionInvoker
- type RunImageTaggingInvoker
- type RunRecaptureDetectInvoker
- type ShowImageHighresolutionMattingTaskInvoker
- type ShowVideoTaggingMediaTaskInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForCreateImageHighresolutionMattingTask ¶ added in v0.1.28
func GenReqDefForCreateImageHighresolutionMattingTask() *def.HttpRequestDef
func GenReqDefForCreateVideoTaggingMediaTask ¶ added in v0.1.39
func GenReqDefForCreateVideoTaggingMediaTask() *def.HttpRequestDef
func GenReqDefForRunCelebrityRecognition ¶
func GenReqDefForRunCelebrityRecognition() *def.HttpRequestDef
func GenReqDefForRunImageDescription ¶ added in v0.0.99
func GenReqDefForRunImageDescription() *def.HttpRequestDef
func GenReqDefForRunImageMainObjectDetection ¶ added in v0.0.98
func GenReqDefForRunImageMainObjectDetection() *def.HttpRequestDef
func GenReqDefForRunImageMediaTagging ¶ added in v0.0.98
func GenReqDefForRunImageMediaTagging() *def.HttpRequestDef
func GenReqDefForRunImageMediaTaggingDet ¶ added in v0.1.14
func GenReqDefForRunImageMediaTaggingDet() *def.HttpRequestDef
func GenReqDefForRunImageSuperResolution ¶ added in v0.1.26
func GenReqDefForRunImageSuperResolution() *def.HttpRequestDef
func GenReqDefForRunImageTagging ¶
func GenReqDefForRunImageTagging() *def.HttpRequestDef
func GenReqDefForRunRecaptureDetect ¶ added in v0.1.26
func GenReqDefForRunRecaptureDetect() *def.HttpRequestDef
func GenReqDefForShowImageHighresolutionMattingTask ¶ added in v0.1.28
func GenReqDefForShowImageHighresolutionMattingTask() *def.HttpRequestDef
func GenReqDefForShowVideoTaggingMediaTask ¶ added in v0.1.39
func GenReqDefForShowVideoTaggingMediaTask() *def.HttpRequestDef
func ImageClientBuilder ¶
func ImageClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type CreateImageHighresolutionMattingTaskInvoker ¶ added in v0.1.28
type CreateImageHighresolutionMattingTaskInvoker struct {
*invoker.BaseInvoker
}
func (*CreateImageHighresolutionMattingTaskInvoker) Invoke ¶ added in v0.1.28
func (i *CreateImageHighresolutionMattingTaskInvoker) Invoke() (*model.CreateImageHighresolutionMattingTaskResponse, error)
type CreateVideoTaggingMediaTaskInvoker ¶ added in v0.1.39
type CreateVideoTaggingMediaTaskInvoker struct {
*invoker.BaseInvoker
}
func (*CreateVideoTaggingMediaTaskInvoker) Invoke ¶ added in v0.1.39
func (i *CreateVideoTaggingMediaTaskInvoker) Invoke() (*model.CreateVideoTaggingMediaTaskResponse, error)
type ImageClient ¶
type ImageClient struct {
HcClient *http_client.HcHttpClient
}
func NewImageClient ¶
func NewImageClient(hcClient *http_client.HcHttpClient) *ImageClient
func (*ImageClient) CreateImageHighresolutionMattingTask ¶ added in v0.1.28
func (c *ImageClient) CreateImageHighresolutionMattingTask(request *model.CreateImageHighresolutionMattingTaskRequest) (*model.CreateImageHighresolutionMattingTaskResponse, error)
CreateImageHighresolutionMattingTask 创建图像高清抠图任务
创建图像高清抠图任务,将输入的高清图像中的商品主体从原图中扣取出来,输出商品主体图片或者蒙版。
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) CreateImageHighresolutionMattingTaskInvoker ¶ added in v0.1.28
func (c *ImageClient) CreateImageHighresolutionMattingTaskInvoker(request *model.CreateImageHighresolutionMattingTaskRequest) *CreateImageHighresolutionMattingTaskInvoker
CreateImageHighresolutionMattingTaskInvoker 创建图像高清抠图任务
func (*ImageClient) CreateVideoTaggingMediaTask ¶ added in v0.1.39
func (c *ImageClient) CreateVideoTaggingMediaTask(request *model.CreateVideoTaggingMediaTaskRequest) (*model.CreateVideoTaggingMediaTaskResponse, error)
CreateVideoTaggingMediaTask 创建视频标签任务
创建视频标签任务,输入一段视频,通过AI模型分析视频中的信息,输出视频所包含的媒资标签、名人标签、logo标签、语音标签、OCR标签等信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) CreateVideoTaggingMediaTaskInvoker ¶ added in v0.1.39
func (c *ImageClient) CreateVideoTaggingMediaTaskInvoker(request *model.CreateVideoTaggingMediaTaskRequest) *CreateVideoTaggingMediaTaskInvoker
CreateVideoTaggingMediaTaskInvoker 创建视频标签任务
func (*ImageClient) RunCelebrityRecognition ¶
func (c *ImageClient) RunCelebrityRecognition(request *model.RunCelebrityRecognitionRequest) (*model.RunCelebrityRecognitionResponse, error)
RunCelebrityRecognition 名人识别
分析并识别图片中包含的政治人物、明星及网红人物,返回人物信息及人脸坐标。
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) RunCelebrityRecognitionInvoker ¶ added in v0.0.90
func (c *ImageClient) RunCelebrityRecognitionInvoker(request *model.RunCelebrityRecognitionRequest) *RunCelebrityRecognitionInvoker
RunCelebrityRecognitionInvoker 名人识别
func (*ImageClient) RunImageDescription ¶ added in v0.0.99
func (c *ImageClient) RunImageDescription(request *model.RunImageDescriptionRequest) (*model.RunImageDescriptionResponse, error)
RunImageDescription 图像描述
图像描述
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) RunImageDescriptionInvoker ¶ added in v0.0.99
func (c *ImageClient) RunImageDescriptionInvoker(request *model.RunImageDescriptionRequest) *RunImageDescriptionInvoker
RunImageDescriptionInvoker 图像描述
func (*ImageClient) RunImageMainObjectDetection ¶ added in v0.0.98
func (c *ImageClient) RunImageMainObjectDetection(request *model.RunImageMainObjectDetectionRequest) (*model.RunImageMainObjectDetectionResponse, error)
RunImageMainObjectDetection 主体识别
检测图像中的主要内容,返回主要内容的坐标信息,这里的主要内容包括两方面:bounding_box和main_object_box
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) RunImageMainObjectDetectionInvoker ¶ added in v0.0.98
func (c *ImageClient) RunImageMainObjectDetectionInvoker(request *model.RunImageMainObjectDetectionRequest) *RunImageMainObjectDetectionInvoker
RunImageMainObjectDetectionInvoker 主体识别
func (*ImageClient) RunImageMediaTagging ¶ added in v0.0.98
func (c *ImageClient) RunImageMediaTagging(request *model.RunImageMediaTaggingRequest) (*model.RunImageMediaTaggingResponse, error)
RunImageMediaTagging 标签识别
自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应置信度。
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) RunImageMediaTaggingDet ¶ added in v0.1.14
func (c *ImageClient) RunImageMediaTaggingDet(request *model.RunImageMediaTaggingDetRequest) (*model.RunImageMediaTaggingDetResponse, error)
RunImageMediaTaggingDet 媒资图像标签检测
自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应的位置坐标。
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) RunImageMediaTaggingDetInvoker ¶ added in v0.1.14
func (c *ImageClient) RunImageMediaTaggingDetInvoker(request *model.RunImageMediaTaggingDetRequest) *RunImageMediaTaggingDetInvoker
RunImageMediaTaggingDetInvoker 媒资图像标签检测
func (*ImageClient) RunImageMediaTaggingInvoker ¶ added in v0.0.98
func (c *ImageClient) RunImageMediaTaggingInvoker(request *model.RunImageMediaTaggingRequest) *RunImageMediaTaggingInvoker
RunImageMediaTaggingInvoker 标签识别
func (*ImageClient) RunImageSuperResolution ¶ added in v0.1.26
func (c *ImageClient) RunImageSuperResolution(request *model.RunImageSuperResolutionRequest) (*model.RunImageSuperResolutionResponse, error)
RunImageSuperResolution 图像超分
图像数据,base64编码,输入图像范围200px ~ 1080px,支持JPG/PNG/BMP/JPEG/WEBP格式
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) RunImageSuperResolutionInvoker ¶ added in v0.1.26
func (c *ImageClient) RunImageSuperResolutionInvoker(request *model.RunImageSuperResolutionRequest) *RunImageSuperResolutionInvoker
RunImageSuperResolutionInvoker 图像超分
func (*ImageClient) RunImageTagging ¶
func (c *ImageClient) RunImageTagging(request *model.RunImageTaggingRequest) (*model.RunImageTaggingResponse, error)
RunImageTagging 图像标签
自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应置信度。
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) RunImageTaggingInvoker ¶ added in v0.0.90
func (c *ImageClient) RunImageTaggingInvoker(request *model.RunImageTaggingRequest) *RunImageTaggingInvoker
RunImageTaggingInvoker 图像标签
func (*ImageClient) RunRecaptureDetect ¶ added in v0.1.26
func (c *ImageClient) RunRecaptureDetect(request *model.RunRecaptureDetectRequest) (*model.RunRecaptureDetectResponse, error)
RunRecaptureDetect 翻拍识别
零售行业通常根据零售店的销售量进行销售奖励,拍摄售出商品的条形码上传后台是常用的统计方式。翻拍识别利用深度神经网络算法判断条形码图片为原始拍摄,还是经过二次翻拍、打印翻拍等手法二次处理的图片。利用翻拍识别,可以检测出经过二次处理的不合规范图片,使得统计数据更准确、有效。。
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) RunRecaptureDetectInvoker ¶ added in v0.1.26
func (c *ImageClient) RunRecaptureDetectInvoker(request *model.RunRecaptureDetectRequest) *RunRecaptureDetectInvoker
RunRecaptureDetectInvoker 翻拍识别
func (*ImageClient) ShowImageHighresolutionMattingTask ¶ added in v0.1.28
func (c *ImageClient) ShowImageHighresolutionMattingTask(request *model.ShowImageHighresolutionMattingTaskRequest) (*model.ShowImageHighresolutionMattingTaskResponse, error)
ShowImageHighresolutionMattingTask 查询图像高清抠图任务
查询图像高清抠图任务,返回参数配置以及任务状态信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) ShowImageHighresolutionMattingTaskInvoker ¶ added in v0.1.28
func (c *ImageClient) ShowImageHighresolutionMattingTaskInvoker(request *model.ShowImageHighresolutionMattingTaskRequest) *ShowImageHighresolutionMattingTaskInvoker
ShowImageHighresolutionMattingTaskInvoker 查询图像高清抠图任务
func (*ImageClient) ShowVideoTaggingMediaTask ¶ added in v0.1.39
func (c *ImageClient) ShowVideoTaggingMediaTask(request *model.ShowVideoTaggingMediaTaskRequest) (*model.ShowVideoTaggingMediaTaskResponse, error)
ShowVideoTaggingMediaTask 查询视频标签任务
查询视频标签任务详情,返回参数配置以及任务状态信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*ImageClient) ShowVideoTaggingMediaTaskInvoker ¶ added in v0.1.39
func (c *ImageClient) ShowVideoTaggingMediaTaskInvoker(request *model.ShowVideoTaggingMediaTaskRequest) *ShowVideoTaggingMediaTaskInvoker
ShowVideoTaggingMediaTaskInvoker 查询视频标签任务
type RunCelebrityRecognitionInvoker ¶ added in v0.0.90
type RunCelebrityRecognitionInvoker struct {
*invoker.BaseInvoker
}
func (*RunCelebrityRecognitionInvoker) Invoke ¶ added in v0.0.90
func (i *RunCelebrityRecognitionInvoker) Invoke() (*model.RunCelebrityRecognitionResponse, error)
type RunImageDescriptionInvoker ¶ added in v0.0.99
type RunImageDescriptionInvoker struct {
*invoker.BaseInvoker
}
func (*RunImageDescriptionInvoker) Invoke ¶ added in v0.0.99
func (i *RunImageDescriptionInvoker) Invoke() (*model.RunImageDescriptionResponse, error)
type RunImageMainObjectDetectionInvoker ¶ added in v0.0.98
type RunImageMainObjectDetectionInvoker struct {
*invoker.BaseInvoker
}
func (*RunImageMainObjectDetectionInvoker) Invoke ¶ added in v0.0.98
func (i *RunImageMainObjectDetectionInvoker) Invoke() (*model.RunImageMainObjectDetectionResponse, error)
type RunImageMediaTaggingDetInvoker ¶ added in v0.1.14
type RunImageMediaTaggingDetInvoker struct {
*invoker.BaseInvoker
}
func (*RunImageMediaTaggingDetInvoker) Invoke ¶ added in v0.1.14
func (i *RunImageMediaTaggingDetInvoker) Invoke() (*model.RunImageMediaTaggingDetResponse, error)
type RunImageMediaTaggingInvoker ¶ added in v0.0.98
type RunImageMediaTaggingInvoker struct {
*invoker.BaseInvoker
}
func (*RunImageMediaTaggingInvoker) Invoke ¶ added in v0.0.98
func (i *RunImageMediaTaggingInvoker) Invoke() (*model.RunImageMediaTaggingResponse, error)
type RunImageSuperResolutionInvoker ¶ added in v0.1.26
type RunImageSuperResolutionInvoker struct {
*invoker.BaseInvoker
}
func (*RunImageSuperResolutionInvoker) Invoke ¶ added in v0.1.26
func (i *RunImageSuperResolutionInvoker) Invoke() (*model.RunImageSuperResolutionResponse, error)
type RunImageTaggingInvoker ¶ added in v0.0.90
type RunImageTaggingInvoker struct {
*invoker.BaseInvoker
}
func (*RunImageTaggingInvoker) Invoke ¶ added in v0.0.90
func (i *RunImageTaggingInvoker) Invoke() (*model.RunImageTaggingResponse, error)
type RunRecaptureDetectInvoker ¶ added in v0.1.26
type RunRecaptureDetectInvoker struct {
*invoker.BaseInvoker
}
func (*RunRecaptureDetectInvoker) Invoke ¶ added in v0.1.26
func (i *RunRecaptureDetectInvoker) Invoke() (*model.RunRecaptureDetectResponse, error)
type ShowImageHighresolutionMattingTaskInvoker ¶ added in v0.1.28
type ShowImageHighresolutionMattingTaskInvoker struct {
*invoker.BaseInvoker
}
func (*ShowImageHighresolutionMattingTaskInvoker) Invoke ¶ added in v0.1.28
func (i *ShowImageHighresolutionMattingTaskInvoker) Invoke() (*model.ShowImageHighresolutionMattingTaskResponse, error)
type ShowVideoTaggingMediaTaskInvoker ¶ added in v0.1.39
type ShowVideoTaggingMediaTaskInvoker struct {
*invoker.BaseInvoker
}
func (*ShowVideoTaggingMediaTaskInvoker) Invoke ¶ added in v0.1.39
func (i *ShowVideoTaggingMediaTaskInvoker) Invoke() (*model.ShowVideoTaggingMediaTaskResponse, error)