Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForRunCelebrityRecognition ¶
func GenReqDefForRunCelebrityRecognition() *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)
名人识别
分析并识别图片中包含的政治人物、明星及网红人物,返回人物信息及人脸坐标。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImageClient) RunImageTagging ¶
func (c *ImageClient) RunImageTagging(request *model.RunImageTaggingRequest) (*model.RunImageTaggingResponse, error)
图像标签
自然图像的语义内容非常丰富,一个图像包含多个标签内容,图像标签服务准确识别自然图片中数百种场景、上千种通用物体及其属性,让智能相册管理、照片检索和分类、基于场景内容或者物体的广告推荐等功能更加直观。使用时用户发送待处理图片,返回图片标签内容及相应置信度。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
Click to show internal directories.
Click to hide internal directories.