aiar

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package aiar 包含AILAB图像算法API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=37057

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaAiArOpenPlatformDetectAPIRequest added in v1.2.0

type AlibabaAiArOpenPlatformDetectAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaAiArOpenPlatformDetectAPIRequest AR开发者平台marker图片检测服务 API请求 alibaba.ai.ar.open.platform.detect

AR开发者平台marker图片检测服务,给AR SDK 和 阿里火眼app使用

func NewAlibabaAiArOpenPlatformDetectRequest

func NewAlibabaAiArOpenPlatformDetectRequest() *AlibabaAiArOpenPlatformDetectAPIRequest

NewAlibabaAiArOpenPlatformDetectRequest 初始化AlibabaAiArOpenPlatformDetectAPIRequest对象

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAiArOpenPlatformDetectAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaAiArOpenPlatformDetectAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetCachedTargets added in v1.2.0

func (r AlibabaAiArOpenPlatformDetectAPIRequest) GetCachedTargets() string

GetCachedTargets CachedTargets Getter

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetDeviceInfo added in v1.2.0

GetDeviceInfo DeviceInfo Getter

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetImgData added in v1.2.0

GetImgData ImgData Getter

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetNum added in v1.2.0

GetNum Num Getter

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetVersion added in v1.2.0

GetVersion Version Getter

func (*AlibabaAiArOpenPlatformDetectAPIRequest) SetCachedTargets added in v1.2.0

func (r *AlibabaAiArOpenPlatformDetectAPIRequest) SetCachedTargets(_cachedTargets string) error

SetCachedTargets is CachedTargets Setter 本地已cache的target,多个target间以|||分隔

func (*AlibabaAiArOpenPlatformDetectAPIRequest) SetDeviceInfo added in v1.2.0

func (r *AlibabaAiArOpenPlatformDetectAPIRequest) SetDeviceInfo(_deviceInfo string) error

SetDeviceInfo is DeviceInfo Setter map,描述所有设备相关信息,如设备ID,分辨率等

func (*AlibabaAiArOpenPlatformDetectAPIRequest) SetImgData added in v1.2.0

func (r *AlibabaAiArOpenPlatformDetectAPIRequest) SetImgData(_imgData *model.File) error

SetImgData is ImgData Setter 原始图像数据

func (*AlibabaAiArOpenPlatformDetectAPIRequest) SetNum added in v1.2.0

SetNum is Num Setter 最多返回的结果数,默认为1

func (*AlibabaAiArOpenPlatformDetectAPIRequest) SetVersion added in v1.2.0

func (r *AlibabaAiArOpenPlatformDetectAPIRequest) SetVersion(_version string) error

SetVersion is Version Setter 版本,默认1.0

type AlibabaAiArOpenPlatformDetectAPIResponse

type AlibabaAiArOpenPlatformDetectAPIResponse struct {
	model.CommonResponse
	AlibabaAiArOpenPlatformDetectAPIResponseModel
}

AlibabaAiArOpenPlatformDetectAPIResponse AR开发者平台marker图片检测服务 API返回值 alibaba.ai.ar.open.platform.detect

AR开发者平台marker图片检测服务,给AR SDK 和 阿里火眼app使用

type AlibabaAiArOpenPlatformDetectAPIResponseModel added in v1.2.0

type AlibabaAiArOpenPlatformDetectAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ai_ar_open_platform_detect_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAiArOpenPlatformDetectAPIResponseModel is AR开发者平台marker图片检测服务 成功返回结果

type AlibabaAiArServiceDetectAPIRequest added in v1.2.0

type AlibabaAiArServiceDetectAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaAiArServiceDetectAPIRequest ailab AR图像检索 API请求 alibaba.ai.ar.service.detect

ailab AR图像检索

func NewAlibabaAiArServiceDetectRequest

func NewAlibabaAiArServiceDetectRequest() *AlibabaAiArServiceDetectAPIRequest

NewAlibabaAiArServiceDetectRequest 初始化AlibabaAiArServiceDetectAPIRequest对象

func (AlibabaAiArServiceDetectAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAiArServiceDetectAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAiArServiceDetectAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaAiArServiceDetectAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAiArServiceDetectAPIRequest) GetCachedTargets added in v1.2.0

func (r AlibabaAiArServiceDetectAPIRequest) GetCachedTargets() string

GetCachedTargets CachedTargets Getter

func (AlibabaAiArServiceDetectAPIRequest) GetDeviceInfo added in v1.2.0

func (r AlibabaAiArServiceDetectAPIRequest) GetDeviceInfo() string

GetDeviceInfo DeviceInfo Getter

func (AlibabaAiArServiceDetectAPIRequest) GetImgData added in v1.2.0

GetImgData ImgData Getter

func (AlibabaAiArServiceDetectAPIRequest) GetNum added in v1.2.0

GetNum Num Getter

func (AlibabaAiArServiceDetectAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaAiArServiceDetectAPIRequest) GetVersion added in v1.2.0

GetVersion Version Getter

func (*AlibabaAiArServiceDetectAPIRequest) SetCachedTargets added in v1.2.0

func (r *AlibabaAiArServiceDetectAPIRequest) SetCachedTargets(_cachedTargets string) error

SetCachedTargets is CachedTargets Setter 本地已cache的target,多个target间以|||分隔

func (*AlibabaAiArServiceDetectAPIRequest) SetDeviceInfo added in v1.2.0

func (r *AlibabaAiArServiceDetectAPIRequest) SetDeviceInfo(_deviceInfo string) error

SetDeviceInfo is DeviceInfo Setter map,描述所有设备相关信息,如设备ID,分辨率等

func (*AlibabaAiArServiceDetectAPIRequest) SetImgData added in v1.2.0

func (r *AlibabaAiArServiceDetectAPIRequest) SetImgData(_imgData *model.File) error

SetImgData is ImgData Setter 原始图像数据

func (*AlibabaAiArServiceDetectAPIRequest) SetNum added in v1.2.0

SetNum is Num Setter 最多返回的结果数,默认为1

func (*AlibabaAiArServiceDetectAPIRequest) SetVersion added in v1.2.0

func (r *AlibabaAiArServiceDetectAPIRequest) SetVersion(_version string) error

SetVersion is Version Setter 版本,默认1.0

type AlibabaAiArServiceDetectAPIResponse

type AlibabaAiArServiceDetectAPIResponse struct {
	model.CommonResponse
	AlibabaAiArServiceDetectAPIResponseModel
}

AlibabaAiArServiceDetectAPIResponse ailab AR图像检索 API返回值 alibaba.ai.ar.service.detect

ailab AR图像检索

type AlibabaAiArServiceDetectAPIResponseModel added in v1.2.0

type AlibabaAiArServiceDetectAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ai_ar_service_detect_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Results string `json:"results,omitempty" xml:"results,omitempty"`
}

AlibabaAiArServiceDetectAPIResponseModel is ailab AR图像检索 成功返回结果

type AlibabaAiArTmjlAppDetectAPIRequest added in v1.2.0

type AlibabaAiArTmjlAppDetectAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaAiArTmjlAppDetectAPIRequest 天猫精灵扫一扫入口的服务 API请求 alibaba.ai.ar.tmjl.app.detect

天猫精灵扫一扫入口的图像检测服务

func NewAlibabaAiArTmjlAppDetectRequest

func NewAlibabaAiArTmjlAppDetectRequest() *AlibabaAiArTmjlAppDetectAPIRequest

NewAlibabaAiArTmjlAppDetectRequest 初始化AlibabaAiArTmjlAppDetectAPIRequest对象

func (AlibabaAiArTmjlAppDetectAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAiArTmjlAppDetectAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAiArTmjlAppDetectAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaAiArTmjlAppDetectAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAiArTmjlAppDetectAPIRequest) GetCachedTargets added in v1.2.0

func (r AlibabaAiArTmjlAppDetectAPIRequest) GetCachedTargets() string

GetCachedTargets CachedTargets Getter

func (AlibabaAiArTmjlAppDetectAPIRequest) GetDeviceInfo added in v1.2.0

func (r AlibabaAiArTmjlAppDetectAPIRequest) GetDeviceInfo() string

GetDeviceInfo DeviceInfo Getter

func (AlibabaAiArTmjlAppDetectAPIRequest) GetImgData added in v1.2.0

GetImgData ImgData Getter

func (AlibabaAiArTmjlAppDetectAPIRequest) GetNum added in v1.2.0

GetNum Num Getter

func (AlibabaAiArTmjlAppDetectAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaAiArTmjlAppDetectAPIRequest) GetVersion added in v1.2.0

GetVersion Version Getter

func (*AlibabaAiArTmjlAppDetectAPIRequest) SetCachedTargets added in v1.2.0

func (r *AlibabaAiArTmjlAppDetectAPIRequest) SetCachedTargets(_cachedTargets string) error

SetCachedTargets is CachedTargets Setter 本地已cache的target,多个target间以|||分隔

func (*AlibabaAiArTmjlAppDetectAPIRequest) SetDeviceInfo added in v1.2.0

func (r *AlibabaAiArTmjlAppDetectAPIRequest) SetDeviceInfo(_deviceInfo string) error

SetDeviceInfo is DeviceInfo Setter map,描述所有设备相关信息,如设备ID,分辨率等

func (*AlibabaAiArTmjlAppDetectAPIRequest) SetImgData added in v1.2.0

func (r *AlibabaAiArTmjlAppDetectAPIRequest) SetImgData(_imgData *model.File) error

SetImgData is ImgData Setter 原始图像数据

func (*AlibabaAiArTmjlAppDetectAPIRequest) SetNum added in v1.2.0

SetNum is Num Setter 最多返回的结果数,默认为1

func (*AlibabaAiArTmjlAppDetectAPIRequest) SetVersion added in v1.2.0

func (r *AlibabaAiArTmjlAppDetectAPIRequest) SetVersion(_version string) error

SetVersion is Version Setter 版本,默认1.0

type AlibabaAiArTmjlAppDetectAPIResponse

type AlibabaAiArTmjlAppDetectAPIResponse struct {
	model.CommonResponse
	AlibabaAiArTmjlAppDetectAPIResponseModel
}

AlibabaAiArTmjlAppDetectAPIResponse 天猫精灵扫一扫入口的服务 API返回值 alibaba.ai.ar.tmjl.app.detect

天猫精灵扫一扫入口的图像检测服务

type AlibabaAiArTmjlAppDetectAPIResponseModel added in v1.2.0

type AlibabaAiArTmjlAppDetectAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ai_ar_tmjl_app_detect_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Results string `json:"results,omitempty" xml:"results,omitempty"`
}

AlibabaAiArTmjlAppDetectAPIResponseModel is 天猫精灵扫一扫入口的服务 成功返回结果

Jump to

Keyboard shortcuts

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