Documentation ¶
Index ¶
- type CelebrityRecognitionReq
- type CelebrityRecognitionResultBody
- type ImageTaggingInstance
- type ImageTaggingItemBody
- type ImageTaggingItemBodyI18nTag
- type ImageTaggingItemBodyI18nType
- type ImageTaggingReq
- type ImageTaggingResponseResult
- type RunCelebrityRecognitionRequest
- type RunCelebrityRecognitionResponse
- type RunImageTaggingRequest
- type RunImageTaggingResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CelebrityRecognitionReq ¶
type CelebrityRecognitionReq struct { Image *string `json:"image,omitempty"` Url *string `json:"url,omitempty"` Threshold *float32 `json:"threshold,omitempty"` }
func (CelebrityRecognitionReq) String ¶
func (o CelebrityRecognitionReq) String() string
type CelebrityRecognitionResultBody ¶
type CelebrityRecognitionResultBody struct { Confidence *float32 `json:"confidence,omitempty"` FaceDetail *interface{} `json:"face_detail,omitempty"` Label *string `json:"label,omitempty"` }
func (CelebrityRecognitionResultBody) String ¶
func (o CelebrityRecognitionResultBody) String() string
type ImageTaggingInstance ¶
type ImageTaggingInstance struct { BoundingBox *interface{} `json:"bounding_box,omitempty"` Confidence *string `json:"confidence,omitempty"` }
func (ImageTaggingInstance) String ¶
func (o ImageTaggingInstance) String() string
type ImageTaggingItemBody ¶
type ImageTaggingItemBody struct { Confidence *string `json:"confidence,omitempty"` Type *string `json:"type,omitempty"` Tag *string `json:"tag,omitempty"` I18nTag *ImageTaggingItemBodyI18nTag `json:"i18n_tag,omitempty"` I18nType *ImageTaggingItemBodyI18nType `json:"i18n_type,omitempty"` Instances *[]ImageTaggingInstance `json:"instances,omitempty"` }
func (ImageTaggingItemBody) String ¶
func (o ImageTaggingItemBody) String() string
type ImageTaggingItemBodyI18nTag ¶
type ImageTaggingItemBodyI18nTag struct { Zh *string `json:"zh,omitempty"` En *string `json:"en,omitempty"` }
标签的多种语言输出。
func (ImageTaggingItemBodyI18nTag) String ¶
func (o ImageTaggingItemBodyI18nTag) String() string
type ImageTaggingItemBodyI18nType ¶
type ImageTaggingItemBodyI18nType struct { Zh *string `json:"zh,omitempty"` En *string `json:"en,omitempty"` }
标签类别的多种语言输出。
func (ImageTaggingItemBodyI18nType) String ¶
func (o ImageTaggingItemBodyI18nType) String() string
type ImageTaggingReq ¶
type ImageTaggingReq struct { Image *string `json:"image,omitempty"` Url *string `json:"url,omitempty"` Language *string `json:"language,omitempty"` Threshold *float32 `json:"threshold,omitempty"` Limit *int32 `json:"limit,omitempty"` }
This is a auto create Body Object
func (ImageTaggingReq) String ¶
func (o ImageTaggingReq) String() string
type ImageTaggingResponseResult ¶
type ImageTaggingResponseResult struct {
Tags *[]ImageTaggingItemBody `json:"tags,omitempty"`
}
调用成功时为图片标签内容。 调用失败时无此字段。
func (ImageTaggingResponseResult) String ¶
func (o ImageTaggingResponseResult) String() string
type RunCelebrityRecognitionRequest ¶
type RunCelebrityRecognitionRequest struct {
Body *CelebrityRecognitionReq `json:"body,omitempty"`
}
Request Object
func (RunCelebrityRecognitionRequest) String ¶
func (o RunCelebrityRecognitionRequest) String() string
type RunCelebrityRecognitionResponse ¶
type RunCelebrityRecognitionResponse struct { Result *[]CelebrityRecognitionResultBody `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunCelebrityRecognitionResponse) String ¶
func (o RunCelebrityRecognitionResponse) String() string
type RunImageTaggingRequest ¶
type RunImageTaggingRequest struct {
Body *ImageTaggingReq `json:"body,omitempty"`
}
Request Object
func (RunImageTaggingRequest) String ¶
func (o RunImageTaggingRequest) String() string
type RunImageTaggingResponse ¶
type RunImageTaggingResponse struct { Result *ImageTaggingResponseResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunImageTaggingResponse) String ¶
func (o RunImageTaggingResponse) String() string
Source Files ¶
- model_celebrity_recognition_req.go
- model_celebrity_recognition_result_body.go
- model_image_tagging_instance.go
- model_image_tagging_item_body.go
- model_image_tagging_item_body_i18n_tag.go
- model_image_tagging_item_body_i18n_type.go
- model_image_tagging_req.go
- model_image_tagging_response_result.go
- model_run_celebrity_recognition_request.go
- model_run_celebrity_recognition_response.go
- model_run_image_tagging_request.go
- model_run_image_tagging_response.go
Click to show internal directories.
Click to hide internal directories.