Documentation ¶
Index ¶
- func GenReqDefForRunCelebrityRecognition() *def.HttpRequestDef
- func GenReqDefForRunImageDescription() *def.HttpRequestDef
- func GenReqDefForRunImageMainObjectDetection() *def.HttpRequestDef
- func GenReqDefForRunImageMediaTagging() *def.HttpRequestDef
- func GenReqDefForRunImageTagging() *def.HttpRequestDef
- func ImageClientBuilder() *http_client.HcHttpClientBuilder
- type ImageClient
- 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) RunImageMediaTaggingInvoker(request *model.RunImageMediaTaggingRequest) *RunImageMediaTaggingInvoker
- func (c *ImageClient) RunImageTagging(request *model.RunImageTaggingRequest) (*model.RunImageTaggingResponse, error)
- func (c *ImageClient) RunImageTaggingInvoker(request *model.RunImageTaggingRequest) *RunImageTaggingInvoker
- type RunCelebrityRecognitionInvoker
- type RunImageDescriptionInvoker
- type RunImageMainObjectDetectionInvoker
- type RunImageMediaTaggingInvoker
- type RunImageTaggingInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 GenReqDefForRunImageTagging ¶
func GenReqDefForRunImageTagging() *def.HttpRequestDef
func ImageClientBuilder ¶
func ImageClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type ImageClient ¶
type ImageClient struct {
HcClient *http_client.HcHttpClient
}
func NewImageClient ¶
func NewImageClient(hcClient *http_client.HcHttpClient) *ImageClient
func (*ImageClient) RunCelebrityRecognition ¶
func (c *ImageClient) RunCelebrityRecognition(request *model.RunCelebrityRecognitionRequest) (*model.RunCelebrityRecognitionResponse, error)
RunCelebrityRecognition 名人识别
分析并识别图片中包含的政治人物、明星及网红人物,返回人物信息及人脸坐标。
详细说明请参考华为云API Explorer。 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 图像描述
图像描述
详细说明请参考华为云API Explorer。 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
详细说明请参考华为云API Explorer。 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 媒资图像标签
自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应置信度。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImageClient) RunImageMediaTaggingInvoker ¶ added in v0.0.98
func (c *ImageClient) RunImageMediaTaggingInvoker(request *model.RunImageMediaTaggingRequest) *RunImageMediaTaggingInvoker
RunImageMediaTaggingInvoker 媒资图像标签
func (*ImageClient) RunImageTagging ¶
func (c *ImageClient) RunImageTagging(request *model.RunImageTaggingRequest) (*model.RunImageTaggingResponse, error)
RunImageTagging 图像标签
自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应置信度。
详细说明请参考华为云API Explorer。 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 图像标签
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 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 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)