threedvision

package
v1.63.57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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) EstimateMonocularImageDepth

func (client *Client) EstimateMonocularImageDepth(request *EstimateMonocularImageDepthRequest) (response *EstimateMonocularImageDepthResponse, err error)

EstimateMonocularImageDepth invokes the threedvision.EstimateMonocularImageDepth API synchronously

func (*Client) EstimateMonocularImageDepthWithCallback

func (client *Client) EstimateMonocularImageDepthWithCallback(request *EstimateMonocularImageDepthRequest, callback func(response *EstimateMonocularImageDepthResponse, err error)) <-chan int

EstimateMonocularImageDepthWithCallback invokes the threedvision.EstimateMonocularImageDepth API asynchronously

func (*Client) EstimateMonocularImageDepthWithChan

func (client *Client) EstimateMonocularImageDepthWithChan(request *EstimateMonocularImageDepthRequest) (<-chan *EstimateMonocularImageDepthResponse, <-chan error)

EstimateMonocularImageDepthWithChan invokes the threedvision.EstimateMonocularImageDepth API asynchronously

func (*Client) EstimateMonocularVideoDepth

func (client *Client) EstimateMonocularVideoDepth(request *EstimateMonocularVideoDepthRequest) (response *EstimateMonocularVideoDepthResponse, err error)

EstimateMonocularVideoDepth invokes the threedvision.EstimateMonocularVideoDepth API synchronously

func (*Client) EstimateMonocularVideoDepthWithCallback

func (client *Client) EstimateMonocularVideoDepthWithCallback(request *EstimateMonocularVideoDepthRequest, callback func(response *EstimateMonocularVideoDepthResponse, err error)) <-chan int

EstimateMonocularVideoDepthWithCallback invokes the threedvision.EstimateMonocularVideoDepth API asynchronously

func (*Client) EstimateMonocularVideoDepthWithChan

func (client *Client) EstimateMonocularVideoDepthWithChan(request *EstimateMonocularVideoDepthRequest) (<-chan *EstimateMonocularVideoDepthResponse, <-chan error)

EstimateMonocularVideoDepthWithChan invokes the threedvision.EstimateMonocularVideoDepth API asynchronously

func (*Client) EstimateStereoImageDepth

func (client *Client) EstimateStereoImageDepth(request *EstimateStereoImageDepthRequest) (response *EstimateStereoImageDepthResponse, err error)

EstimateStereoImageDepth invokes the threedvision.EstimateStereoImageDepth API synchronously

func (*Client) EstimateStereoImageDepthWithCallback

func (client *Client) EstimateStereoImageDepthWithCallback(request *EstimateStereoImageDepthRequest, callback func(response *EstimateStereoImageDepthResponse, err error)) <-chan int

EstimateStereoImageDepthWithCallback invokes the threedvision.EstimateStereoImageDepth API asynchronously

func (*Client) EstimateStereoImageDepthWithChan

func (client *Client) EstimateStereoImageDepthWithChan(request *EstimateStereoImageDepthRequest) (<-chan *EstimateStereoImageDepthResponse, <-chan error)

EstimateStereoImageDepthWithChan invokes the threedvision.EstimateStereoImageDepth API asynchronously

func (*Client) GetAsyncJobResult

func (client *Client) GetAsyncJobResult(request *GetAsyncJobResultRequest) (response *GetAsyncJobResultResponse, err error)

GetAsyncJobResult invokes the threedvision.GetAsyncJobResult API synchronously

func (*Client) GetAsyncJobResultWithCallback

func (client *Client) GetAsyncJobResultWithCallback(request *GetAsyncJobResultRequest, callback func(response *GetAsyncJobResultResponse, err error)) <-chan int

GetAsyncJobResultWithCallback invokes the threedvision.GetAsyncJobResult API asynchronously

func (*Client) GetAsyncJobResultWithChan

func (client *Client) GetAsyncJobResultWithChan(request *GetAsyncJobResultRequest) (<-chan *GetAsyncJobResultResponse, <-chan error)

GetAsyncJobResultWithChan invokes the threedvision.GetAsyncJobResult API asynchronously

func (*Client) ReconstructBodyBySingleImage

func (client *Client) ReconstructBodyBySingleImage(request *ReconstructBodyBySingleImageRequest) (response *ReconstructBodyBySingleImageResponse, err error)

ReconstructBodyBySingleImage invokes the threedvision.ReconstructBodyBySingleImage API synchronously

func (*Client) ReconstructBodyBySingleImageWithCallback

func (client *Client) ReconstructBodyBySingleImageWithCallback(request *ReconstructBodyBySingleImageRequest, callback func(response *ReconstructBodyBySingleImageResponse, err error)) <-chan int

ReconstructBodyBySingleImageWithCallback invokes the threedvision.ReconstructBodyBySingleImage API asynchronously

func (*Client) ReconstructBodyBySingleImageWithChan

func (client *Client) ReconstructBodyBySingleImageWithChan(request *ReconstructBodyBySingleImageRequest) (<-chan *ReconstructBodyBySingleImageResponse, <-chan error)

ReconstructBodyBySingleImageWithChan invokes the threedvision.ReconstructBodyBySingleImage API asynchronously

func (*Client) ReconstructThreeDMultiView

func (client *Client) ReconstructThreeDMultiView(request *ReconstructThreeDMultiViewRequest) (response *ReconstructThreeDMultiViewResponse, err error)

ReconstructThreeDMultiView invokes the threedvision.ReconstructThreeDMultiView API synchronously

func (*Client) ReconstructThreeDMultiViewWithCallback

func (client *Client) ReconstructThreeDMultiViewWithCallback(request *ReconstructThreeDMultiViewRequest, callback func(response *ReconstructThreeDMultiViewResponse, err error)) <-chan int

ReconstructThreeDMultiViewWithCallback invokes the threedvision.ReconstructThreeDMultiView API asynchronously

func (*Client) ReconstructThreeDMultiViewWithChan

func (client *Client) ReconstructThreeDMultiViewWithChan(request *ReconstructThreeDMultiViewRequest) (<-chan *ReconstructThreeDMultiViewResponse, <-chan error)

ReconstructThreeDMultiViewWithChan invokes the threedvision.ReconstructThreeDMultiView API asynchronously

type Data

type Data struct {
	DepthVisUrl     string `json:"DepthVisUrl" xml:"DepthVisUrl"`
	JobId           string `json:"JobId" xml:"JobId"`
	PointCloudURL   string `json:"PointCloudURL" xml:"PointCloudURL"`
	Result          string `json:"Result" xml:"Result"`
	DisparityMapURL string `json:"DisparityMapURL" xml:"DisparityMapURL"`
	ErrorMessage    string `json:"ErrorMessage" xml:"ErrorMessage"`
	DisparityVisURL string `json:"DisparityVisURL" xml:"DisparityVisURL"`
	DepthUrl        string `json:"DepthUrl" xml:"DepthUrl"`
	DepthURL        string `json:"DepthURL" xml:"DepthURL"`
	DepthMapUrl     string `json:"DepthMapUrl" xml:"DepthMapUrl"`
	Status          string `json:"Status" xml:"Status"`
	MeshURL         string `json:"MeshURL" xml:"MeshURL"`
	ErrorCode       string `json:"ErrorCode" xml:"ErrorCode"`
	DepthToColorUrl string `json:"DepthToColorUrl" xml:"DepthToColorUrl"`
}

Data is a nested struct in threedvision response

type EstimateMonocularImageDepthRequest

type EstimateMonocularImageDepthRequest struct {
	*requests.RpcRequest
	ImageURL string `position:"Body" name:"ImageURL"`
}

EstimateMonocularImageDepthRequest is the request struct for api EstimateMonocularImageDepth

func CreateEstimateMonocularImageDepthRequest

func CreateEstimateMonocularImageDepthRequest() (request *EstimateMonocularImageDepthRequest)

CreateEstimateMonocularImageDepthRequest creates a request to invoke EstimateMonocularImageDepth API

type EstimateMonocularImageDepthResponse

type EstimateMonocularImageDepthResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

EstimateMonocularImageDepthResponse is the response struct for api EstimateMonocularImageDepth

func CreateEstimateMonocularImageDepthResponse

func CreateEstimateMonocularImageDepthResponse() (response *EstimateMonocularImageDepthResponse)

CreateEstimateMonocularImageDepthResponse creates a response to parse from EstimateMonocularImageDepth response

type EstimateMonocularVideoDepthRequest

type EstimateMonocularVideoDepthRequest struct {
	*requests.RpcRequest
	SampleRate string           `position:"Body" name:"SampleRate"`
	Async      requests.Boolean `position:"Body" name:"Async"`
	VideoURL   string           `position:"Body" name:"VideoURL"`
}

EstimateMonocularVideoDepthRequest is the request struct for api EstimateMonocularVideoDepth

func CreateEstimateMonocularVideoDepthRequest

func CreateEstimateMonocularVideoDepthRequest() (request *EstimateMonocularVideoDepthRequest)

CreateEstimateMonocularVideoDepthRequest creates a request to invoke EstimateMonocularVideoDepth API

type EstimateMonocularVideoDepthResponse

type EstimateMonocularVideoDepthResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

EstimateMonocularVideoDepthResponse is the response struct for api EstimateMonocularVideoDepth

func CreateEstimateMonocularVideoDepthResponse

func CreateEstimateMonocularVideoDepthResponse() (response *EstimateMonocularVideoDepthResponse)

CreateEstimateMonocularVideoDepthResponse creates a response to parse from EstimateMonocularVideoDepth response

type EstimateStereoImageDepthRequest

type EstimateStereoImageDepthRequest struct {
	*requests.RpcRequest
	RightImageURL string `position:"Body" name:"RightImageURL"`
	LeftImageURL  string `position:"Body" name:"LeftImageURL"`
}

EstimateStereoImageDepthRequest is the request struct for api EstimateStereoImageDepth

func CreateEstimateStereoImageDepthRequest

func CreateEstimateStereoImageDepthRequest() (request *EstimateStereoImageDepthRequest)

CreateEstimateStereoImageDepthRequest creates a request to invoke EstimateStereoImageDepth API

type EstimateStereoImageDepthResponse

type EstimateStereoImageDepthResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

EstimateStereoImageDepthResponse is the response struct for api EstimateStereoImageDepth

func CreateEstimateStereoImageDepthResponse

func CreateEstimateStereoImageDepthResponse() (response *EstimateStereoImageDepthResponse)

CreateEstimateStereoImageDepthResponse creates a response to parse from EstimateStereoImageDepth response

type GetAsyncJobResultRequest

type GetAsyncJobResultRequest struct {
	*requests.RpcRequest
	JobId string           `position:"Body" name:"JobId"`
	Async requests.Boolean `position:"Body" name:"Async"`
}

GetAsyncJobResultRequest is the request struct for api GetAsyncJobResult

func CreateGetAsyncJobResultRequest

func CreateGetAsyncJobResultRequest() (request *GetAsyncJobResultRequest)

CreateGetAsyncJobResultRequest creates a request to invoke GetAsyncJobResult API

type GetAsyncJobResultResponse

type GetAsyncJobResultResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

GetAsyncJobResultResponse is the response struct for api GetAsyncJobResult

func CreateGetAsyncJobResultResponse

func CreateGetAsyncJobResultResponse() (response *GetAsyncJobResultResponse)

CreateGetAsyncJobResultResponse creates a response to parse from GetAsyncJobResult response

type ReconstructBodyBySingleImageRequest

type ReconstructBodyBySingleImageRequest struct {
	*requests.RpcRequest
	ImageURL string `position:"Body" name:"ImageURL"`
}

ReconstructBodyBySingleImageRequest is the request struct for api ReconstructBodyBySingleImage

func CreateReconstructBodyBySingleImageRequest

func CreateReconstructBodyBySingleImageRequest() (request *ReconstructBodyBySingleImageRequest)

CreateReconstructBodyBySingleImageRequest creates a request to invoke ReconstructBodyBySingleImage API

type ReconstructBodyBySingleImageResponse

type ReconstructBodyBySingleImageResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

ReconstructBodyBySingleImageResponse is the response struct for api ReconstructBodyBySingleImage

func CreateReconstructBodyBySingleImageResponse

func CreateReconstructBodyBySingleImageResponse() (response *ReconstructBodyBySingleImageResponse)

CreateReconstructBodyBySingleImageResponse creates a response to parse from ReconstructBodyBySingleImage response

type ReconstructThreeDMultiViewRequest

type ReconstructThreeDMultiViewRequest struct {
	*requests.RpcRequest
	Mode       string           `position:"Body" name:"Mode"`
	ZipFileUrl string           `position:"Body" name:"ZipFileUrl"`
	Async      requests.Boolean `position:"Body" name:"Async"`
}

ReconstructThreeDMultiViewRequest is the request struct for api ReconstructThreeDMultiView

func CreateReconstructThreeDMultiViewRequest

func CreateReconstructThreeDMultiViewRequest() (request *ReconstructThreeDMultiViewRequest)

CreateReconstructThreeDMultiViewRequest creates a request to invoke ReconstructThreeDMultiView API

type ReconstructThreeDMultiViewResponse

type ReconstructThreeDMultiViewResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

ReconstructThreeDMultiViewResponse is the response struct for api ReconstructThreeDMultiView

func CreateReconstructThreeDMultiViewResponse

func CreateReconstructThreeDMultiViewResponse() (response *ReconstructThreeDMultiViewResponse)

CreateReconstructThreeDMultiViewResponse creates a response to parse from ReconstructThreeDMultiView response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL