Documentation ¶
Index ¶
- type Category
- type CheckMultiagentRequest
- type CheckMultiagentResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) CheckMultiagent(request *CheckMultiagentRequest) (response *CheckMultiagentResponse, err error)
- func (client *Client) CheckMultiagentWithCallback(request *CheckMultiagentRequest, ...) <-chan int
- func (client *Client) CheckMultiagentWithChan(request *CheckMultiagentRequest) (<-chan *CheckMultiagentResponse, <-chan error)
- func (client *Client) PredictCategory(request *PredictCategoryRequest) (response *PredictCategoryResponse, err error)
- func (client *Client) PredictCategoryWithCallback(request *PredictCategoryRequest, ...) <-chan int
- func (client *Client) PredictCategoryWithChan(request *PredictCategoryRequest) (<-chan *PredictCategoryResponse, <-chan error)
- func (client *Client) RecognizeCar(request *RecognizeCarRequest) (response *RecognizeCarResponse, err error)
- func (client *Client) RecognizeCarWithCallback(request *RecognizeCarRequest, ...) <-chan int
- func (client *Client) RecognizeCarWithChan(request *RecognizeCarRequest) (<-chan *RecognizeCarResponse, <-chan error)
- func (client *Client) RecognizeEntity(request *RecognizeEntityRequest) (response *RecognizeEntityResponse, err error)
- func (client *Client) RecognizeEntityWithCallback(request *RecognizeEntityRequest, ...) <-chan int
- func (client *Client) RecognizeEntityWithChan(request *RecognizeEntityRequest) (<-chan *RecognizeEntityResponse, <-chan error)
- func (client *Client) RecognizeFlower(request *RecognizeFlowerRequest) (response *RecognizeFlowerResponse, err error)
- func (client *Client) RecognizeFlowerWithCallback(request *RecognizeFlowerRequest, ...) <-chan int
- func (client *Client) RecognizeFlowerWithChan(request *RecognizeFlowerRequest) (<-chan *RecognizeFlowerResponse, <-chan error)
- func (client *Client) RecognizeLabel(request *RecognizeLabelRequest) (response *RecognizeLabelResponse, err error)
- func (client *Client) RecognizeLabelWithCallback(request *RecognizeLabelRequest, ...) <-chan int
- func (client *Client) RecognizeLabelWithChan(request *RecognizeLabelRequest) (<-chan *RecognizeLabelResponse, <-chan error)
- func (client *Client) RecognizePet(request *RecognizePetRequest) (response *RecognizePetResponse, err error)
- func (client *Client) RecognizePetWithCallback(request *RecognizePetRequest, ...) <-chan int
- func (client *Client) RecognizePetWithChan(request *RecognizePetRequest) (<-chan *RecognizePetResponse, <-chan error)
- type Data
- type DataInPredictCategory
- type Node
- type Objects
- type PredictCategoryRequest
- type PredictCategoryResponse
- type PredictabilityInRecognizeFlower
- type PredictabilityInRecognizePet
- type PropertiesResults
- type RecognizeCarRequest
- type RecognizeCarResponse
- type RecognizeEntityRequest
- type RecognizeEntityResponse
- type RecognizeFlowerRequest
- type RecognizeFlowerResponse
- type RecognizeLabelRequest
- type RecognizeLabelResponse
- type RecognizePetRequest
- type RecognizePetResponse
- type Response
- type ResponseInPredictCategory
- type ResponseInRecognizeCar
- type ResponseInRecognizeEntity
- type ResponseInRecognizeFlower
- type ResponseInRecognizeLabel
- type ResponseInRecognizePet
- type Result
- type SubNode
- type Values
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct { CateLevelFOURName string `json:"CateLevelFOURName" xml:"CateLevelFOURName"` CateLevelTwoId int `json:"CateLevelTwoId" xml:"CateLevelTwoId"` CateLevelOneId int `json:"CateLevelOneId" xml:"CateLevelOneId"` CateLevelOneName string `json:"CateLevelOneName" xml:"CateLevelOneName"` CateLevelFourId int `json:"CateLevelFourId" xml:"CateLevelFourId"` CateLevel int `json:"CateLevel" xml:"CateLevel"` CateLevelThreeId int `json:"CateLevelThreeId" xml:"CateLevelThreeId"` CateLevelFiveId int `json:"CateLevelFiveId" xml:"CateLevelFiveId"` CateLevelFiveName string `json:"CateLevelFiveName" xml:"CateLevelFiveName"` CateName string `json:"CateName" xml:"CateName"` CateLevelTwoName string `json:"CateLevelTwoName" xml:"CateLevelTwoName"` Score float64 `json:"Score" xml:"Score"` CateId int `json:"CateId" xml:"CateId"` CateLevelThreeName string `json:"CateLevelThreeName" xml:"CateLevelThreeName"` }
Category is a nested struct in visionai_poc response
type CheckMultiagentRequest ¶
type CheckMultiagentRequest struct { *requests.RpcRequest Method string `position:"Body" name:"Method"` ImageUrl string `position:"Body" name:"ImageUrl"` Url string `position:"Body" name:"Url"` }
CheckMultiagentRequest is the request struct for api CheckMultiagent
func CreateCheckMultiagentRequest ¶
func CreateCheckMultiagentRequest() (request *CheckMultiagentRequest)
CreateCheckMultiagentRequest creates a request to invoke CheckMultiagent API
type CheckMultiagentResponse ¶
type CheckMultiagentResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Success bool `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` Response Response `json:"Response" xml:"Response"` }
CheckMultiagentResponse is the response struct for api CheckMultiagent
func CreateCheckMultiagentResponse ¶
func CreateCheckMultiagentResponse() (response *CheckMultiagentResponse)
CreateCheckMultiagentResponse creates a response to parse from CheckMultiagent response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) CheckMultiagent ¶
func (client *Client) CheckMultiagent(request *CheckMultiagentRequest) (response *CheckMultiagentResponse, err error)
CheckMultiagent invokes the visionai_poc.CheckMultiagent API synchronously api document: https://help.aliyun.com/api/visionai-poc/checkmultiagent.html
func (*Client) CheckMultiagentWithCallback ¶
func (client *Client) CheckMultiagentWithCallback(request *CheckMultiagentRequest, callback func(response *CheckMultiagentResponse, err error)) <-chan int
CheckMultiagentWithCallback invokes the visionai_poc.CheckMultiagent API asynchronously api document: https://help.aliyun.com/api/visionai-poc/checkmultiagent.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CheckMultiagentWithChan ¶
func (client *Client) CheckMultiagentWithChan(request *CheckMultiagentRequest) (<-chan *CheckMultiagentResponse, <-chan error)
CheckMultiagentWithChan invokes the visionai_poc.CheckMultiagent API asynchronously api document: https://help.aliyun.com/api/visionai-poc/checkmultiagent.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PredictCategory ¶
func (client *Client) PredictCategory(request *PredictCategoryRequest) (response *PredictCategoryResponse, err error)
PredictCategory invokes the visionai_poc.PredictCategory API synchronously api document: https://help.aliyun.com/api/visionai-poc/predictcategory.html
func (*Client) PredictCategoryWithCallback ¶
func (client *Client) PredictCategoryWithCallback(request *PredictCategoryRequest, callback func(response *PredictCategoryResponse, err error)) <-chan int
PredictCategoryWithCallback invokes the visionai_poc.PredictCategory API asynchronously api document: https://help.aliyun.com/api/visionai-poc/predictcategory.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PredictCategoryWithChan ¶
func (client *Client) PredictCategoryWithChan(request *PredictCategoryRequest) (<-chan *PredictCategoryResponse, <-chan error)
PredictCategoryWithChan invokes the visionai_poc.PredictCategory API asynchronously api document: https://help.aliyun.com/api/visionai-poc/predictcategory.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RecognizeCar ¶
func (client *Client) RecognizeCar(request *RecognizeCarRequest) (response *RecognizeCarResponse, err error)
RecognizeCar invokes the visionai_poc.RecognizeCar API synchronously api document: https://help.aliyun.com/api/visionai-poc/recognizecar.html
func (*Client) RecognizeCarWithCallback ¶
func (client *Client) RecognizeCarWithCallback(request *RecognizeCarRequest, callback func(response *RecognizeCarResponse, err error)) <-chan int
RecognizeCarWithCallback invokes the visionai_poc.RecognizeCar API asynchronously api document: https://help.aliyun.com/api/visionai-poc/recognizecar.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RecognizeCarWithChan ¶
func (client *Client) RecognizeCarWithChan(request *RecognizeCarRequest) (<-chan *RecognizeCarResponse, <-chan error)
RecognizeCarWithChan invokes the visionai_poc.RecognizeCar API asynchronously api document: https://help.aliyun.com/api/visionai-poc/recognizecar.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RecognizeEntity ¶
func (client *Client) RecognizeEntity(request *RecognizeEntityRequest) (response *RecognizeEntityResponse, err error)
RecognizeEntity invokes the visionai_poc.RecognizeEntity API synchronously api document: https://help.aliyun.com/api/visionai-poc/recognizeentity.html
func (*Client) RecognizeEntityWithCallback ¶
func (client *Client) RecognizeEntityWithCallback(request *RecognizeEntityRequest, callback func(response *RecognizeEntityResponse, err error)) <-chan int
RecognizeEntityWithCallback invokes the visionai_poc.RecognizeEntity API asynchronously api document: https://help.aliyun.com/api/visionai-poc/recognizeentity.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RecognizeEntityWithChan ¶
func (client *Client) RecognizeEntityWithChan(request *RecognizeEntityRequest) (<-chan *RecognizeEntityResponse, <-chan error)
RecognizeEntityWithChan invokes the visionai_poc.RecognizeEntity API asynchronously api document: https://help.aliyun.com/api/visionai-poc/recognizeentity.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RecognizeFlower ¶
func (client *Client) RecognizeFlower(request *RecognizeFlowerRequest) (response *RecognizeFlowerResponse, err error)
RecognizeFlower invokes the visionai_poc.RecognizeFlower API synchronously api document: https://help.aliyun.com/api/visionai-poc/recognizeflower.html
func (*Client) RecognizeFlowerWithCallback ¶
func (client *Client) RecognizeFlowerWithCallback(request *RecognizeFlowerRequest, callback func(response *RecognizeFlowerResponse, err error)) <-chan int
RecognizeFlowerWithCallback invokes the visionai_poc.RecognizeFlower API asynchronously api document: https://help.aliyun.com/api/visionai-poc/recognizeflower.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RecognizeFlowerWithChan ¶
func (client *Client) RecognizeFlowerWithChan(request *RecognizeFlowerRequest) (<-chan *RecognizeFlowerResponse, <-chan error)
RecognizeFlowerWithChan invokes the visionai_poc.RecognizeFlower API asynchronously api document: https://help.aliyun.com/api/visionai-poc/recognizeflower.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RecognizeLabel ¶
func (client *Client) RecognizeLabel(request *RecognizeLabelRequest) (response *RecognizeLabelResponse, err error)
RecognizeLabel invokes the visionai_poc.RecognizeLabel API synchronously api document: https://help.aliyun.com/api/visionai-poc/recognizelabel.html
func (*Client) RecognizeLabelWithCallback ¶
func (client *Client) RecognizeLabelWithCallback(request *RecognizeLabelRequest, callback func(response *RecognizeLabelResponse, err error)) <-chan int
RecognizeLabelWithCallback invokes the visionai_poc.RecognizeLabel API asynchronously api document: https://help.aliyun.com/api/visionai-poc/recognizelabel.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RecognizeLabelWithChan ¶
func (client *Client) RecognizeLabelWithChan(request *RecognizeLabelRequest) (<-chan *RecognizeLabelResponse, <-chan error)
RecognizeLabelWithChan invokes the visionai_poc.RecognizeLabel API asynchronously api document: https://help.aliyun.com/api/visionai-poc/recognizelabel.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RecognizePet ¶
func (client *Client) RecognizePet(request *RecognizePetRequest) (response *RecognizePetResponse, err error)
RecognizePet invokes the visionai_poc.RecognizePet API synchronously api document: https://help.aliyun.com/api/visionai-poc/recognizepet.html
func (*Client) RecognizePetWithCallback ¶
func (client *Client) RecognizePetWithCallback(request *RecognizePetRequest, callback func(response *RecognizePetResponse, err error)) <-chan int
RecognizePetWithCallback invokes the visionai_poc.RecognizePet API asynchronously api document: https://help.aliyun.com/api/visionai-poc/recognizepet.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RecognizePetWithChan ¶
func (client *Client) RecognizePetWithChan(request *RecognizePetRequest) (<-chan *RecognizePetResponse, <-chan error)
RecognizePetWithChan invokes the visionai_poc.RecognizePet API asynchronously api document: https://help.aliyun.com/api/visionai-poc/recognizepet.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
type Data ¶
type Data struct { Name string `json:"Name" xml:"Name"` ModelName string `json:"ModelName" xml:"ModelName"` External string `json:"External" xml:"External"` Version string `json:"Version" xml:"Version"` Tips string `json:"Tips" xml:"Tips"` Roid string `json:"Roid" xml:"Roid"` PredictRes string `json:"PredictRes" xml:"PredictRes"` CallSubModelApi int `json:"CallSubModelApi" xml:"CallSubModelApi"` Confidence string `json:"Confidence" xml:"Confidence"` Prop string `json:"Prop" xml:"Prop"` SptId string `json:"SptId" xml:"SptId"` RequestId string `json:"RequestId" xml:"RequestId"` PicUrl string `json:"PicUrl" xml:"PicUrl"` Description string `json:"Description" xml:"Description"` UseSubModelResult int `json:"UseSubModelResult" xml:"UseSubModelResult"` Result []Node `json:"Result" xml:"Result"` Objects []Node `json:"Objects" xml:"Objects"` Predictability []Node `json:"Predictability" xml:"Predictability"` }
Data is a nested struct in visionai_poc response
type DataInPredictCategory ¶
type DataInPredictCategory struct {
Node []Node `json:"Node" xml:"Node"`
}
DataInPredictCategory is a nested struct in visionai_poc response
type Node ¶
type Node struct { Score string `json:"Score" xml:"Score"` CateId string `json:"CateId" xml:"CateId"` Tag string `json:"Tag" xml:"Tag"` PropertiesResults PropertiesResults `json:"PropertiesResults" xml:"PropertiesResults"` Category Category `json:"Category" xml:"Category"` }
Node is a nested struct in visionai_poc response
type Objects ¶
type Objects struct {
Node []Node `json:"Node" xml:"Node"`
}
Objects is a nested struct in visionai_poc response
type PredictCategoryRequest ¶
type PredictCategoryRequest struct { *requests.RpcRequest Method string `position:"Body" name:"Method"` ImageUrl string `position:"Body" name:"ImageUrl"` Title string `position:"Body" name:"Title"` Url string `position:"Body" name:"Url"` }
PredictCategoryRequest is the request struct for api PredictCategory
func CreatePredictCategoryRequest ¶
func CreatePredictCategoryRequest() (request *PredictCategoryRequest)
CreatePredictCategoryRequest creates a request to invoke PredictCategory API
type PredictCategoryResponse ¶
type PredictCategoryResponse struct { *responses.BaseResponse Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Response ResponseInPredictCategory `json:"Response" xml:"Response"` }
PredictCategoryResponse is the response struct for api PredictCategory
func CreatePredictCategoryResponse ¶
func CreatePredictCategoryResponse() (response *PredictCategoryResponse)
CreatePredictCategoryResponse creates a response to parse from PredictCategory response
type PredictabilityInRecognizeFlower ¶
type PredictabilityInRecognizeFlower struct {
Node []Node `json:"Node" xml:"Node"`
}
PredictabilityInRecognizeFlower is a nested struct in visionai_poc response
type PredictabilityInRecognizePet ¶
type PredictabilityInRecognizePet struct {
Node []Node `json:"Node" xml:"Node"`
}
PredictabilityInRecognizePet is a nested struct in visionai_poc response
type PropertiesResults ¶
type PropertiesResults struct { PropertyId string `json:"PropertyId" xml:"PropertyId"` PropertyName string `json:"PropertyName" xml:"PropertyName"` Values []SubNode `json:"Values" xml:"Values"` }
PropertiesResults is a nested struct in visionai_poc response
type RecognizeCarRequest ¶
type RecognizeCarRequest struct { *requests.RpcRequest Method string `position:"Body" name:"Method"` ImageUrl string `position:"Body" name:"ImageUrl"` Url string `position:"Body" name:"Url"` }
RecognizeCarRequest is the request struct for api RecognizeCar
func CreateRecognizeCarRequest ¶
func CreateRecognizeCarRequest() (request *RecognizeCarRequest)
CreateRecognizeCarRequest creates a request to invoke RecognizeCar API
type RecognizeCarResponse ¶
type RecognizeCarResponse struct { *responses.BaseResponse Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Response ResponseInRecognizeCar `json:"Response" xml:"Response"` }
RecognizeCarResponse is the response struct for api RecognizeCar
func CreateRecognizeCarResponse ¶
func CreateRecognizeCarResponse() (response *RecognizeCarResponse)
CreateRecognizeCarResponse creates a response to parse from RecognizeCar response
type RecognizeEntityRequest ¶
type RecognizeEntityRequest struct { *requests.RpcRequest Method string `position:"Body" name:"Method"` ImageUrl string `position:"Body" name:"ImageUrl"` Url string `position:"Body" name:"Url"` }
RecognizeEntityRequest is the request struct for api RecognizeEntity
func CreateRecognizeEntityRequest ¶
func CreateRecognizeEntityRequest() (request *RecognizeEntityRequest)
CreateRecognizeEntityRequest creates a request to invoke RecognizeEntity API
type RecognizeEntityResponse ¶
type RecognizeEntityResponse struct { *responses.BaseResponse Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Response ResponseInRecognizeEntity `json:"Response" xml:"Response"` }
RecognizeEntityResponse is the response struct for api RecognizeEntity
func CreateRecognizeEntityResponse ¶
func CreateRecognizeEntityResponse() (response *RecognizeEntityResponse)
CreateRecognizeEntityResponse creates a response to parse from RecognizeEntity response
type RecognizeFlowerRequest ¶
type RecognizeFlowerRequest struct { *requests.RpcRequest Method string `position:"Body" name:"Method"` ImageUrl string `position:"Body" name:"ImageUrl"` Url string `position:"Body" name:"Url"` }
RecognizeFlowerRequest is the request struct for api RecognizeFlower
func CreateRecognizeFlowerRequest ¶
func CreateRecognizeFlowerRequest() (request *RecognizeFlowerRequest)
CreateRecognizeFlowerRequest creates a request to invoke RecognizeFlower API
type RecognizeFlowerResponse ¶
type RecognizeFlowerResponse struct { *responses.BaseResponse Code int `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Response ResponseInRecognizeFlower `json:"Response" xml:"Response"` }
RecognizeFlowerResponse is the response struct for api RecognizeFlower
func CreateRecognizeFlowerResponse ¶
func CreateRecognizeFlowerResponse() (response *RecognizeFlowerResponse)
CreateRecognizeFlowerResponse creates a response to parse from RecognizeFlower response
type RecognizeLabelRequest ¶
type RecognizeLabelRequest struct { *requests.RpcRequest Method string `position:"Body" name:"Method"` ImageUrl string `position:"Body" name:"ImageUrl"` Url string `position:"Body" name:"Url"` }
RecognizeLabelRequest is the request struct for api RecognizeLabel
func CreateRecognizeLabelRequest ¶
func CreateRecognizeLabelRequest() (request *RecognizeLabelRequest)
CreateRecognizeLabelRequest creates a request to invoke RecognizeLabel API
type RecognizeLabelResponse ¶
type RecognizeLabelResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Success bool `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` Response ResponseInRecognizeLabel `json:"Response" xml:"Response"` }
RecognizeLabelResponse is the response struct for api RecognizeLabel
func CreateRecognizeLabelResponse ¶
func CreateRecognizeLabelResponse() (response *RecognizeLabelResponse)
CreateRecognizeLabelResponse creates a response to parse from RecognizeLabel response
type RecognizePetRequest ¶
type RecognizePetRequest struct { *requests.RpcRequest Method string `position:"Body" name:"Method"` ImageUrl string `position:"Body" name:"ImageUrl"` Url string `position:"Body" name:"Url"` }
RecognizePetRequest is the request struct for api RecognizePet
func CreateRecognizePetRequest ¶
func CreateRecognizePetRequest() (request *RecognizePetRequest)
CreateRecognizePetRequest creates a request to invoke RecognizePet API
type RecognizePetResponse ¶
type RecognizePetResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Success bool `json:"Success" xml:"Success"` Message string `json:"Message" xml:"Message"` Response ResponseInRecognizePet `json:"Response" xml:"Response"` }
RecognizePetResponse is the response struct for api RecognizePet
func CreateRecognizePetResponse ¶
func CreateRecognizePetResponse() (response *RecognizePetResponse)
CreateRecognizePetResponse creates a response to parse from RecognizePet response
type Response ¶
type Response struct { Success bool `json:"Success" xml:"Success"` Data string `json:"Data" xml:"Data"` RequestId string `json:"RequestId" xml:"RequestId"` ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` Url string `json:"Url" xml:"Url"` }
Response is a nested struct in visionai_poc response
type ResponseInPredictCategory ¶
type ResponseInPredictCategory struct { Success bool `json:"Success" xml:"Success"` Url string `json:"Url" xml:"Url"` RequestId string `json:"RequestId" xml:"RequestId"` ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` Data []Node `json:"Data" xml:"Data"` }
ResponseInPredictCategory is a nested struct in visionai_poc response
type ResponseInRecognizeCar ¶
type ResponseInRecognizeCar struct { Success bool `json:"Success" xml:"Success"` Url string `json:"Url" xml:"Url"` RequestId string `json:"RequestId" xml:"RequestId"` ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` Data Data `json:"Data" xml:"Data"` }
ResponseInRecognizeCar is a nested struct in visionai_poc response
type ResponseInRecognizeEntity ¶
type ResponseInRecognizeEntity struct { Success bool `json:"Success" xml:"Success"` Url string `json:"Url" xml:"Url"` RequestId string `json:"RequestId" xml:"RequestId"` ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` Data Data `json:"Data" xml:"Data"` }
ResponseInRecognizeEntity is a nested struct in visionai_poc response
type ResponseInRecognizeFlower ¶
type ResponseInRecognizeFlower struct { Success bool `json:"Success" xml:"Success"` Url string `json:"Url" xml:"Url"` RequestId string `json:"RequestId" xml:"RequestId"` ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` Data Data `json:"Data" xml:"Data"` }
ResponseInRecognizeFlower is a nested struct in visionai_poc response
type ResponseInRecognizeLabel ¶
type ResponseInRecognizeLabel struct { Success bool `json:"Success" xml:"Success"` Url string `json:"Url" xml:"Url"` RequestId string `json:"RequestId" xml:"RequestId"` ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` Data Data `json:"Data" xml:"Data"` }
ResponseInRecognizeLabel is a nested struct in visionai_poc response
type ResponseInRecognizePet ¶
type ResponseInRecognizePet struct { Success bool `json:"Success" xml:"Success"` Url string `json:"Url" xml:"Url"` RequestId string `json:"RequestId" xml:"RequestId"` ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` Data Data `json:"Data" xml:"Data"` }
ResponseInRecognizePet is a nested struct in visionai_poc response
type Result ¶
type Result struct {
Node []Node `json:"Node" xml:"Node"`
}
Result is a nested struct in visionai_poc response
Source Files ¶
- check_multiagent.go
- client.go
- predict_category.go
- recognize_car.go
- recognize_entity.go
- recognize_flower.go
- recognize_label.go
- recognize_pet.go
- struct_category.go
- struct_data.go
- struct_data_in_predict_category.go
- struct_node.go
- struct_objects.go
- struct_predictability_in_recognize_flower.go
- struct_predictability_in_recognize_pet.go
- struct_properties_results.go
- struct_response.go
- struct_response_in_predict_category.go
- struct_response_in_recognize_car.go
- struct_response_in_recognize_entity.go
- struct_response_in_recognize_flower.go
- struct_response_in_recognize_label.go
- struct_response_in_recognize_pet.go
- struct_result.go
- struct_sub_node.go
- struct_values.go