aiar

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

AILAB图像算法API model

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

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetCachedTargets added in v1.2.0

func (r AlibabaAiArOpenPlatformDetectAPIRequest) GetCachedTargets() string

Get CachedTargets Getter

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetDeviceInfo added in v1.2.0

Get DeviceInfo Getter

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetImgData added in v1.2.0

Get ImgData Getter

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetNum added in v1.2.0

Get Num Getter

func (AlibabaAiArOpenPlatformDetectAPIRequest) GetVersion added in v1.2.0

Get Version Getter

func (*AlibabaAiArOpenPlatformDetectAPIRequest) SetCachedTargets added in v1.2.0

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

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

func (*AlibabaAiArOpenPlatformDetectAPIRequest) SetDeviceInfo added in v1.2.0

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

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

func (*AlibabaAiArOpenPlatformDetectAPIRequest) SetImgData added in v1.2.0

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

Set is ImgData Setter 原始图像数据

func (*AlibabaAiArOpenPlatformDetectAPIRequest) SetNum added in v1.2.0

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

func (*AlibabaAiArOpenPlatformDetectAPIRequest) SetVersion added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAiArServiceDetectAPIRequest) GetCachedTargets added in v1.2.0

func (r AlibabaAiArServiceDetectAPIRequest) GetCachedTargets() string

Get CachedTargets Getter

func (AlibabaAiArServiceDetectAPIRequest) GetDeviceInfo added in v1.2.0

func (r AlibabaAiArServiceDetectAPIRequest) GetDeviceInfo() string

Get DeviceInfo Getter

func (AlibabaAiArServiceDetectAPIRequest) GetImgData added in v1.2.0

Get ImgData Getter

func (AlibabaAiArServiceDetectAPIRequest) GetNum added in v1.2.0

Get Num Getter

func (AlibabaAiArServiceDetectAPIRequest) GetVersion added in v1.2.0

Get Version Getter

func (*AlibabaAiArServiceDetectAPIRequest) SetCachedTargets added in v1.2.0

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

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

func (*AlibabaAiArServiceDetectAPIRequest) SetDeviceInfo added in v1.2.0

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

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

func (*AlibabaAiArServiceDetectAPIRequest) SetImgData added in v1.2.0

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

Set is ImgData Setter 原始图像数据

func (*AlibabaAiArServiceDetectAPIRequest) SetNum added in v1.2.0

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

func (*AlibabaAiArServiceDetectAPIRequest) SetVersion added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAiArTmjlAppDetectAPIRequest) GetCachedTargets added in v1.2.0

func (r AlibabaAiArTmjlAppDetectAPIRequest) GetCachedTargets() string

Get CachedTargets Getter

func (AlibabaAiArTmjlAppDetectAPIRequest) GetDeviceInfo added in v1.2.0

func (r AlibabaAiArTmjlAppDetectAPIRequest) GetDeviceInfo() string

Get DeviceInfo Getter

func (AlibabaAiArTmjlAppDetectAPIRequest) GetImgData added in v1.2.0

Get ImgData Getter

func (AlibabaAiArTmjlAppDetectAPIRequest) GetNum added in v1.2.0

Get Num Getter

func (AlibabaAiArTmjlAppDetectAPIRequest) GetVersion added in v1.2.0

Get Version Getter

func (*AlibabaAiArTmjlAppDetectAPIRequest) SetCachedTargets added in v1.2.0

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

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

func (*AlibabaAiArTmjlAppDetectAPIRequest) SetDeviceInfo added in v1.2.0

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

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

func (*AlibabaAiArTmjlAppDetectAPIRequest) SetImgData added in v1.2.0

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

Set is ImgData Setter 原始图像数据

func (*AlibabaAiArTmjlAppDetectAPIRequest) SetNum added in v1.2.0

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

func (*AlibabaAiArTmjlAppDetectAPIRequest) SetVersion added in v1.2.0

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

Set 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