Versions in this module Expand all Collapse all v0 v0.3.0 Jan 25, 2023 v0.2.0 Jan 25, 2023 v0.1.0 Jan 25, 2023 Changes in this version + var EndpointMap map[string]string + var EndpointType = "regional" + func GetEndpointMap() map[string]string + func GetEndpointType() string + func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) + func SetEndpointDataToClient(client *Client) + type Box struct + Box []int64 + type BoxesInDetectObject struct + Box []int + type BoxesInDetectVehicle struct + Box []int + type BoxesInDetectVehicleICongestion struct + BoxesItem []BoxesItem + type BoxesInDetectVehicleIllegalParking struct + BoxesItem []BoxesItem + type BoxesInRecognizeVehicleDamage struct + Box []int + type BoxesInRecognizeVehicleDashboard struct + Box []float64 + type BoxesInRecognizeVehicleParts struct + Box []int + type BoxesItem struct + Bottom int64 + Left int64 + Right int64 + Top int64 + type ClassifyVehicleInsuranceRequest struct + ImageURL string + func CreateClassifyVehicleInsuranceRequest() (request *ClassifyVehicleInsuranceRequest) + type ClassifyVehicleInsuranceResponse struct + Data Data + RequestId string + func CreateClassifyVehicleInsuranceResponse() (response *ClassifyVehicleInsuranceResponse) + type Client struct + 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) ClassifyVehicleInsurance(request *ClassifyVehicleInsuranceRequest) (response *ClassifyVehicleInsuranceResponse, err error) + func (client *Client) ClassifyVehicleInsuranceWithCallback(request *ClassifyVehicleInsuranceRequest, ...) <-chan int + func (client *Client) ClassifyVehicleInsuranceWithChan(request *ClassifyVehicleInsuranceRequest) (<-chan *ClassifyVehicleInsuranceResponse, <-chan error) + func (client *Client) DetectIPCObject(request *DetectIPCObjectRequest) (response *DetectIPCObjectResponse, err error) + func (client *Client) DetectIPCObjectWithCallback(request *DetectIPCObjectRequest, ...) <-chan int + func (client *Client) DetectIPCObjectWithChan(request *DetectIPCObjectRequest) (<-chan *DetectIPCObjectResponse, <-chan error) + func (client *Client) DetectMainBody(request *DetectMainBodyRequest) (response *DetectMainBodyResponse, err error) + func (client *Client) DetectMainBodyWithCallback(request *DetectMainBodyRequest, ...) <-chan int + func (client *Client) DetectMainBodyWithChan(request *DetectMainBodyRequest) (<-chan *DetectMainBodyResponse, <-chan error) + func (client *Client) DetectObject(request *DetectObjectRequest) (response *DetectObjectResponse, err error) + func (client *Client) DetectObjectWithCallback(request *DetectObjectRequest, ...) <-chan int + func (client *Client) DetectObjectWithChan(request *DetectObjectRequest) (<-chan *DetectObjectResponse, <-chan error) + func (client *Client) DetectTransparentImage(request *DetectTransparentImageRequest) (response *DetectTransparentImageResponse, err error) + func (client *Client) DetectTransparentImageWithCallback(request *DetectTransparentImageRequest, ...) <-chan int + func (client *Client) DetectTransparentImageWithChan(request *DetectTransparentImageRequest) (<-chan *DetectTransparentImageResponse, <-chan error) + func (client *Client) DetectVehicle(request *DetectVehicleRequest) (response *DetectVehicleResponse, err error) + func (client *Client) DetectVehicleICongestion(request *DetectVehicleICongestionRequest) (response *DetectVehicleICongestionResponse, err error) + func (client *Client) DetectVehicleICongestionWithCallback(request *DetectVehicleICongestionRequest, ...) <-chan int + func (client *Client) DetectVehicleICongestionWithChan(request *DetectVehicleICongestionRequest) (<-chan *DetectVehicleICongestionResponse, <-chan error) + func (client *Client) DetectVehicleIllegalParking(request *DetectVehicleIllegalParkingRequest) (response *DetectVehicleIllegalParkingResponse, err error) + func (client *Client) DetectVehicleIllegalParkingWithCallback(request *DetectVehicleIllegalParkingRequest, ...) <-chan int + func (client *Client) DetectVehicleIllegalParkingWithChan(request *DetectVehicleIllegalParkingRequest) (<-chan *DetectVehicleIllegalParkingResponse, <-chan error) + func (client *Client) DetectVehicleWithCallback(request *DetectVehicleRequest, ...) <-chan int + func (client *Client) DetectVehicleWithChan(request *DetectVehicleRequest) (<-chan *DetectVehicleResponse, <-chan error) + func (client *Client) DetectVideoIPCObject(request *DetectVideoIPCObjectRequest) (response *DetectVideoIPCObjectResponse, err error) + func (client *Client) DetectVideoIPCObjectWithCallback(request *DetectVideoIPCObjectRequest, ...) <-chan int + func (client *Client) DetectVideoIPCObjectWithChan(request *DetectVideoIPCObjectRequest) (<-chan *DetectVideoIPCObjectResponse, <-chan error) + func (client *Client) DetectWhiteBaseImage(request *DetectWhiteBaseImageRequest) (response *DetectWhiteBaseImageResponse, err error) + func (client *Client) DetectWhiteBaseImageWithCallback(request *DetectWhiteBaseImageRequest, ...) <-chan int + func (client *Client) DetectWhiteBaseImageWithChan(request *DetectWhiteBaseImageRequest) (<-chan *DetectWhiteBaseImageResponse, <-chan error) + func (client *Client) GenerateVehicleRepairPlan(request *GenerateVehicleRepairPlanRequest) (response *GenerateVehicleRepairPlanResponse, err error) + func (client *Client) GenerateVehicleRepairPlanWithCallback(request *GenerateVehicleRepairPlanRequest, ...) <-chan int + func (client *Client) GenerateVehicleRepairPlanWithChan(request *GenerateVehicleRepairPlanRequest) (<-chan *GenerateVehicleRepairPlanResponse, <-chan error) + func (client *Client) GetAsyncJobResult(request *GetAsyncJobResultRequest) (response *GetAsyncJobResultResponse, err error) + func (client *Client) GetAsyncJobResultWithCallback(request *GetAsyncJobResultRequest, ...) <-chan int + func (client *Client) GetAsyncJobResultWithChan(request *GetAsyncJobResultRequest) (<-chan *GetAsyncJobResultResponse, <-chan error) + func (client *Client) GetVehicleRepairPlan(request *GetVehicleRepairPlanRequest) (response *GetVehicleRepairPlanResponse, err error) + func (client *Client) GetVehicleRepairPlanWithCallback(request *GetVehicleRepairPlanRequest, ...) <-chan int + func (client *Client) GetVehicleRepairPlanWithChan(request *GetVehicleRepairPlanRequest) (<-chan *GetVehicleRepairPlanResponse, <-chan error) + func (client *Client) RecognizeVehicleDamage(request *RecognizeVehicleDamageRequest) (response *RecognizeVehicleDamageResponse, err error) + func (client *Client) RecognizeVehicleDamageWithCallback(request *RecognizeVehicleDamageRequest, ...) <-chan int + func (client *Client) RecognizeVehicleDamageWithChan(request *RecognizeVehicleDamageRequest) (<-chan *RecognizeVehicleDamageResponse, <-chan error) + func (client *Client) RecognizeVehicleDashboard(request *RecognizeVehicleDashboardRequest) (response *RecognizeVehicleDashboardResponse, err error) + func (client *Client) RecognizeVehicleDashboardWithCallback(request *RecognizeVehicleDashboardRequest, ...) <-chan int + func (client *Client) RecognizeVehicleDashboardWithChan(request *RecognizeVehicleDashboardRequest) (<-chan *RecognizeVehicleDashboardResponse, <-chan error) + func (client *Client) RecognizeVehicleParts(request *RecognizeVehiclePartsRequest) (response *RecognizeVehiclePartsResponse, err error) + func (client *Client) RecognizeVehiclePartsWithCallback(request *RecognizeVehiclePartsRequest, ...) <-chan int + func (client *Client) RecognizeVehiclePartsWithChan(request *RecognizeVehiclePartsRequest) (<-chan *RecognizeVehiclePartsResponse, <-chan error) + type Data struct + Elements []Element + ErrorCode string + ErrorMessage string + FrameNo string + Frames []Frame + Height int64 + JobId string + Labels []Label + Location Location + OriginShapes []int + RegionIntersectFeatures []RegionIntersectFeaturesItem + RegionIntersectMatched []RegionIntersectMatchedItem + RegionIntersects []RegionIntersectsItem + RepairParts []RepairItems + Result string + Status string + TaskId string + Threshold float64 + Width int64 + type DataInDetectObject struct + Elements []Element + Height int + Width int + type DataInDetectVehicle struct + DetectObjectInfoList []DetectObjectInfo + Height int + Width int + type DataInDetectVehicleIllegalParking struct + Elements []ElementInDetectVehicleIllegalParking + RegionIntersects []RegionIntersect + type DetectIPCObjectRequest struct + ImageURL string + func CreateDetectIPCObjectRequest() (request *DetectIPCObjectRequest) + type DetectIPCObjectResponse struct + Code string + Data Data + Message string + RequestId string + func CreateDetectIPCObjectResponse() (response *DetectIPCObjectResponse) + type DetectMainBodyRequest struct + ImageURL string + func CreateDetectMainBodyRequest() (request *DetectMainBodyRequest) + type DetectMainBodyResponse struct + Data Data + RequestId string + func CreateDetectMainBodyResponse() (response *DetectMainBodyResponse) + type DetectObjectInfo struct + Boxes []int + Id int + Score float64 + Type string + type DetectObjectInfoList struct + DetectObjectInfo []DetectObjectInfo + type DetectObjectRequest struct + ImageURL string + func CreateDetectObjectRequest() (request *DetectObjectRequest) + type DetectObjectResponse struct + Data DataInDetectObject + RequestId string + func CreateDetectObjectResponse() (response *DetectObjectResponse) + type DetectTransparentImageRequest struct + ImageURL string + func CreateDetectTransparentImageRequest() (request *DetectTransparentImageRequest) + type DetectTransparentImageResponse struct + Data Data + RequestId string + func CreateDetectTransparentImageResponse() (response *DetectTransparentImageResponse) + type DetectVehicleICongestionRequest struct + ImageURL string + PreRegionIntersectFeatures string + RoadRegions string + func CreateDetectVehicleICongestionRequest() (request *DetectVehicleICongestionRequest) + type DetectVehicleICongestionResponse struct + Code string + Data Data + Message string + RequestId string + func CreateDetectVehicleICongestionResponse() (response *DetectVehicleICongestionResponse) + type DetectVehicleIllegalParkingRequest struct + ImageURL string + RoadRegions string + func CreateDetectVehicleIllegalParkingRequest() (request *DetectVehicleIllegalParkingRequest) + type DetectVehicleIllegalParkingResponse struct + Code string + Data DataInDetectVehicleIllegalParking + Message string + RequestId string + func CreateDetectVehicleIllegalParkingResponse() (response *DetectVehicleIllegalParkingResponse) + type DetectVehicleRequest struct + ImageType requests.Integer + ImageURL string + func CreateDetectVehicleRequest() (request *DetectVehicleRequest) + type DetectVehicleResponse struct + Data DataInDetectVehicle + RequestId string + func CreateDetectVehicleResponse() (response *DetectVehicleResponse) + type DetectVideoIPCObjectRequest struct + Async requests.Boolean + VideoURL string + func CreateDetectVideoIPCObjectRequest() (request *DetectVideoIPCObjectRequest) + type DetectVideoIPCObjectResponse struct + Code string + Data Data + Message string + RequestId string + func CreateDetectVideoIPCObjectResponse() (response *DetectVideoIPCObjectResponse) + type DetectWhiteBaseImageRequest struct + ImageURL string + func CreateDetectWhiteBaseImageRequest() (request *DetectWhiteBaseImageRequest) + type DetectWhiteBaseImageResponse struct + Data Data + RequestId string + func CreateDetectWhiteBaseImageResponse() (response *DetectWhiteBaseImageResponse) + type Element struct + Box []int64 + Boxes []int + Score float64 + Scores []float64 + TargetRate float64 + TransparentImage int + Type string + WhiteBase int + type ElementInDetectVehicleICongestion struct + Boxes []BoxesItem + Score float64 + TypeName string + type ElementInDetectVehicleIllegalParking struct + Boxes []BoxesItem + Score float64 + TypeName string + type ElementInRecognizeVehicleDashboard struct + Boxes []float64 + ClassName string + Label string + Score float64 + type Elements struct + Height int64 + Score float64 + Type string + Width int64 + X int64 + Y int64 + type ElementsInDetectIPCObject struct + Element []Element + type ElementsInDetectObject struct + Element []Element + type ElementsInDetectTransparentImage struct + Element []Element + type ElementsInDetectVehicleICongestion struct + Element []ElementInDetectVehicleICongestion + type ElementsInDetectVehicleIllegalParking struct + Element []ElementInDetectVehicleIllegalParking + type ElementsInDetectVideoIPCObject struct + Elements []Elements + type ElementsInDetectWhiteBaseImage struct + Element []Element + type ElementsInRecognizeVehicleDamage struct + Element []Element + type ElementsInRecognizeVehicleDashboard struct + Element []ElementInRecognizeVehicleDashboard + type ElementsInRecognizeVehicleParts struct + Element []Element + type Features struct + Features []string + type Frame struct + Elements []Elements + Time int64 + type Frames struct + Frame []Frame + type GenerateVehicleRepairPlanDamageImageList struct + CreateTimeStamp string + ImageUrl string + type GenerateVehicleRepairPlanRequest struct + DamageImageList *[]GenerateVehicleRepairPlanDamageImageList + func CreateGenerateVehicleRepairPlanRequest() (request *GenerateVehicleRepairPlanRequest) + type GenerateVehicleRepairPlanResponse struct + Code string + Data Data + ErrorMessage string + HttpCode int + RequestId string + Success bool + func CreateGenerateVehicleRepairPlanResponse() (response *GenerateVehicleRepairPlanResponse) + type GetAsyncJobResultRequest struct + Async requests.Boolean + JobId string + func CreateGetAsyncJobResultRequest() (request *GetAsyncJobResultRequest) + type GetAsyncJobResultResponse struct + Data Data + RequestId string + func CreateGetAsyncJobResultResponse() (response *GetAsyncJobResultResponse) + type GetVehicleRepairPlanRequest struct + CarNumberImage string + TaskId string + VinCodeImage string + func CreateGetVehicleRepairPlanRequest() (request *GetVehicleRepairPlanRequest) + type GetVehicleRepairPlanResponse struct + Code string + Data Data + ErrorMessage string + HttpCode int + RequestId string + Success bool + func CreateGetVehicleRepairPlanResponse() (response *GetVehicleRepairPlanResponse) + type IdsInDetectVehicleICongestion struct + Ids []int64 + type IdsInDetectVehicleIllegalParking struct + Ids []int64 + type Label struct + Name string + Score float64 + type Labels struct + Label []Label + type Location struct + Height int + Width int + X int + Y int + type OriginShapes struct + OriginShape []int + type RecognizeVehicleDamageRequest struct + ImageURL string + func CreateRecognizeVehicleDamageRequest() (request *RecognizeVehicleDamageRequest) + type RecognizeVehicleDamageResponse struct + Data Data + RequestId string + func CreateRecognizeVehicleDamageResponse() (response *RecognizeVehicleDamageResponse) + type RecognizeVehicleDashboardRequest struct + ImageURL string + func CreateRecognizeVehicleDashboardRequest() (request *RecognizeVehicleDashboardRequest) + type RecognizeVehicleDashboardResponse struct + Data Data + RequestId string + func CreateRecognizeVehicleDashboardResponse() (response *RecognizeVehicleDashboardResponse) + type RecognizeVehiclePartsRequest struct + ImageURL string + func CreateRecognizeVehiclePartsRequest() (request *RecognizeVehiclePartsRequest) + type RecognizeVehiclePartsResponse struct + Data Data + RequestId string + func CreateRecognizeVehiclePartsResponse() (response *RecognizeVehiclePartsResponse) + type RegionIntersect struct + Ids []int64 + type RegionIntersectFeatures struct + RegionIntersectFeaturesItem []RegionIntersectFeaturesItem + type RegionIntersectFeaturesItem struct + Features []string + type RegionIntersectMatched struct + RegionIntersectMatchedItem []RegionIntersectMatchedItem + type RegionIntersectMatchedItem struct + Ids []int64 + type RegionIntersectsInDetectVehicleICongestion struct + RegionIntersectsItem []RegionIntersectsItem + type RegionIntersectsInDetectVehicleIllegalParking struct + RegionIntersect []RegionIntersect + type RegionIntersectsItem struct + Ids []int64 + type RepairItems struct + GarageType string + OeMatch bool + OutStandardPartsId string + OutStandardPartsName string + PartNameMatch bool + PartsStdCode string + PartsStdName string + RelationType string + RepairFee string + RepairType string + RepairTypeName string + type RepairParts struct + RepairItems []RepairItems + type Scores struct + Score []float64