Documentation ¶
Index ¶
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 ImageTaggingBody ¶
type ImageTaggingBody struct {
Tags *[]ImageTaggingItemBody `json:"tags,omitempty"`
}
This is a auto create Response Object
func (ImageTaggingBody) String ¶
func (o ImageTaggingBody) String() string
type ImageTaggingI18nTag ¶
type ImageTaggingI18nTag struct { Zh *string `json:"zh,omitempty"` En *string `json:"en,omitempty"` }
func (ImageTaggingI18nTag) String ¶
func (o ImageTaggingI18nTag) String() string
type ImageTaggingItemBody ¶
type ImageTaggingItemBody struct { Confidence *string `json:"confidence,omitempty"` Type *string `json:"type,omitempty"` Tag *string `json:"tag,omitempty"` I18nTag *ImageTaggingI18nTag `json:"i18n_tag,omitempty"` }
func (ImageTaggingItemBody) String ¶
func (o ImageTaggingItemBody) 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 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 *ImageTaggingBody `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_body.go
- model_image_tagging_i18n_tag.go
- model_image_tagging_item_body.go
- model_image_tagging_req.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.