aiar

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 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

func ReleaseAlibabaAiArOpenPlatformDetectAPIRequest added in v1.3.4

func ReleaseAlibabaAiArOpenPlatformDetectAPIRequest(v *AlibabaAiArOpenPlatformDetectAPIRequest)

ReleaseAlibabaAiArOpenPlatformDetectAPIRequest 将 AlibabaAiArOpenPlatformDetectAPIRequest 放入 sync.Pool

func ReleaseAlibabaAiArOpenPlatformDetectAPIResponse added in v1.3.4

func ReleaseAlibabaAiArOpenPlatformDetectAPIResponse(v *AlibabaAiArOpenPlatformDetectAPIResponse)

ReleaseAlibabaAiArOpenPlatformDetectAPIResponse 将 AlibabaAiArOpenPlatformDetectAPIResponse 保存到 sync.Pool

func ReleaseAlibabaAiArServiceDetectAPIRequest added in v1.3.4

func ReleaseAlibabaAiArServiceDetectAPIRequest(v *AlibabaAiArServiceDetectAPIRequest)

ReleaseAlibabaAiArServiceDetectAPIRequest 将 AlibabaAiArServiceDetectAPIRequest 放入 sync.Pool

func ReleaseAlibabaAiArServiceDetectAPIResponse added in v1.3.4

func ReleaseAlibabaAiArServiceDetectAPIResponse(v *AlibabaAiArServiceDetectAPIResponse)

ReleaseAlibabaAiArServiceDetectAPIResponse 将 AlibabaAiArServiceDetectAPIResponse 保存到 sync.Pool

func ReleaseAlibabaAiArTmjlAppDetectAPIRequest added in v1.3.4

func ReleaseAlibabaAiArTmjlAppDetectAPIRequest(v *AlibabaAiArTmjlAppDetectAPIRequest)

ReleaseAlibabaAiArTmjlAppDetectAPIRequest 将 AlibabaAiArTmjlAppDetectAPIRequest 放入 sync.Pool

func ReleaseAlibabaAiArTmjlAppDetectAPIResponse added in v1.3.4

func ReleaseAlibabaAiArTmjlAppDetectAPIResponse(v *AlibabaAiArTmjlAppDetectAPIResponse)

ReleaseAlibabaAiArTmjlAppDetectAPIResponse 将 AlibabaAiArTmjlAppDetectAPIResponse 保存到 sync.Pool

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 GetAlibabaAiArOpenPlatformDetectAPIRequest added in v1.3.4

func GetAlibabaAiArOpenPlatformDetectAPIRequest() *AlibabaAiArOpenPlatformDetectAPIRequest

GetAlibabaAiArOpenPlatformDetectRequest 从 sync.Pool 获取 AlibabaAiArOpenPlatformDetectAPIRequest

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) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

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使用

func GetAlibabaAiArOpenPlatformDetectAPIResponse added in v1.3.4

func GetAlibabaAiArOpenPlatformDetectAPIResponse() *AlibabaAiArOpenPlatformDetectAPIResponse

GetAlibabaAiArOpenPlatformDetectAPIResponse 从 sync.Pool 获取 AlibabaAiArOpenPlatformDetectAPIResponse

func (*AlibabaAiArOpenPlatformDetectAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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图片检测服务 成功返回结果

func (*AlibabaAiArOpenPlatformDetectAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

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 GetAlibabaAiArServiceDetectAPIRequest added in v1.3.4

func GetAlibabaAiArServiceDetectAPIRequest() *AlibabaAiArServiceDetectAPIRequest

GetAlibabaAiArServiceDetectRequest 从 sync.Pool 获取 AlibabaAiArServiceDetectAPIRequest

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) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

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图像检索

func GetAlibabaAiArServiceDetectAPIResponse added in v1.3.4

func GetAlibabaAiArServiceDetectAPIResponse() *AlibabaAiArServiceDetectAPIResponse

GetAlibabaAiArServiceDetectAPIResponse 从 sync.Pool 获取 AlibabaAiArServiceDetectAPIResponse

func (*AlibabaAiArServiceDetectAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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图像检索 成功返回结果

func (*AlibabaAiArServiceDetectAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

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 GetAlibabaAiArTmjlAppDetectAPIRequest added in v1.3.4

func GetAlibabaAiArTmjlAppDetectAPIRequest() *AlibabaAiArTmjlAppDetectAPIRequest

GetAlibabaAiArTmjlAppDetectRequest 从 sync.Pool 获取 AlibabaAiArTmjlAppDetectAPIRequest

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) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

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

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

func GetAlibabaAiArTmjlAppDetectAPIResponse added in v1.3.4

func GetAlibabaAiArTmjlAppDetectAPIResponse() *AlibabaAiArTmjlAppDetectAPIResponse

GetAlibabaAiArTmjlAppDetectAPIResponse 从 sync.Pool 获取 AlibabaAiArTmjlAppDetectAPIResponse

func (*AlibabaAiArTmjlAppDetectAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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 天猫精灵扫一扫入口的服务 成功返回结果

func (*AlibabaAiArTmjlAppDetectAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

Jump to

Keyboard shortcuts

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