aiar

package
v1.3.1 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.3.1

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

func NewAlibabaaiaropenplatformdetectRequest() *AlibabaaiaropenplatformdetectAPIRequest

NewAlibabaaiaropenplatformdetectRequest 初始化AlibabaaiaropenplatformdetectAPIRequest对象

func (AlibabaaiaropenplatformdetectAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaaiaropenplatformdetectAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaaiaropenplatformdetectAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaaiaropenplatformdetectAPIRequest) GetCachedTargets added in v1.3.1

func (r AlibabaaiaropenplatformdetectAPIRequest) GetCachedTargets() string

GetCachedTargets CachedTargets Getter

func (AlibabaaiaropenplatformdetectAPIRequest) GetDeviceInfo added in v1.3.1

GetDeviceInfo DeviceInfo Getter

func (AlibabaaiaropenplatformdetectAPIRequest) GetImgData added in v1.3.1

GetImgData ImgData Getter

func (AlibabaaiaropenplatformdetectAPIRequest) GetNum added in v1.3.1

GetNum Num Getter

func (AlibabaaiaropenplatformdetectAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabaaiaropenplatformdetectAPIRequest) GetVersion added in v1.3.1

GetVersion Version Getter

func (*AlibabaaiaropenplatformdetectAPIRequest) SetCachedTargets added in v1.3.1

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

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

func (*AlibabaaiaropenplatformdetectAPIRequest) SetDeviceInfo added in v1.3.1

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

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

func (*AlibabaaiaropenplatformdetectAPIRequest) SetImgData added in v1.3.1

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

SetImgData is ImgData Setter 原始图像数据

func (*AlibabaaiaropenplatformdetectAPIRequest) SetNum added in v1.3.1

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

func (*AlibabaaiaropenplatformdetectAPIRequest) SetVersion added in v1.3.1

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

SetVersion is Version Setter 版本,默认1.0

type AlibabaaiaropenplatformdetectAPIResponse added in v1.3.1

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.3.1

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.3.1

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

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

ailab AR图像检索

func NewAlibabaaiarservicedetectRequest added in v1.3.1

func NewAlibabaaiarservicedetectRequest() *AlibabaaiarservicedetectAPIRequest

NewAlibabaaiarservicedetectRequest 初始化AlibabaaiarservicedetectAPIRequest对象

func (AlibabaaiarservicedetectAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaaiarservicedetectAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaaiarservicedetectAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaaiarservicedetectAPIRequest) GetCachedTargets added in v1.3.1

func (r AlibabaaiarservicedetectAPIRequest) GetCachedTargets() string

GetCachedTargets CachedTargets Getter

func (AlibabaaiarservicedetectAPIRequest) GetDeviceInfo added in v1.3.1

func (r AlibabaaiarservicedetectAPIRequest) GetDeviceInfo() string

GetDeviceInfo DeviceInfo Getter

func (AlibabaaiarservicedetectAPIRequest) GetImgData added in v1.3.1

GetImgData ImgData Getter

func (AlibabaaiarservicedetectAPIRequest) GetNum added in v1.3.1

GetNum Num Getter

func (AlibabaaiarservicedetectAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabaaiarservicedetectAPIRequest) GetVersion added in v1.3.1

GetVersion Version Getter

func (*AlibabaaiarservicedetectAPIRequest) SetCachedTargets added in v1.3.1

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

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

func (*AlibabaaiarservicedetectAPIRequest) SetDeviceInfo added in v1.3.1

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

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

func (*AlibabaaiarservicedetectAPIRequest) SetImgData added in v1.3.1

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

SetImgData is ImgData Setter 原始图像数据

func (*AlibabaaiarservicedetectAPIRequest) SetNum added in v1.3.1

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

func (*AlibabaaiarservicedetectAPIRequest) SetVersion added in v1.3.1

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

SetVersion is Version Setter 版本,默认1.0

type AlibabaaiarservicedetectAPIResponse added in v1.3.1

type AlibabaaiarservicedetectAPIResponse struct {
	model.CommonResponse
	AlibabaaiarservicedetectAPIResponseModel
}

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

ailab AR图像检索

type AlibabaaiarservicedetectAPIResponseModel added in v1.3.1

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.3.1

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

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

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

func NewAlibabaaiartmjlappdetectRequest added in v1.3.1

func NewAlibabaaiartmjlappdetectRequest() *AlibabaaiartmjlappdetectAPIRequest

NewAlibabaaiartmjlappdetectRequest 初始化AlibabaaiartmjlappdetectAPIRequest对象

func (AlibabaaiartmjlappdetectAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaaiartmjlappdetectAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaaiartmjlappdetectAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaaiartmjlappdetectAPIRequest) GetCachedTargets added in v1.3.1

func (r AlibabaaiartmjlappdetectAPIRequest) GetCachedTargets() string

GetCachedTargets CachedTargets Getter

func (AlibabaaiartmjlappdetectAPIRequest) GetDeviceInfo added in v1.3.1

func (r AlibabaaiartmjlappdetectAPIRequest) GetDeviceInfo() string

GetDeviceInfo DeviceInfo Getter

func (AlibabaaiartmjlappdetectAPIRequest) GetImgData added in v1.3.1

GetImgData ImgData Getter

func (AlibabaaiartmjlappdetectAPIRequest) GetNum added in v1.3.1

GetNum Num Getter

func (AlibabaaiartmjlappdetectAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabaaiartmjlappdetectAPIRequest) GetVersion added in v1.3.1

GetVersion Version Getter

func (*AlibabaaiartmjlappdetectAPIRequest) SetCachedTargets added in v1.3.1

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

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

func (*AlibabaaiartmjlappdetectAPIRequest) SetDeviceInfo added in v1.3.1

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

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

func (*AlibabaaiartmjlappdetectAPIRequest) SetImgData added in v1.3.1

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

SetImgData is ImgData Setter 原始图像数据

func (*AlibabaaiartmjlappdetectAPIRequest) SetNum added in v1.3.1

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

func (*AlibabaaiartmjlappdetectAPIRequest) SetVersion added in v1.3.1

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

SetVersion is Version Setter 版本,默认1.0

type AlibabaaiartmjlappdetectAPIResponse added in v1.3.1

type AlibabaaiartmjlappdetectAPIResponse struct {
	model.CommonResponse
	AlibabaaiartmjlappdetectAPIResponseModel
}

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

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

type AlibabaaiartmjlappdetectAPIResponseModel added in v1.3.1

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