Documentation ¶
Overview ¶
Package viapi 包含视觉开放API(viapi)相关结构体
Index ¶
- func ReleaseAliyunViapiFacebodyComparefaceAPIRequest(v *AliyunViapiFacebodyComparefaceAPIRequest)
- func ReleaseAliyunViapiFacebodyComparefaceAPIResponse(v *AliyunViapiFacebodyComparefaceAPIResponse)
- func ReleaseAliyunViapiFacebodyComparefaceData(v *AliyunViapiFacebodyComparefaceData)
- func ReleaseAliyunViapiFacebodyDetectfaceAPIRequest(v *AliyunViapiFacebodyDetectfaceAPIRequest)
- func ReleaseAliyunViapiFacebodyDetectfaceAPIResponse(v *AliyunViapiFacebodyDetectfaceAPIResponse)
- func ReleaseAliyunViapiFacebodyDetectfaceData(v *AliyunViapiFacebodyDetectfaceData)
- func ReleaseAliyunViapiFacebodyRecognizefaceAPIRequest(v *AliyunViapiFacebodyRecognizefaceAPIRequest)
- func ReleaseAliyunViapiFacebodyRecognizefaceAPIResponse(v *AliyunViapiFacebodyRecognizefaceAPIResponse)
- func ReleaseAliyunViapiFacebodyRecognizefaceData(v *AliyunViapiFacebodyRecognizefaceData)
- func ReleaseAliyunViapiGoodstechClassifygoodsAPIRequest(v *AliyunViapiGoodstechClassifygoodsAPIRequest)
- func ReleaseAliyunViapiGoodstechClassifygoodsAPIResponse(v *AliyunViapiGoodstechClassifygoodsAPIResponse)
- func ReleaseAliyunViapiGoodstechClassifygoodsData(v *AliyunViapiGoodstechClassifygoodsData)
- func ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest(v *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest)
- func ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse(v *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse)
- func ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeData(v *AliyunViapiGoodstechRecognizeFurnitureAttributeData)
- func ReleaseAliyunViapiGoodstechRecognizeFurniturespuAPIRequest(v *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest)
- func ReleaseAliyunViapiGoodstechRecognizeFurniturespuAPIResponse(v *AliyunViapiGoodstechRecognizeFurniturespuAPIResponse)
- func ReleaseAliyunViapiGoodstechRecognizeFurniturespuData(v *AliyunViapiGoodstechRecognizeFurniturespuData)
- func ReleaseAliyunViapiImageauditScanimageAPIRequest(v *AliyunViapiImageauditScanimageAPIRequest)
- func ReleaseAliyunViapiImageauditScanimageAPIResponse(v *AliyunViapiImageauditScanimageAPIResponse)
- func ReleaseAliyunViapiImageauditScanimageData(v *AliyunViapiImageauditScanimageData)
- func ReleaseAliyunViapiImageauditScanimageResult(v *AliyunViapiImageauditScanimageResult)
- func ReleaseAliyunViapiImageauditScantextAPIRequest(v *AliyunViapiImageauditScantextAPIRequest)
- func ReleaseAliyunViapiImageauditScantextAPIResponse(v *AliyunViapiImageauditScantextAPIResponse)
- func ReleaseAliyunViapiImageauditScantextData(v *AliyunViapiImageauditScantextData)
- func ReleaseAliyunViapiImageauditScantextDetail(v *AliyunViapiImageauditScantextDetail)
- func ReleaseAliyunViapiImageauditScantextResult(v *AliyunViapiImageauditScantextResult)
- func ReleaseAliyunViapiImagesegSegmentCommonimageAPIRequest(v *AliyunViapiImagesegSegmentCommonimageAPIRequest)
- func ReleaseAliyunViapiImagesegSegmentCommonimageAPIResponse(v *AliyunViapiImagesegSegmentCommonimageAPIResponse)
- func ReleaseAliyunViapiImagesegSegmentCommonimageData(v *AliyunViapiImagesegSegmentCommonimageData)
- func ReleaseAliyunViapiImagesegSegmentcomodityAPIRequest(v *AliyunViapiImagesegSegmentcomodityAPIRequest)
- func ReleaseAliyunViapiImagesegSegmentcomodityAPIResponse(v *AliyunViapiImagesegSegmentcomodityAPIResponse)
- func ReleaseAliyunViapiImagesegSegmentcomodityData(v *AliyunViapiImagesegSegmentcomodityData)
- func ReleaseAliyunViapiImagesegSegmenthdbodyAPIRequest(v *AliyunViapiImagesegSegmenthdbodyAPIRequest)
- func ReleaseAliyunViapiImagesegSegmenthdbodyAPIResponse(v *AliyunViapiImagesegSegmenthdbodyAPIResponse)
- func ReleaseAliyunViapiImagesegSegmenthdbodyData(v *AliyunViapiImagesegSegmenthdbodyData)
- func ReleaseAliyunViapiImagesegSegmentheadAPIRequest(v *AliyunViapiImagesegSegmentheadAPIRequest)
- func ReleaseAliyunViapiImagesegSegmentheadAPIResponse(v *AliyunViapiImagesegSegmentheadAPIResponse)
- func ReleaseAliyunViapiImagesegSegmentheadData(v *AliyunViapiImagesegSegmentheadData)
- func ReleaseAliyunViapiObjectdetDetectobjectAPIRequest(v *AliyunViapiObjectdetDetectobjectAPIRequest)
- func ReleaseAliyunViapiObjectdetDetectobjectAPIResponse(v *AliyunViapiObjectdetDetectobjectAPIResponse)
- func ReleaseAliyunViapiObjectdetDetectobjectData(v *AliyunViapiObjectdetDetectobjectData)
- func ReleaseAliyunViapiOcrCharacterAPIRequest(v *AliyunViapiOcrCharacterAPIRequest)
- func ReleaseAliyunViapiOcrCharacterAPIResponse(v *AliyunViapiOcrCharacterAPIResponse)
- func ReleaseAliyunViapiOcrCharacterData(v *AliyunViapiOcrCharacterData)
- func ReleaseAliyunViapiOcrCharacterResult(v *AliyunViapiOcrCharacterResult)
- func ReleaseCategory(v *Category)
- func ReleaseContext(v *Context)
- func ReleaseElement(v *Element)
- func ReleaseElements(v *Elements)
- func ReleaseFace(v *Face)
- func ReleaseFrame(v *Frame)
- func ReleaseHintWordsInfo(v *HintWordsInfo)
- func ReleaseLabel(v *Label)
- func ReleaseLogoData(v *LogoData)
- func ReleaseProgramCodeData(v *ProgramCodeData)
- func ReleaseSfaceData(v *SfaceData)
- func ReleaseSubResult(v *SubResult)
- func ReleaseTask(v *Task)
- func ReleaseTextRectangle(v *TextRectangle)
- type AliyunViapiFacebodyComparefaceAPIRequest
- func (r AliyunViapiFacebodyComparefaceAPIRequest) GetApiMethodName() string
- func (r AliyunViapiFacebodyComparefaceAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiFacebodyComparefaceAPIRequest) GetImageType() int64
- func (r AliyunViapiFacebodyComparefaceAPIRequest) GetImageUrlA() string
- func (r AliyunViapiFacebodyComparefaceAPIRequest) GetImageUrlB() string
- func (r AliyunViapiFacebodyComparefaceAPIRequest) GetRawParams() model.Params
- func (r *AliyunViapiFacebodyComparefaceAPIRequest) Reset()
- func (r *AliyunViapiFacebodyComparefaceAPIRequest) SetImageType(_imageType int64) error
- func (r *AliyunViapiFacebodyComparefaceAPIRequest) SetImageUrlA(_imageUrlA string) error
- func (r *AliyunViapiFacebodyComparefaceAPIRequest) SetImageUrlB(_imageUrlB string) error
- type AliyunViapiFacebodyComparefaceAPIResponse
- type AliyunViapiFacebodyComparefaceAPIResponseModel
- type AliyunViapiFacebodyComparefaceData
- type AliyunViapiFacebodyDetectfaceAPIRequest
- func (r AliyunViapiFacebodyDetectfaceAPIRequest) GetApiMethodName() string
- func (r AliyunViapiFacebodyDetectfaceAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiFacebodyDetectfaceAPIRequest) GetImageType() int64
- func (r AliyunViapiFacebodyDetectfaceAPIRequest) GetImageUrl() string
- func (r AliyunViapiFacebodyDetectfaceAPIRequest) GetRawParams() model.Params
- func (r *AliyunViapiFacebodyDetectfaceAPIRequest) Reset()
- func (r *AliyunViapiFacebodyDetectfaceAPIRequest) SetImageType(_imageType int64) error
- func (r *AliyunViapiFacebodyDetectfaceAPIRequest) SetImageUrl(_imageUrl string) error
- type AliyunViapiFacebodyDetectfaceAPIResponse
- type AliyunViapiFacebodyDetectfaceAPIResponseModel
- type AliyunViapiFacebodyDetectfaceData
- type AliyunViapiFacebodyRecognizefaceAPIRequest
- func (r AliyunViapiFacebodyRecognizefaceAPIRequest) GetApiMethodName() string
- func (r AliyunViapiFacebodyRecognizefaceAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiFacebodyRecognizefaceAPIRequest) GetImageType() int64
- func (r AliyunViapiFacebodyRecognizefaceAPIRequest) GetImageUrl() string
- func (r AliyunViapiFacebodyRecognizefaceAPIRequest) GetRawParams() model.Params
- func (r *AliyunViapiFacebodyRecognizefaceAPIRequest) Reset()
- func (r *AliyunViapiFacebodyRecognizefaceAPIRequest) SetImageType(_imageType int64) error
- func (r *AliyunViapiFacebodyRecognizefaceAPIRequest) SetImageUrl(_imageUrl string) error
- type AliyunViapiFacebodyRecognizefaceAPIResponse
- type AliyunViapiFacebodyRecognizefaceAPIResponseModel
- type AliyunViapiFacebodyRecognizefaceData
- type AliyunViapiGoodstechClassifygoodsAPIRequest
- func (r AliyunViapiGoodstechClassifygoodsAPIRequest) GetApiMethodName() string
- func (r AliyunViapiGoodstechClassifygoodsAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiGoodstechClassifygoodsAPIRequest) GetImageUrl() string
- func (r AliyunViapiGoodstechClassifygoodsAPIRequest) GetRawParams() model.Params
- func (r *AliyunViapiGoodstechClassifygoodsAPIRequest) Reset()
- func (r *AliyunViapiGoodstechClassifygoodsAPIRequest) SetImageUrl(_imageUrl string) error
- type AliyunViapiGoodstechClassifygoodsAPIResponse
- type AliyunViapiGoodstechClassifygoodsAPIResponseModel
- type AliyunViapiGoodstechClassifygoodsData
- type AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest
- func (r AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetApiMethodName() string
- func (r AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetImageUrl() string
- func (r AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetRawParams() model.Params
- func (r *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) Reset()
- func (r *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) SetImageUrl(_imageUrl string) error
- type AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse
- type AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponseModel
- type AliyunViapiGoodstechRecognizeFurnitureAttributeData
- type AliyunViapiGoodstechRecognizeFurniturespuAPIRequest
- func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetApiMethodName() string
- func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetImageUrl() string
- func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetRawParams() model.Params
- func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetXLength() string
- func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetYLength() string
- func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetZLength() string
- func (r *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) Reset()
- func (r *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetImageUrl(_imageUrl string) error
- func (r *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetXLength(_xLength string) error
- func (r *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetYLength(_yLength string) error
- func (r *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetZLength(_zLength string) error
- type AliyunViapiGoodstechRecognizeFurniturespuAPIResponse
- type AliyunViapiGoodstechRecognizeFurniturespuAPIResponseModel
- type AliyunViapiGoodstechRecognizeFurniturespuData
- type AliyunViapiImageauditScanimageAPIRequest
- func (r AliyunViapiImageauditScanimageAPIRequest) GetApiMethodName() string
- func (r AliyunViapiImageauditScanimageAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiImageauditScanimageAPIRequest) GetRawParams() model.Params
- func (r AliyunViapiImageauditScanimageAPIRequest) GetScenes() []string
- func (r AliyunViapiImageauditScanimageAPIRequest) GetTasks() []Task
- func (r *AliyunViapiImageauditScanimageAPIRequest) Reset()
- func (r *AliyunViapiImageauditScanimageAPIRequest) SetScenes(_scenes []string) error
- func (r *AliyunViapiImageauditScanimageAPIRequest) SetTasks(_tasks []Task) error
- type AliyunViapiImageauditScanimageAPIResponse
- type AliyunViapiImageauditScanimageAPIResponseModel
- type AliyunViapiImageauditScanimageData
- type AliyunViapiImageauditScanimageResult
- type AliyunViapiImageauditScantextAPIRequest
- func (r AliyunViapiImageauditScantextAPIRequest) GetApiMethodName() string
- func (r AliyunViapiImageauditScantextAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiImageauditScantextAPIRequest) GetLabels() []Label
- func (r AliyunViapiImageauditScantextAPIRequest) GetRawParams() model.Params
- func (r AliyunViapiImageauditScantextAPIRequest) GetTasks() []Task
- func (r *AliyunViapiImageauditScantextAPIRequest) Reset()
- func (r *AliyunViapiImageauditScantextAPIRequest) SetLabels(_labels []Label) error
- func (r *AliyunViapiImageauditScantextAPIRequest) SetTasks(_tasks []Task) error
- type AliyunViapiImageauditScantextAPIResponse
- type AliyunViapiImageauditScantextAPIResponseModel
- type AliyunViapiImageauditScantextData
- type AliyunViapiImageauditScantextDetail
- type AliyunViapiImageauditScantextResult
- type AliyunViapiImagesegSegmentCommonimageAPIRequest
- func (r AliyunViapiImagesegSegmentCommonimageAPIRequest) GetApiMethodName() string
- func (r AliyunViapiImagesegSegmentCommonimageAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiImagesegSegmentCommonimageAPIRequest) GetImageUrl() string
- func (r AliyunViapiImagesegSegmentCommonimageAPIRequest) GetRawParams() model.Params
- func (r *AliyunViapiImagesegSegmentCommonimageAPIRequest) Reset()
- func (r *AliyunViapiImagesegSegmentCommonimageAPIRequest) SetImageUrl(_imageUrl string) error
- type AliyunViapiImagesegSegmentCommonimageAPIResponse
- type AliyunViapiImagesegSegmentCommonimageAPIResponseModel
- type AliyunViapiImagesegSegmentCommonimageData
- type AliyunViapiImagesegSegmentcomodityAPIRequest
- func (r AliyunViapiImagesegSegmentcomodityAPIRequest) GetApiMethodName() string
- func (r AliyunViapiImagesegSegmentcomodityAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiImagesegSegmentcomodityAPIRequest) GetImageUrl() string
- func (r AliyunViapiImagesegSegmentcomodityAPIRequest) GetRawParams() model.Params
- func (r *AliyunViapiImagesegSegmentcomodityAPIRequest) Reset()
- func (r *AliyunViapiImagesegSegmentcomodityAPIRequest) SetImageUrl(_imageUrl string) error
- type AliyunViapiImagesegSegmentcomodityAPIResponse
- type AliyunViapiImagesegSegmentcomodityAPIResponseModel
- type AliyunViapiImagesegSegmentcomodityData
- type AliyunViapiImagesegSegmenthdbodyAPIRequest
- func (r AliyunViapiImagesegSegmenthdbodyAPIRequest) GetApiMethodName() string
- func (r AliyunViapiImagesegSegmenthdbodyAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiImagesegSegmenthdbodyAPIRequest) GetImageUrl() string
- func (r AliyunViapiImagesegSegmenthdbodyAPIRequest) GetRawParams() model.Params
- func (r *AliyunViapiImagesegSegmenthdbodyAPIRequest) Reset()
- func (r *AliyunViapiImagesegSegmenthdbodyAPIRequest) SetImageUrl(_imageUrl string) error
- type AliyunViapiImagesegSegmenthdbodyAPIResponse
- type AliyunViapiImagesegSegmenthdbodyAPIResponseModel
- type AliyunViapiImagesegSegmenthdbodyData
- type AliyunViapiImagesegSegmentheadAPIRequest
- func (r AliyunViapiImagesegSegmentheadAPIRequest) GetApiMethodName() string
- func (r AliyunViapiImagesegSegmentheadAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiImagesegSegmentheadAPIRequest) GetImageUrl() string
- func (r AliyunViapiImagesegSegmentheadAPIRequest) GetRawParams() model.Params
- func (r *AliyunViapiImagesegSegmentheadAPIRequest) Reset()
- func (r *AliyunViapiImagesegSegmentheadAPIRequest) SetImageUrl(_imageUrl string) error
- type AliyunViapiImagesegSegmentheadAPIResponse
- type AliyunViapiImagesegSegmentheadAPIResponseModel
- type AliyunViapiImagesegSegmentheadData
- type AliyunViapiObjectdetDetectobjectAPIRequest
- func (r AliyunViapiObjectdetDetectobjectAPIRequest) GetApiMethodName() string
- func (r AliyunViapiObjectdetDetectobjectAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiObjectdetDetectobjectAPIRequest) GetImageUrl() string
- func (r AliyunViapiObjectdetDetectobjectAPIRequest) GetRawParams() model.Params
- func (r *AliyunViapiObjectdetDetectobjectAPIRequest) Reset()
- func (r *AliyunViapiObjectdetDetectobjectAPIRequest) SetImageUrl(_imageUrl string) error
- type AliyunViapiObjectdetDetectobjectAPIResponse
- type AliyunViapiObjectdetDetectobjectAPIResponseModel
- type AliyunViapiObjectdetDetectobjectData
- type AliyunViapiOcrCharacterAPIRequest
- func (r AliyunViapiOcrCharacterAPIRequest) GetApiMethodName() string
- func (r AliyunViapiOcrCharacterAPIRequest) GetApiParams(params url.Values)
- func (r AliyunViapiOcrCharacterAPIRequest) GetImageType() int64
- func (r AliyunViapiOcrCharacterAPIRequest) GetImageUrl() string
- func (r AliyunViapiOcrCharacterAPIRequest) GetMinHeight() int64
- func (r AliyunViapiOcrCharacterAPIRequest) GetOutputProbability() bool
- func (r AliyunViapiOcrCharacterAPIRequest) GetRawParams() model.Params
- func (r *AliyunViapiOcrCharacterAPIRequest) Reset()
- func (r *AliyunViapiOcrCharacterAPIRequest) SetImageType(_imageType int64) error
- func (r *AliyunViapiOcrCharacterAPIRequest) SetImageUrl(_imageUrl string) error
- func (r *AliyunViapiOcrCharacterAPIRequest) SetMinHeight(_minHeight int64) error
- func (r *AliyunViapiOcrCharacterAPIRequest) SetOutputProbability(_outputProbability bool) error
- type AliyunViapiOcrCharacterAPIResponse
- type AliyunViapiOcrCharacterAPIResponseModel
- type AliyunViapiOcrCharacterData
- type AliyunViapiOcrCharacterResult
- type Category
- type Context
- type Element
- type Elements
- type Face
- type Frame
- type HintWordsInfo
- type Label
- type LogoData
- type ProgramCodeData
- type SfaceData
- type SubResult
- type Task
- type TextRectangle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseAliyunViapiFacebodyComparefaceAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiFacebodyComparefaceAPIRequest(v *AliyunViapiFacebodyComparefaceAPIRequest)
ReleaseAliyunViapiFacebodyComparefaceAPIRequest 将 AliyunViapiFacebodyComparefaceAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiFacebodyComparefaceAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiFacebodyComparefaceAPIResponse(v *AliyunViapiFacebodyComparefaceAPIResponse)
ReleaseAliyunViapiFacebodyComparefaceAPIResponse 将 AliyunViapiFacebodyComparefaceAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiFacebodyComparefaceData ¶ added in v1.3.4
func ReleaseAliyunViapiFacebodyComparefaceData(v *AliyunViapiFacebodyComparefaceData)
ReleaseAliyunViapiFacebodyComparefaceData 释放AliyunViapiFacebodyComparefaceData
func ReleaseAliyunViapiFacebodyDetectfaceAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiFacebodyDetectfaceAPIRequest(v *AliyunViapiFacebodyDetectfaceAPIRequest)
ReleaseAliyunViapiFacebodyDetectfaceAPIRequest 将 AliyunViapiFacebodyDetectfaceAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiFacebodyDetectfaceAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiFacebodyDetectfaceAPIResponse(v *AliyunViapiFacebodyDetectfaceAPIResponse)
ReleaseAliyunViapiFacebodyDetectfaceAPIResponse 将 AliyunViapiFacebodyDetectfaceAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiFacebodyDetectfaceData ¶ added in v1.3.4
func ReleaseAliyunViapiFacebodyDetectfaceData(v *AliyunViapiFacebodyDetectfaceData)
ReleaseAliyunViapiFacebodyDetectfaceData 释放AliyunViapiFacebodyDetectfaceData
func ReleaseAliyunViapiFacebodyRecognizefaceAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiFacebodyRecognizefaceAPIRequest(v *AliyunViapiFacebodyRecognizefaceAPIRequest)
ReleaseAliyunViapiFacebodyRecognizefaceAPIRequest 将 AliyunViapiFacebodyRecognizefaceAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiFacebodyRecognizefaceAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiFacebodyRecognizefaceAPIResponse(v *AliyunViapiFacebodyRecognizefaceAPIResponse)
ReleaseAliyunViapiFacebodyRecognizefaceAPIResponse 将 AliyunViapiFacebodyRecognizefaceAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiFacebodyRecognizefaceData ¶ added in v1.3.4
func ReleaseAliyunViapiFacebodyRecognizefaceData(v *AliyunViapiFacebodyRecognizefaceData)
ReleaseAliyunViapiFacebodyRecognizefaceData 释放AliyunViapiFacebodyRecognizefaceData
func ReleaseAliyunViapiGoodstechClassifygoodsAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiGoodstechClassifygoodsAPIRequest(v *AliyunViapiGoodstechClassifygoodsAPIRequest)
ReleaseAliyunViapiGoodstechClassifygoodsAPIRequest 将 AliyunViapiGoodstechClassifygoodsAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiGoodstechClassifygoodsAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiGoodstechClassifygoodsAPIResponse(v *AliyunViapiGoodstechClassifygoodsAPIResponse)
ReleaseAliyunViapiGoodstechClassifygoodsAPIResponse 将 AliyunViapiGoodstechClassifygoodsAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiGoodstechClassifygoodsData ¶ added in v1.3.4
func ReleaseAliyunViapiGoodstechClassifygoodsData(v *AliyunViapiGoodstechClassifygoodsData)
ReleaseAliyunViapiGoodstechClassifygoodsData 释放AliyunViapiGoodstechClassifygoodsData
func ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest(v *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest)
ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest 将 AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse(v *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse)
ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse 将 AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeData ¶ added in v1.3.4
func ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeData(v *AliyunViapiGoodstechRecognizeFurnitureAttributeData)
ReleaseAliyunViapiGoodstechRecognizeFurnitureAttributeData 释放AliyunViapiGoodstechRecognizeFurnitureAttributeData
func ReleaseAliyunViapiGoodstechRecognizeFurniturespuAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiGoodstechRecognizeFurniturespuAPIRequest(v *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest)
ReleaseAliyunViapiGoodstechRecognizeFurniturespuAPIRequest 将 AliyunViapiGoodstechRecognizeFurniturespuAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiGoodstechRecognizeFurniturespuAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiGoodstechRecognizeFurniturespuAPIResponse(v *AliyunViapiGoodstechRecognizeFurniturespuAPIResponse)
ReleaseAliyunViapiGoodstechRecognizeFurniturespuAPIResponse 将 AliyunViapiGoodstechRecognizeFurniturespuAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiGoodstechRecognizeFurniturespuData ¶ added in v1.3.4
func ReleaseAliyunViapiGoodstechRecognizeFurniturespuData(v *AliyunViapiGoodstechRecognizeFurniturespuData)
ReleaseAliyunViapiGoodstechRecognizeFurniturespuData 释放AliyunViapiGoodstechRecognizeFurniturespuData
func ReleaseAliyunViapiImageauditScanimageAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiImageauditScanimageAPIRequest(v *AliyunViapiImageauditScanimageAPIRequest)
ReleaseAliyunViapiImageauditScanimageAPIRequest 将 AliyunViapiImageauditScanimageAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiImageauditScanimageAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiImageauditScanimageAPIResponse(v *AliyunViapiImageauditScanimageAPIResponse)
ReleaseAliyunViapiImageauditScanimageAPIResponse 将 AliyunViapiImageauditScanimageAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiImageauditScanimageData ¶ added in v1.3.4
func ReleaseAliyunViapiImageauditScanimageData(v *AliyunViapiImageauditScanimageData)
ReleaseAliyunViapiImageauditScanimageData 释放AliyunViapiImageauditScanimageData
func ReleaseAliyunViapiImageauditScanimageResult ¶ added in v1.3.4
func ReleaseAliyunViapiImageauditScanimageResult(v *AliyunViapiImageauditScanimageResult)
ReleaseAliyunViapiImageauditScanimageResult 释放AliyunViapiImageauditScanimageResult
func ReleaseAliyunViapiImageauditScantextAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiImageauditScantextAPIRequest(v *AliyunViapiImageauditScantextAPIRequest)
ReleaseAliyunViapiImageauditScantextAPIRequest 将 AliyunViapiImageauditScantextAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiImageauditScantextAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiImageauditScantextAPIResponse(v *AliyunViapiImageauditScantextAPIResponse)
ReleaseAliyunViapiImageauditScantextAPIResponse 将 AliyunViapiImageauditScantextAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiImageauditScantextData ¶ added in v1.3.4
func ReleaseAliyunViapiImageauditScantextData(v *AliyunViapiImageauditScantextData)
ReleaseAliyunViapiImageauditScantextData 释放AliyunViapiImageauditScantextData
func ReleaseAliyunViapiImageauditScantextDetail ¶ added in v1.3.4
func ReleaseAliyunViapiImageauditScantextDetail(v *AliyunViapiImageauditScantextDetail)
ReleaseAliyunViapiImageauditScantextDetail 释放AliyunViapiImageauditScantextDetail
func ReleaseAliyunViapiImageauditScantextResult ¶ added in v1.3.4
func ReleaseAliyunViapiImageauditScantextResult(v *AliyunViapiImageauditScantextResult)
ReleaseAliyunViapiImageauditScantextResult 释放AliyunViapiImageauditScantextResult
func ReleaseAliyunViapiImagesegSegmentCommonimageAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmentCommonimageAPIRequest(v *AliyunViapiImagesegSegmentCommonimageAPIRequest)
ReleaseAliyunViapiImagesegSegmentCommonimageAPIRequest 将 AliyunViapiImagesegSegmentCommonimageAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiImagesegSegmentCommonimageAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmentCommonimageAPIResponse(v *AliyunViapiImagesegSegmentCommonimageAPIResponse)
ReleaseAliyunViapiImagesegSegmentCommonimageAPIResponse 将 AliyunViapiImagesegSegmentCommonimageAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiImagesegSegmentCommonimageData ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmentCommonimageData(v *AliyunViapiImagesegSegmentCommonimageData)
ReleaseAliyunViapiImagesegSegmentCommonimageData 释放AliyunViapiImagesegSegmentCommonimageData
func ReleaseAliyunViapiImagesegSegmentcomodityAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmentcomodityAPIRequest(v *AliyunViapiImagesegSegmentcomodityAPIRequest)
ReleaseAliyunViapiImagesegSegmentcomodityAPIRequest 将 AliyunViapiImagesegSegmentcomodityAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiImagesegSegmentcomodityAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmentcomodityAPIResponse(v *AliyunViapiImagesegSegmentcomodityAPIResponse)
ReleaseAliyunViapiImagesegSegmentcomodityAPIResponse 将 AliyunViapiImagesegSegmentcomodityAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiImagesegSegmentcomodityData ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmentcomodityData(v *AliyunViapiImagesegSegmentcomodityData)
ReleaseAliyunViapiImagesegSegmentcomodityData 释放AliyunViapiImagesegSegmentcomodityData
func ReleaseAliyunViapiImagesegSegmenthdbodyAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmenthdbodyAPIRequest(v *AliyunViapiImagesegSegmenthdbodyAPIRequest)
ReleaseAliyunViapiImagesegSegmenthdbodyAPIRequest 将 AliyunViapiImagesegSegmenthdbodyAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiImagesegSegmenthdbodyAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmenthdbodyAPIResponse(v *AliyunViapiImagesegSegmenthdbodyAPIResponse)
ReleaseAliyunViapiImagesegSegmenthdbodyAPIResponse 将 AliyunViapiImagesegSegmenthdbodyAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiImagesegSegmenthdbodyData ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmenthdbodyData(v *AliyunViapiImagesegSegmenthdbodyData)
ReleaseAliyunViapiImagesegSegmenthdbodyData 释放AliyunViapiImagesegSegmenthdbodyData
func ReleaseAliyunViapiImagesegSegmentheadAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmentheadAPIRequest(v *AliyunViapiImagesegSegmentheadAPIRequest)
ReleaseAliyunViapiImagesegSegmentheadAPIRequest 将 AliyunViapiImagesegSegmentheadAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiImagesegSegmentheadAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmentheadAPIResponse(v *AliyunViapiImagesegSegmentheadAPIResponse)
ReleaseAliyunViapiImagesegSegmentheadAPIResponse 将 AliyunViapiImagesegSegmentheadAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiImagesegSegmentheadData ¶ added in v1.3.4
func ReleaseAliyunViapiImagesegSegmentheadData(v *AliyunViapiImagesegSegmentheadData)
ReleaseAliyunViapiImagesegSegmentheadData 释放AliyunViapiImagesegSegmentheadData
func ReleaseAliyunViapiObjectdetDetectobjectAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiObjectdetDetectobjectAPIRequest(v *AliyunViapiObjectdetDetectobjectAPIRequest)
ReleaseAliyunViapiObjectdetDetectobjectAPIRequest 将 AliyunViapiObjectdetDetectobjectAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiObjectdetDetectobjectAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiObjectdetDetectobjectAPIResponse(v *AliyunViapiObjectdetDetectobjectAPIResponse)
ReleaseAliyunViapiObjectdetDetectobjectAPIResponse 将 AliyunViapiObjectdetDetectobjectAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiObjectdetDetectobjectData ¶ added in v1.3.4
func ReleaseAliyunViapiObjectdetDetectobjectData(v *AliyunViapiObjectdetDetectobjectData)
ReleaseAliyunViapiObjectdetDetectobjectData 释放AliyunViapiObjectdetDetectobjectData
func ReleaseAliyunViapiOcrCharacterAPIRequest ¶ added in v1.3.4
func ReleaseAliyunViapiOcrCharacterAPIRequest(v *AliyunViapiOcrCharacterAPIRequest)
ReleaseAliyunViapiOcrCharacterAPIRequest 将 AliyunViapiOcrCharacterAPIRequest 放入 sync.Pool
func ReleaseAliyunViapiOcrCharacterAPIResponse ¶ added in v1.3.4
func ReleaseAliyunViapiOcrCharacterAPIResponse(v *AliyunViapiOcrCharacterAPIResponse)
ReleaseAliyunViapiOcrCharacterAPIResponse 将 AliyunViapiOcrCharacterAPIResponse 保存到 sync.Pool
func ReleaseAliyunViapiOcrCharacterData ¶ added in v1.3.4
func ReleaseAliyunViapiOcrCharacterData(v *AliyunViapiOcrCharacterData)
ReleaseAliyunViapiOcrCharacterData 释放AliyunViapiOcrCharacterData
func ReleaseAliyunViapiOcrCharacterResult ¶ added in v1.3.4
func ReleaseAliyunViapiOcrCharacterResult(v *AliyunViapiOcrCharacterResult)
ReleaseAliyunViapiOcrCharacterResult 释放AliyunViapiOcrCharacterResult
func ReleaseHintWordsInfo ¶ added in v1.3.4
func ReleaseHintWordsInfo(v *HintWordsInfo)
ReleaseHintWordsInfo 释放HintWordsInfo
func ReleaseProgramCodeData ¶ added in v1.3.4
func ReleaseProgramCodeData(v *ProgramCodeData)
ReleaseProgramCodeData 释放ProgramCodeData
func ReleaseSfaceData ¶ added in v1.3.4
func ReleaseSfaceData(v *SfaceData)
ReleaseSfaceData 释放SfaceData
func ReleaseSubResult ¶ added in v1.3.4
func ReleaseSubResult(v *SubResult)
ReleaseSubResult 释放SubResult
func ReleaseTextRectangle ¶ added in v1.3.4
func ReleaseTextRectangle(v *TextRectangle)
ReleaseTextRectangle 释放TextRectangle
Types ¶
type AliyunViapiFacebodyComparefaceAPIRequest ¶ added in v1.2.0
type AliyunViapiFacebodyComparefaceAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiFacebodyComparefaceAPIRequest 人脸比对1:1 API请求 aliyun.viapi.facebody.compareface
基于输入的两张图片,人脸比对服务可检测两张图片中的人脸,并挑选两张图片的最大人脸进行比较,判断是否是同一人;人脸比对服务还返回了这两个人脸的矩形框、比对的置信度,以及不同误识率的置信度阈值。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiFacebodyComparefaceAPIRequest ¶ added in v1.3.4
func GetAliyunViapiFacebodyComparefaceAPIRequest() *AliyunViapiFacebodyComparefaceAPIRequest
GetAliyunViapiFacebodyComparefaceRequest 从 sync.Pool 获取 AliyunViapiFacebodyComparefaceAPIRequest
func NewAliyunViapiFacebodyComparefaceRequest ¶
func NewAliyunViapiFacebodyComparefaceRequest() *AliyunViapiFacebodyComparefaceAPIRequest
NewAliyunViapiFacebodyComparefaceRequest 初始化AliyunViapiFacebodyComparefaceAPIRequest对象
func (AliyunViapiFacebodyComparefaceAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiFacebodyComparefaceAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiFacebodyComparefaceAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiFacebodyComparefaceAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiFacebodyComparefaceAPIRequest) GetImageType ¶ added in v1.2.0
func (r AliyunViapiFacebodyComparefaceAPIRequest) GetImageType() int64
GetImageType ImageType Getter
func (AliyunViapiFacebodyComparefaceAPIRequest) GetImageUrlA ¶ added in v1.2.0
func (r AliyunViapiFacebodyComparefaceAPIRequest) GetImageUrlA() string
GetImageUrlA ImageUrlA Getter
func (AliyunViapiFacebodyComparefaceAPIRequest) GetImageUrlB ¶ added in v1.2.0
func (r AliyunViapiFacebodyComparefaceAPIRequest) GetImageUrlB() string
GetImageUrlB ImageUrlB Getter
func (AliyunViapiFacebodyComparefaceAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiFacebodyComparefaceAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AliyunViapiFacebodyComparefaceAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiFacebodyComparefaceAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiFacebodyComparefaceAPIRequest) SetImageType ¶ added in v1.2.0
func (r *AliyunViapiFacebodyComparefaceAPIRequest) SetImageType(_imageType int64) error
SetImageType is ImageType Setter 图片类型, ,取值范围[0:图片URL, 1:图片Base64数据]
func (*AliyunViapiFacebodyComparefaceAPIRequest) SetImageUrlA ¶ added in v1.2.0
func (r *AliyunViapiFacebodyComparefaceAPIRequest) SetImageUrlA(_imageUrlA string) error
SetImageUrlA is ImageUrlA Setter 图片url地址(http/https)
func (*AliyunViapiFacebodyComparefaceAPIRequest) SetImageUrlB ¶ added in v1.2.0
func (r *AliyunViapiFacebodyComparefaceAPIRequest) SetImageUrlB(_imageUrlB string) error
SetImageUrlB is ImageUrlB Setter 图片url地址(http/https)
type AliyunViapiFacebodyComparefaceAPIResponse ¶
type AliyunViapiFacebodyComparefaceAPIResponse struct { model.CommonResponse AliyunViapiFacebodyComparefaceAPIResponseModel }
AliyunViapiFacebodyComparefaceAPIResponse 人脸比对1:1 API返回值 aliyun.viapi.facebody.compareface
基于输入的两张图片,人脸比对服务可检测两张图片中的人脸,并挑选两张图片的最大人脸进行比较,判断是否是同一人;人脸比对服务还返回了这两个人脸的矩形框、比对的置信度,以及不同误识率的置信度阈值。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiFacebodyComparefaceAPIResponse ¶ added in v1.3.4
func GetAliyunViapiFacebodyComparefaceAPIResponse() *AliyunViapiFacebodyComparefaceAPIResponse
GetAliyunViapiFacebodyComparefaceAPIResponse 从 sync.Pool 获取 AliyunViapiFacebodyComparefaceAPIResponse
func (*AliyunViapiFacebodyComparefaceAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiFacebodyComparefaceAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiFacebodyComparefaceAPIResponseModel ¶ added in v1.2.0
type AliyunViapiFacebodyComparefaceAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_facebody_compareface_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiFacebodyComparefaceData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiFacebodyComparefaceAPIResponseModel is 人脸比对1:1 成功返回结果
func (*AliyunViapiFacebodyComparefaceAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiFacebodyComparefaceAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiFacebodyComparefaceData ¶
type AliyunViapiFacebodyComparefaceData struct { // 误识率在10e-3,10e-4,10e-5时对应的置信度分类阈值 Thresholds []int64 `json:"thresholds,omitempty" xml:"thresholds>int64,omitempty"` // 图片1最大人脸矩形框(left, top, width, height),如图片中没有人脸,返回矩形框数值均为0 RectAList []int64 `json:"rect_a_list,omitempty" xml:"rect_a_list>int64,omitempty"` // 图片2最大人脸矩形框(left, top, width, height),如图片中没有人脸,返回矩形框数值均为0 RectBList []int64 `json:"rect_b_list,omitempty" xml:"rect_b_list>int64,omitempty"` // 两张图片中最大人脸属于同一个人的置信度:0-100,如某张图片中没有人脸,返回置信度为0 Confidence string `json:"confidence,omitempty" xml:"confidence,omitempty"` }
AliyunViapiFacebodyComparefaceData 结构体
func GetAliyunViapiFacebodyComparefaceData ¶ added in v1.3.4
func GetAliyunViapiFacebodyComparefaceData() *AliyunViapiFacebodyComparefaceData
GetAliyunViapiFacebodyComparefaceData() 从对象池中获取AliyunViapiFacebodyComparefaceData
type AliyunViapiFacebodyDetectfaceAPIRequest ¶ added in v1.2.0
type AliyunViapiFacebodyDetectfaceAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiFacebodyDetectfaceAPIRequest 人脸检测定位 API请求 aliyun.viapi.facebody.detectface
输入图片之后,在人脸检测定位返回结果的基础上,识别各个检测人脸的四种属性,返回性别(男/女)、年龄、表情(笑/不笑)、眼镜(戴/不戴);并可返回人脸的1024维深度学习特征、(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiFacebodyDetectfaceAPIRequest ¶ added in v1.3.4
func GetAliyunViapiFacebodyDetectfaceAPIRequest() *AliyunViapiFacebodyDetectfaceAPIRequest
GetAliyunViapiFacebodyDetectfaceRequest 从 sync.Pool 获取 AliyunViapiFacebodyDetectfaceAPIRequest
func NewAliyunViapiFacebodyDetectfaceRequest ¶
func NewAliyunViapiFacebodyDetectfaceRequest() *AliyunViapiFacebodyDetectfaceAPIRequest
NewAliyunViapiFacebodyDetectfaceRequest 初始化AliyunViapiFacebodyDetectfaceAPIRequest对象
func (AliyunViapiFacebodyDetectfaceAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiFacebodyDetectfaceAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiFacebodyDetectfaceAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiFacebodyDetectfaceAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiFacebodyDetectfaceAPIRequest) GetImageType ¶ added in v1.2.0
func (r AliyunViapiFacebodyDetectfaceAPIRequest) GetImageType() int64
GetImageType ImageType Getter
func (AliyunViapiFacebodyDetectfaceAPIRequest) GetImageUrl ¶ added in v1.2.0
func (r AliyunViapiFacebodyDetectfaceAPIRequest) GetImageUrl() string
GetImageUrl ImageUrl Getter
func (AliyunViapiFacebodyDetectfaceAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiFacebodyDetectfaceAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AliyunViapiFacebodyDetectfaceAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiFacebodyDetectfaceAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiFacebodyDetectfaceAPIRequest) SetImageType ¶ added in v1.2.0
func (r *AliyunViapiFacebodyDetectfaceAPIRequest) SetImageType(_imageType int64) error
SetImageType is ImageType Setter 0: 通过url识别,参数image_url不为空;1: 通过图片content识别,参数content不为空 支持图片格式:JPEG、JPG、BMP、PNG
func (*AliyunViapiFacebodyDetectfaceAPIRequest) SetImageUrl ¶ added in v1.2.0
func (r *AliyunViapiFacebodyDetectfaceAPIRequest) SetImageUrl(_imageUrl string) error
SetImageUrl is ImageUrl Setter 图片url地址(http/https)
type AliyunViapiFacebodyDetectfaceAPIResponse ¶
type AliyunViapiFacebodyDetectfaceAPIResponse struct { model.CommonResponse AliyunViapiFacebodyDetectfaceAPIResponseModel }
AliyunViapiFacebodyDetectfaceAPIResponse 人脸检测定位 API返回值 aliyun.viapi.facebody.detectface
输入图片之后,在人脸检测定位返回结果的基础上,识别各个检测人脸的四种属性,返回性别(男/女)、年龄、表情(笑/不笑)、眼镜(戴/不戴);并可返回人脸的1024维深度学习特征、(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiFacebodyDetectfaceAPIResponse ¶ added in v1.3.4
func GetAliyunViapiFacebodyDetectfaceAPIResponse() *AliyunViapiFacebodyDetectfaceAPIResponse
GetAliyunViapiFacebodyDetectfaceAPIResponse 从 sync.Pool 获取 AliyunViapiFacebodyDetectfaceAPIResponse
func (*AliyunViapiFacebodyDetectfaceAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiFacebodyDetectfaceAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiFacebodyDetectfaceAPIResponseModel ¶ added in v1.2.0
type AliyunViapiFacebodyDetectfaceAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_facebody_detectface_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiFacebodyDetectfaceData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiFacebodyDetectfaceAPIResponseModel is 人脸检测定位 成功返回结果
func (*AliyunViapiFacebodyDetectfaceAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiFacebodyDetectfaceAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiFacebodyDetectfaceData ¶
type AliyunViapiFacebodyDetectfaceData struct { // 返回人脸概率, 0-1之间,如有多个人脸,则依次顺延。如有两个人脸则返回[face_prob1, face_prob2] FaceProbabilityList []int64 `json:"face_probability_list,omitempty" xml:"face_probability_list>int64,omitempty"` // 返回人脸矩形框,分别是[left, top, width, height], 如有多个人脸,则依次顺延,返回矩形框。如有两个人脸则返回[left1, top1, width1, height1, left2, top2, width2, height2] FaceRectangles []int64 `json:"face_rectangles,omitempty" xml:"face_rectangles>int64,omitempty"` // 特征点定位结果,每个人脸返回一组特征点位置,表示方式为(x0, y0, x1, y1, ……);如有多个人脸,则依次顺延,返回定位浮点数 Landmarks []string `json:"landmarks,omitempty" xml:"landmarks>string,omitempty"` // 返回人脸姿态[yaw, pitch, roll], yaw为左右角度,取值[-90, 90],pitch为上下角度,取值[-90, 90], roll为平面旋转角度,取值[-180, 180],如有多个人脸,则依次顺延 PoseList []string `json:"pose_list,omitempty" xml:"pose_list>string,omitempty"` // 左右两个瞳孔的中心点坐标和半径,每个人脸6个浮点数,顺序是[left_iris_cenpt.x, left_iris_cenpt.y, left_iris_radius, right_iris_cenpt.x, right_iris_cenpt.y, right_iris_radis] Pupils []string `json:"pupils,omitempty" xml:"pupils>string,omitempty"` // 特征点数目,目前固定为105点(顺序:眉毛24点,眼睛32点,鼻子6点,嘴巴34点,外轮廓9点) LandmarkCount int64 `json:"landmark_count,omitempty" xml:"landmark_count,omitempty"` // 检测出来的人脸个数 FaceCount int64 `json:"face_count,omitempty" xml:"face_count,omitempty"` }
AliyunViapiFacebodyDetectfaceData 结构体
func GetAliyunViapiFacebodyDetectfaceData ¶ added in v1.3.4
func GetAliyunViapiFacebodyDetectfaceData() *AliyunViapiFacebodyDetectfaceData
GetAliyunViapiFacebodyDetectfaceData() 从对象池中获取AliyunViapiFacebodyDetectfaceData
type AliyunViapiFacebodyRecognizefaceAPIRequest ¶ added in v1.2.0
type AliyunViapiFacebodyRecognizefaceAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiFacebodyRecognizefaceAPIRequest 人脸属性识别 API请求 aliyun.viapi.facebody.recognizeface
输入图片之后,在人脸检测定位返回结果的基础上,识别各个检测人脸的四种属性,返回性别(男/女)、年龄、表情(笑/不笑)、眼镜(戴/不戴);并可返回人脸的1024维深度学习特征。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiFacebodyRecognizefaceAPIRequest ¶ added in v1.3.4
func GetAliyunViapiFacebodyRecognizefaceAPIRequest() *AliyunViapiFacebodyRecognizefaceAPIRequest
GetAliyunViapiFacebodyRecognizefaceRequest 从 sync.Pool 获取 AliyunViapiFacebodyRecognizefaceAPIRequest
func NewAliyunViapiFacebodyRecognizefaceRequest ¶
func NewAliyunViapiFacebodyRecognizefaceRequest() *AliyunViapiFacebodyRecognizefaceAPIRequest
NewAliyunViapiFacebodyRecognizefaceRequest 初始化AliyunViapiFacebodyRecognizefaceAPIRequest对象
func (AliyunViapiFacebodyRecognizefaceAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiFacebodyRecognizefaceAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiFacebodyRecognizefaceAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiFacebodyRecognizefaceAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiFacebodyRecognizefaceAPIRequest) GetImageType ¶ added in v1.2.0
func (r AliyunViapiFacebodyRecognizefaceAPIRequest) GetImageType() int64
GetImageType ImageType Getter
func (AliyunViapiFacebodyRecognizefaceAPIRequest) GetImageUrl ¶ added in v1.2.0
func (r AliyunViapiFacebodyRecognizefaceAPIRequest) GetImageUrl() string
GetImageUrl ImageUrl Getter
func (AliyunViapiFacebodyRecognizefaceAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiFacebodyRecognizefaceAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AliyunViapiFacebodyRecognizefaceAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiFacebodyRecognizefaceAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiFacebodyRecognizefaceAPIRequest) SetImageType ¶ added in v1.2.0
func (r *AliyunViapiFacebodyRecognizefaceAPIRequest) SetImageType(_imageType int64) error
SetImageType is ImageType Setter 图片类型, ,取值范围[0:ImageURL, 1:ImageContent]
func (*AliyunViapiFacebodyRecognizefaceAPIRequest) SetImageUrl ¶ added in v1.2.0
func (r *AliyunViapiFacebodyRecognizefaceAPIRequest) SetImageUrl(_imageUrl string) error
SetImageUrl is ImageUrl Setter 待检测图片链接
type AliyunViapiFacebodyRecognizefaceAPIResponse ¶
type AliyunViapiFacebodyRecognizefaceAPIResponse struct { model.CommonResponse AliyunViapiFacebodyRecognizefaceAPIResponseModel }
AliyunViapiFacebodyRecognizefaceAPIResponse 人脸属性识别 API返回值 aliyun.viapi.facebody.recognizeface
输入图片之后,在人脸检测定位返回结果的基础上,识别各个检测人脸的四种属性,返回性别(男/女)、年龄、表情(笑/不笑)、眼镜(戴/不戴);并可返回人脸的1024维深度学习特征。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiFacebodyRecognizefaceAPIResponse ¶ added in v1.3.4
func GetAliyunViapiFacebodyRecognizefaceAPIResponse() *AliyunViapiFacebodyRecognizefaceAPIResponse
GetAliyunViapiFacebodyRecognizefaceAPIResponse 从 sync.Pool 获取 AliyunViapiFacebodyRecognizefaceAPIResponse
func (*AliyunViapiFacebodyRecognizefaceAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiFacebodyRecognizefaceAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiFacebodyRecognizefaceAPIResponseModel ¶ added in v1.2.0
type AliyunViapiFacebodyRecognizefaceAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_facebody_recognizeface_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiFacebodyRecognizefaceData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiFacebodyRecognizefaceAPIResponseModel is 人脸属性识别 成功返回结果
func (*AliyunViapiFacebodyRecognizefaceAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiFacebodyRecognizefaceAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiFacebodyRecognizefaceData ¶
type AliyunViapiFacebodyRecognizefaceData struct { // 返回人脸矩形框,分别是[left, top, width, height], 如有多个人脸,则依次顺延,返回矩形框。如有两个人脸则返回[left1, top1, width1, height1, left2, top2, width2, height2] FaceRectangles []int64 `json:"face_rectangles,omitempty" xml:"face_rectangles>int64,omitempty"` // 返回人脸姿态[yaw, pitch, roll], yaw为左右角度,取值[-90, 90],pitch为上下角度,取值[-90, 90], roll为平面旋转角度,取值[-180, 180],如有多个人脸,则依次顺延 PoseList []string `json:"pose_list,omitempty" xml:"pose_list>string,omitempty"` // 左右两个瞳孔的中心点坐标和半径,每个人脸6个浮点数,顺序是[left_iris_cenpt.x, left_iris_cenpt.y, left_iris_radius, right_iris_cenpt.x, right_iris_cenpt.y, right_iris_radis] Pupils []string `json:"pupils,omitempty" xml:"pupils>string,omitempty"` // 0: 女性,1: 男性,如有多个人脸,则依次返回性别 GenderList []int64 `json:"gender_list,omitempty" xml:"gender_list>int64,omitempty"` // 人脸识别返回特征;如有多个人脸,则依次顺延,返回特征 DenseFeatures []string `json:"dense_features,omitempty" xml:"dense_features>string,omitempty"` // 返回人脸概率, 0-1之间,如有多个人脸,则依次顺延。如有两个人脸则返回[face_prob1, face_prob2] FaceProbabilityList []int64 `json:"face_probability_list,omitempty" xml:"face_probability_list>int64,omitempty"` // 年龄0-100,如有多个人脸,依次返回年龄 AgeList []int64 `json:"age_list,omitempty" xml:"age_list>int64,omitempty"` // 是否佩戴眼镜,0:无眼镜,1:有眼镜 Glasses []int64 `json:"glasses,omitempty" xml:"glasses>int64,omitempty"` // 特征点定位结果,每个人脸返回一组特征点位置,表示方式为(x0, y0, x1, y1, ……);如有多个人脸,则依次顺延,返回定位浮点数 Landmarks []string `json:"landmarks,omitempty" xml:"landmarks>string,omitempty"` // 2种表情,0:中性,1:微笑 Expressions []int64 `json:"expressions,omitempty" xml:"expressions>int64,omitempty"` // 人脸识别返回特征维度,目前固定为1024 DenseFeatureLength int64 `json:"dense_feature_length,omitempty" xml:"dense_feature_length,omitempty"` // 特征点数目,目前固定为105点(顺序:眉毛24点,眼睛32点,鼻子6点,嘴巴34点,外轮廓9点) LandmarkCount int64 `json:"landmark_count,omitempty" xml:"landmark_count,omitempty"` // 检测出来的人脸个数 FaceCount int64 `json:"face_count,omitempty" xml:"face_count,omitempty"` }
AliyunViapiFacebodyRecognizefaceData 结构体
func GetAliyunViapiFacebodyRecognizefaceData ¶ added in v1.3.4
func GetAliyunViapiFacebodyRecognizefaceData() *AliyunViapiFacebodyRecognizefaceData
GetAliyunViapiFacebodyRecognizefaceData() 从对象池中获取AliyunViapiFacebodyRecognizefaceData
type AliyunViapiGoodstechClassifygoodsAPIRequest ¶ added in v1.2.0
type AliyunViapiGoodstechClassifygoodsAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiGoodstechClassifygoodsAPIRequest 商品分类 API请求 aliyun.viapi.goodstech.classifygoods
可以识别图像中的商品分类,返回商品类目、置信度等信息。目前已经支持服饰鞋包、3C数码、家居用品等超过1万种类目分类。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiGoodstechClassifygoodsAPIRequest ¶ added in v1.3.4
func GetAliyunViapiGoodstechClassifygoodsAPIRequest() *AliyunViapiGoodstechClassifygoodsAPIRequest
GetAliyunViapiGoodstechClassifygoodsRequest 从 sync.Pool 获取 AliyunViapiGoodstechClassifygoodsAPIRequest
func NewAliyunViapiGoodstechClassifygoodsRequest ¶
func NewAliyunViapiGoodstechClassifygoodsRequest() *AliyunViapiGoodstechClassifygoodsAPIRequest
NewAliyunViapiGoodstechClassifygoodsRequest 初始化AliyunViapiGoodstechClassifygoodsAPIRequest对象
func (AliyunViapiGoodstechClassifygoodsAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiGoodstechClassifygoodsAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiGoodstechClassifygoodsAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiGoodstechClassifygoodsAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiGoodstechClassifygoodsAPIRequest) GetImageUrl ¶ added in v1.2.0
func (r AliyunViapiGoodstechClassifygoodsAPIRequest) GetImageUrl() string
GetImageUrl ImageUrl Getter
func (AliyunViapiGoodstechClassifygoodsAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiGoodstechClassifygoodsAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AliyunViapiGoodstechClassifygoodsAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiGoodstechClassifygoodsAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiGoodstechClassifygoodsAPIRequest) SetImageUrl ¶ added in v1.2.0
func (r *AliyunViapiGoodstechClassifygoodsAPIRequest) SetImageUrl(_imageUrl string) error
SetImageUrl is ImageUrl Setter 待检测图片链接
type AliyunViapiGoodstechClassifygoodsAPIResponse ¶
type AliyunViapiGoodstechClassifygoodsAPIResponse struct { model.CommonResponse AliyunViapiGoodstechClassifygoodsAPIResponseModel }
AliyunViapiGoodstechClassifygoodsAPIResponse 商品分类 API返回值 aliyun.viapi.goodstech.classifygoods
可以识别图像中的商品分类,返回商品类目、置信度等信息。目前已经支持服饰鞋包、3C数码、家居用品等超过1万种类目分类。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiGoodstechClassifygoodsAPIResponse ¶ added in v1.3.4
func GetAliyunViapiGoodstechClassifygoodsAPIResponse() *AliyunViapiGoodstechClassifygoodsAPIResponse
GetAliyunViapiGoodstechClassifygoodsAPIResponse 从 sync.Pool 获取 AliyunViapiGoodstechClassifygoodsAPIResponse
func (*AliyunViapiGoodstechClassifygoodsAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiGoodstechClassifygoodsAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiGoodstechClassifygoodsAPIResponseModel ¶ added in v1.2.0
type AliyunViapiGoodstechClassifygoodsAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_goodstech_classifygoods_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiGoodstechClassifygoodsData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiGoodstechClassifygoodsAPIResponseModel is 商品分类 成功返回结果
func (*AliyunViapiGoodstechClassifygoodsAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiGoodstechClassifygoodsAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiGoodstechClassifygoodsData ¶
type AliyunViapiGoodstechClassifygoodsData struct { // 类目预测列表 CategoryList []Category `json:"category_list,omitempty" xml:"category_list>category,omitempty"` }
AliyunViapiGoodstechClassifygoodsData 结构体
func GetAliyunViapiGoodstechClassifygoodsData ¶ added in v1.3.4
func GetAliyunViapiGoodstechClassifygoodsData() *AliyunViapiGoodstechClassifygoodsData
GetAliyunViapiGoodstechClassifygoodsData() 从对象池中获取AliyunViapiGoodstechClassifygoodsData
type AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest ¶ added in v1.2.0
type AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest 家居属性识别 API请求 aliyun.viapi.goodstech.recognize.furniture.attribute
识别输入的家居模型图的风格,目前支持16种风格识别。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest ¶ added in v1.3.4
func GetAliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest() *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest
GetAliyunViapiGoodstechRecognizeFurnitureAttributeRequest 从 sync.Pool 获取 AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest
func NewAliyunViapiGoodstechRecognizeFurnitureAttributeRequest ¶
func NewAliyunViapiGoodstechRecognizeFurnitureAttributeRequest() *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest
NewAliyunViapiGoodstechRecognizeFurnitureAttributeRequest 初始化AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest对象
func (AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetImageUrl ¶ added in v1.2.0
func (r AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetImageUrl() string
GetImageUrl ImageUrl Getter
func (AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) SetImageUrl ¶ added in v1.2.0
func (r *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest) SetImageUrl(_imageUrl string) error
SetImageUrl is ImageUrl Setter 待检测图片链接
type AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse ¶
type AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse struct { model.CommonResponse AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponseModel }
AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse 家居属性识别 API返回值 aliyun.viapi.goodstech.recognize.furniture.attribute
识别输入的家居模型图的风格,目前支持16种风格识别。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse ¶ added in v1.3.4
func GetAliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse() *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse
GetAliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse 从 sync.Pool 获取 AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse
func (*AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponseModel ¶ added in v1.2.0
type AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_goodstech_recognize_furniture_attribute_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiGoodstechRecognizeFurnitureAttributeData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponseModel is 家居属性识别 成功返回结果
func (*AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiGoodstechRecognizeFurnitureAttributeData ¶
type AliyunViapiGoodstechRecognizeFurnitureAttributeData struct { // 预测的风格名称ID Predstyle string `json:"predstyle,omitempty" xml:"predstyle,omitempty"` // 预测的风格置信概率 Predprobability string `json:"predprobability,omitempty" xml:"predprobability,omitempty"` // 预测的风格中文名称 Predstyleid string `json:"predstyleid,omitempty" xml:"predstyleid,omitempty"` }
AliyunViapiGoodstechRecognizeFurnitureAttributeData 结构体
func GetAliyunViapiGoodstechRecognizeFurnitureAttributeData ¶ added in v1.3.4
func GetAliyunViapiGoodstechRecognizeFurnitureAttributeData() *AliyunViapiGoodstechRecognizeFurnitureAttributeData
GetAliyunViapiGoodstechRecognizeFurnitureAttributeData() 从对象池中获取AliyunViapiGoodstechRecognizeFurnitureAttributeData
type AliyunViapiGoodstechRecognizeFurniturespuAPIRequest ¶ added in v1.2.0
type AliyunViapiGoodstechRecognizeFurniturespuAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiGoodstechRecognizeFurniturespuAPIRequest 家居SPU识别 API请求 aliyun.viapi.goodstech.recognize.furniturespu
对输入的家居模型图进行分类,目前类别数可达70类。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiGoodstechRecognizeFurniturespuAPIRequest ¶ added in v1.3.4
func GetAliyunViapiGoodstechRecognizeFurniturespuAPIRequest() *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest
GetAliyunViapiGoodstechRecognizeFurniturespuRequest 从 sync.Pool 获取 AliyunViapiGoodstechRecognizeFurniturespuAPIRequest
func NewAliyunViapiGoodstechRecognizeFurniturespuRequest ¶
func NewAliyunViapiGoodstechRecognizeFurniturespuRequest() *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest
NewAliyunViapiGoodstechRecognizeFurniturespuRequest 初始化AliyunViapiGoodstechRecognizeFurniturespuAPIRequest对象
func (AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetImageUrl ¶ added in v1.2.0
func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetImageUrl() string
GetImageUrl ImageUrl Getter
func (AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetXLength ¶ added in v1.2.0
func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetXLength() string
GetXLength XLength Getter
func (AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetYLength ¶ added in v1.2.0
func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetYLength() string
GetYLength YLength Getter
func (AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetZLength ¶ added in v1.2.0
func (r AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) GetZLength() string
GetZLength ZLength Getter
func (*AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetImageUrl ¶ added in v1.2.0
func (r *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetImageUrl(_imageUrl string) error
SetImageUrl is ImageUrl Setter 待检测图片链接
func (*AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetXLength ¶ added in v1.2.0
func (r *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetXLength(_xLength string) error
SetXLength is XLength Setter 模型x方向的尺寸,单位cm,默认值100
func (*AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetYLength ¶ added in v1.2.0
func (r *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetYLength(_yLength string) error
SetYLength is YLength Setter 模型y方向的尺寸,单位cm,默认值100
func (*AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetZLength ¶ added in v1.2.0
func (r *AliyunViapiGoodstechRecognizeFurniturespuAPIRequest) SetZLength(_zLength string) error
SetZLength is ZLength Setter 模型z方向的尺寸,单位cm,默认值100
type AliyunViapiGoodstechRecognizeFurniturespuAPIResponse ¶
type AliyunViapiGoodstechRecognizeFurniturespuAPIResponse struct { model.CommonResponse AliyunViapiGoodstechRecognizeFurniturespuAPIResponseModel }
AliyunViapiGoodstechRecognizeFurniturespuAPIResponse 家居SPU识别 API返回值 aliyun.viapi.goodstech.recognize.furniturespu
对输入的家居模型图进行分类,目前类别数可达70类。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiGoodstechRecognizeFurniturespuAPIResponse ¶ added in v1.3.4
func GetAliyunViapiGoodstechRecognizeFurniturespuAPIResponse() *AliyunViapiGoodstechRecognizeFurniturespuAPIResponse
GetAliyunViapiGoodstechRecognizeFurniturespuAPIResponse 从 sync.Pool 获取 AliyunViapiGoodstechRecognizeFurniturespuAPIResponse
func (*AliyunViapiGoodstechRecognizeFurniturespuAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiGoodstechRecognizeFurniturespuAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiGoodstechRecognizeFurniturespuAPIResponseModel ¶ added in v1.2.0
type AliyunViapiGoodstechRecognizeFurniturespuAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_goodstech_recognize_furniturespu_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiGoodstechRecognizeFurniturespuData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiGoodstechRecognizeFurniturespuAPIResponseModel is 家居SPU识别 成功返回结果
func (*AliyunViapiGoodstechRecognizeFurniturespuAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiGoodstechRecognizeFurniturespuAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiGoodstechRecognizeFurniturespuData ¶
type AliyunViapiGoodstechRecognizeFurniturespuData struct { // 预测的类目中文名称 Predprobability string `json:"predprobability,omitempty" xml:"predprobability,omitempty"` // 预测的类目名称ID Predcate string `json:"predcate,omitempty" xml:"predcate,omitempty"` // 预测的类目置信概率 Predcateid string `json:"predcateid,omitempty" xml:"predcateid,omitempty"` }
AliyunViapiGoodstechRecognizeFurniturespuData 结构体
func GetAliyunViapiGoodstechRecognizeFurniturespuData ¶ added in v1.3.4
func GetAliyunViapiGoodstechRecognizeFurniturespuData() *AliyunViapiGoodstechRecognizeFurniturespuData
GetAliyunViapiGoodstechRecognizeFurniturespuData() 从对象池中获取AliyunViapiGoodstechRecognizeFurniturespuData
type AliyunViapiImageauditScanimageAPIRequest ¶ added in v1.2.0
type AliyunViapiImageauditScanimageAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiImageauditScanimageAPIRequest 绿网-内容安全 API请求 aliyun.viapi.imageaudit.scanimage
绿网-内容安全技术是基于阿里云视觉分析技术和深度识别技术,并经过在阿里经济体内和云上客户的多领域、多场景的广泛应用和不断优化,可提供风险和治理领域的图像识别、定位、检索等全面服务能力,不仅可以降低色情、涉恐、涉政、广告、垃圾信息等违规风险,而且能大幅度降低人工审核成本。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiImageauditScanimageAPIRequest ¶ added in v1.3.4
func GetAliyunViapiImageauditScanimageAPIRequest() *AliyunViapiImageauditScanimageAPIRequest
GetAliyunViapiImageauditScanimageRequest 从 sync.Pool 获取 AliyunViapiImageauditScanimageAPIRequest
func NewAliyunViapiImageauditScanimageRequest ¶
func NewAliyunViapiImageauditScanimageRequest() *AliyunViapiImageauditScanimageAPIRequest
NewAliyunViapiImageauditScanimageRequest 初始化AliyunViapiImageauditScanimageAPIRequest对象
func (AliyunViapiImageauditScanimageAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiImageauditScanimageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiImageauditScanimageAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiImageauditScanimageAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiImageauditScanimageAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiImageauditScanimageAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AliyunViapiImageauditScanimageAPIRequest) GetScenes ¶ added in v1.2.0
func (r AliyunViapiImageauditScanimageAPIRequest) GetScenes() []string
GetScenes Scenes Getter
func (AliyunViapiImageauditScanimageAPIRequest) GetTasks ¶ added in v1.2.0
func (r AliyunViapiImageauditScanimageAPIRequest) GetTasks() []Task
GetTasks Tasks Getter
func (*AliyunViapiImageauditScanimageAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiImageauditScanimageAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiImageauditScanimageAPIRequest) SetScenes ¶ added in v1.2.0
func (r *AliyunViapiImageauditScanimageAPIRequest) SetScenes(_scenes []string) error
SetScenes is Scenes Setter 场景列表
func (*AliyunViapiImageauditScanimageAPIRequest) SetTasks ¶ added in v1.2.0
func (r *AliyunViapiImageauditScanimageAPIRequest) SetTasks(_tasks []Task) error
SetTasks is Tasks Setter 系统自动生成
type AliyunViapiImageauditScanimageAPIResponse ¶
type AliyunViapiImageauditScanimageAPIResponse struct { model.CommonResponse AliyunViapiImageauditScanimageAPIResponseModel }
AliyunViapiImageauditScanimageAPIResponse 绿网-内容安全 API返回值 aliyun.viapi.imageaudit.scanimage
绿网-内容安全技术是基于阿里云视觉分析技术和深度识别技术,并经过在阿里经济体内和云上客户的多领域、多场景的广泛应用和不断优化,可提供风险和治理领域的图像识别、定位、检索等全面服务能力,不仅可以降低色情、涉恐、涉政、广告、垃圾信息等违规风险,而且能大幅度降低人工审核成本。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiImageauditScanimageAPIResponse ¶ added in v1.3.4
func GetAliyunViapiImageauditScanimageAPIResponse() *AliyunViapiImageauditScanimageAPIResponse
GetAliyunViapiImageauditScanimageAPIResponse 从 sync.Pool 获取 AliyunViapiImageauditScanimageAPIResponse
func (*AliyunViapiImageauditScanimageAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiImageauditScanimageAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiImageauditScanimageAPIResponseModel ¶ added in v1.2.0
type AliyunViapiImageauditScanimageAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_imageaudit_scanimage_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 DataList *AliyunViapiImageauditScanimageData `json:"data_list,omitempty" xml:"data_list,omitempty"` }
AliyunViapiImageauditScanimageAPIResponseModel is 绿网-内容安全 成功返回结果
func (*AliyunViapiImageauditScanimageAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiImageauditScanimageAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiImageauditScanimageData ¶
type AliyunViapiImageauditScanimageData struct { // 图片检测结果 Results []AliyunViapiImageauditScanimageResult `json:"results,omitempty" xml:"results>aliyun_viapi_imageaudit_scanimage_result,omitempty"` }
AliyunViapiImageauditScanimageData 结构体
func GetAliyunViapiImageauditScanimageData ¶ added in v1.3.4
func GetAliyunViapiImageauditScanimageData() *AliyunViapiImageauditScanimageData
GetAliyunViapiImageauditScanimageData() 从对象池中获取AliyunViapiImageauditScanimageData
type AliyunViapiImageauditScanimageResult ¶
type AliyunViapiImageauditScanimageResult struct { // 单张图片的检测结果 SubResults []SubResult `json:"sub_results,omitempty" xml:"sub_results>sub_result,omitempty"` // 数据ID DataId string `json:"data_id,omitempty" xml:"data_id,omitempty"` // 任务ID TaskId string `json:"task_id,omitempty" xml:"task_id,omitempty"` // 图像的URL ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"` }
AliyunViapiImageauditScanimageResult 结构体
func GetAliyunViapiImageauditScanimageResult ¶ added in v1.3.4
func GetAliyunViapiImageauditScanimageResult() *AliyunViapiImageauditScanimageResult
GetAliyunViapiImageauditScanimageResult() 从对象池中获取AliyunViapiImageauditScanimageResult
type AliyunViapiImageauditScantextAPIRequest ¶ added in v1.2.0
type AliyunViapiImageauditScantextAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiImageauditScantextAPIRequest 文字内容审核 API请求 aliyun.viapi.imageaudit.scantext
结合行为、内容,采用多维度、多模型、多检测手段,识别文本中的垃圾内容,规避色情、广告、灌水、渉政、辱骂等内容风险。 注意:如果返回结果里面的results为空,也代表指定类型检测通过。
func GetAliyunViapiImageauditScantextAPIRequest ¶ added in v1.3.4
func GetAliyunViapiImageauditScantextAPIRequest() *AliyunViapiImageauditScantextAPIRequest
GetAliyunViapiImageauditScantextRequest 从 sync.Pool 获取 AliyunViapiImageauditScantextAPIRequest
func NewAliyunViapiImageauditScantextRequest ¶
func NewAliyunViapiImageauditScantextRequest() *AliyunViapiImageauditScantextAPIRequest
NewAliyunViapiImageauditScantextRequest 初始化AliyunViapiImageauditScantextAPIRequest对象
func (AliyunViapiImageauditScantextAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiImageauditScantextAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiImageauditScantextAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiImageauditScantextAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiImageauditScantextAPIRequest) GetLabels ¶ added in v1.2.0
func (r AliyunViapiImageauditScantextAPIRequest) GetLabels() []Label
GetLabels Labels Getter
func (AliyunViapiImageauditScantextAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiImageauditScantextAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AliyunViapiImageauditScantextAPIRequest) GetTasks ¶ added in v1.2.0
func (r AliyunViapiImageauditScantextAPIRequest) GetTasks() []Task
GetTasks Tasks Getter
func (*AliyunViapiImageauditScantextAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiImageauditScantextAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiImageauditScantextAPIRequest) SetLabels ¶ added in v1.2.0
func (r *AliyunViapiImageauditScantextAPIRequest) SetLabels(_labels []Label) error
SetLabels is Labels Setter 指定文本检测的应用场景,可选值包括: spam:含垃圾信息 politics: 涉政 abuse:辱骂 porn:智能鉴黄 terrorism:暴恐识别 flood:灌水 contraband:违禁 ad:文案违规识别 说明 支持多场景(Labels)一起检测,对一张文本同时进行鉴黄和暴恐识别,计费时也将按照两个场景计费。
func (*AliyunViapiImageauditScantextAPIRequest) SetTasks ¶ added in v1.2.0
func (r *AliyunViapiImageauditScantextAPIRequest) SetTasks(_tasks []Task) error
SetTasks is Tasks Setter 指定检测对象,JSON数组中的每个元素是一个文件检测任务结构体(Task表)。最多支持10个元素,即对10张文本进行检测。每个元素的具体结构描述见Task。
type AliyunViapiImageauditScantextAPIResponse ¶
type AliyunViapiImageauditScantextAPIResponse struct { model.CommonResponse AliyunViapiImageauditScantextAPIResponseModel }
AliyunViapiImageauditScantextAPIResponse 文字内容审核 API返回值 aliyun.viapi.imageaudit.scantext
结合行为、内容,采用多维度、多模型、多检测手段,识别文本中的垃圾内容,规避色情、广告、灌水、渉政、辱骂等内容风险。 注意:如果返回结果里面的results为空,也代表指定类型检测通过。
func GetAliyunViapiImageauditScantextAPIResponse ¶ added in v1.3.4
func GetAliyunViapiImageauditScantextAPIResponse() *AliyunViapiImageauditScantextAPIResponse
GetAliyunViapiImageauditScantextAPIResponse 从 sync.Pool 获取 AliyunViapiImageauditScantextAPIResponse
func (*AliyunViapiImageauditScantextAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiImageauditScantextAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiImageauditScantextAPIResponseModel ¶ added in v1.2.0
type AliyunViapiImageauditScantextAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_imageaudit_scantext_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiImageauditScantextData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiImageauditScantextAPIResponseModel is 文字内容审核 成功返回结果
func (*AliyunViapiImageauditScantextAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiImageauditScantextAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiImageauditScantextData ¶
type AliyunViapiImageauditScantextData struct { // 检测结果各个子元素 Elements []Element `json:"elements,omitempty" xml:"elements>element,omitempty"` }
AliyunViapiImageauditScantextData 结构体
func GetAliyunViapiImageauditScantextData ¶ added in v1.3.4
func GetAliyunViapiImageauditScantextData() *AliyunViapiImageauditScantextData
GetAliyunViapiImageauditScantextData() 从对象池中获取AliyunViapiImageauditScantextData
type AliyunViapiImageauditScantextDetail ¶ added in v1.2.0
type AliyunViapiImageauditScantextDetail struct { // 命中该风险的上下文信息 Contexts []Context `json:"contexts,omitempty" xml:"contexts>context,omitempty"` // 文本命中风险的分类 Label string `json:"label,omitempty" xml:"label,omitempty"` }
AliyunViapiImageauditScantextDetail 结构体
func GetAliyunViapiImageauditScantextDetail ¶ added in v1.3.4
func GetAliyunViapiImageauditScantextDetail() *AliyunViapiImageauditScantextDetail
GetAliyunViapiImageauditScantextDetail() 从对象池中获取AliyunViapiImageauditScantextDetail
type AliyunViapiImageauditScantextResult ¶
type AliyunViapiImageauditScantextResult struct { // 单个文本的检测结果 Details []AliyunViapiImageauditScantextDetail `json:"details,omitempty" xml:"details>aliyun_viapi_imageaudit_scantext_detail,omitempty"` // 建议用户执行的操作,取值范围: pass:文本正常 review:需要人工审核 block:文本违规,可以直接删除或者做限制处理 Suggestion string `json:"suggestion,omitempty" xml:"suggestion,omitempty"` // 检测结果的分类 Label string `json:"label,omitempty" xml:"label,omitempty"` // 结果为该分类的概率,取值范围为[0.00-100.00]。值越高,表示越有可能属于该分类。 说明 分值仅供参考,您需要关注label和suggestion内容 Rate int64 `json:"rate,omitempty" xml:"rate,omitempty"` }
AliyunViapiImageauditScantextResult 结构体
func GetAliyunViapiImageauditScantextResult ¶ added in v1.3.4
func GetAliyunViapiImageauditScantextResult() *AliyunViapiImageauditScantextResult
GetAliyunViapiImageauditScantextResult() 从对象池中获取AliyunViapiImageauditScantextResult
type AliyunViapiImagesegSegmentCommonimageAPIRequest ¶ added in v1.2.0
type AliyunViapiImagesegSegmentCommonimageAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiImagesegSegmentCommonimageAPIRequest 通用分割 API请求 aliyun.viapi.imageseg.segment.commonimage
识别输入图像中的视觉中心物体轮廓,与背景进行分离,返回分割后的前景物体图(4通道png透明图)。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiImagesegSegmentCommonimageAPIRequest ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmentCommonimageAPIRequest() *AliyunViapiImagesegSegmentCommonimageAPIRequest
GetAliyunViapiImagesegSegmentCommonimageRequest 从 sync.Pool 获取 AliyunViapiImagesegSegmentCommonimageAPIRequest
func NewAliyunViapiImagesegSegmentCommonimageRequest ¶
func NewAliyunViapiImagesegSegmentCommonimageRequest() *AliyunViapiImagesegSegmentCommonimageAPIRequest
NewAliyunViapiImagesegSegmentCommonimageRequest 初始化AliyunViapiImagesegSegmentCommonimageAPIRequest对象
func (AliyunViapiImagesegSegmentCommonimageAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmentCommonimageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiImagesegSegmentCommonimageAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmentCommonimageAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiImagesegSegmentCommonimageAPIRequest) GetImageUrl ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmentCommonimageAPIRequest) GetImageUrl() string
GetImageUrl ImageUrl Getter
func (AliyunViapiImagesegSegmentCommonimageAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiImagesegSegmentCommonimageAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AliyunViapiImagesegSegmentCommonimageAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiImagesegSegmentCommonimageAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiImagesegSegmentCommonimageAPIRequest) SetImageUrl ¶ added in v1.2.0
func (r *AliyunViapiImagesegSegmentCommonimageAPIRequest) SetImageUrl(_imageUrl string) error
SetImageUrl is ImageUrl Setter 待检测图片链接
type AliyunViapiImagesegSegmentCommonimageAPIResponse ¶
type AliyunViapiImagesegSegmentCommonimageAPIResponse struct { model.CommonResponse AliyunViapiImagesegSegmentCommonimageAPIResponseModel }
AliyunViapiImagesegSegmentCommonimageAPIResponse 通用分割 API返回值 aliyun.viapi.imageseg.segment.commonimage
识别输入图像中的视觉中心物体轮廓,与背景进行分离,返回分割后的前景物体图(4通道png透明图)。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiImagesegSegmentCommonimageAPIResponse ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmentCommonimageAPIResponse() *AliyunViapiImagesegSegmentCommonimageAPIResponse
GetAliyunViapiImagesegSegmentCommonimageAPIResponse 从 sync.Pool 获取 AliyunViapiImagesegSegmentCommonimageAPIResponse
func (*AliyunViapiImagesegSegmentCommonimageAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiImagesegSegmentCommonimageAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiImagesegSegmentCommonimageAPIResponseModel ¶ added in v1.2.0
type AliyunViapiImagesegSegmentCommonimageAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_imageseg_segment_commonimage_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiImagesegSegmentCommonimageData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiImagesegSegmentCommonimageAPIResponseModel is 通用分割 成功返回结果
func (*AliyunViapiImagesegSegmentCommonimageAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiImagesegSegmentCommonimageAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiImagesegSegmentCommonimageData ¶
type AliyunViapiImagesegSegmentCommonimageData struct { // 抠图结果(png透明图)有效期半个小时 ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"` }
AliyunViapiImagesegSegmentCommonimageData 结构体
func GetAliyunViapiImagesegSegmentCommonimageData ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmentCommonimageData() *AliyunViapiImagesegSegmentCommonimageData
GetAliyunViapiImagesegSegmentCommonimageData() 从对象池中获取AliyunViapiImagesegSegmentCommonimageData
type AliyunViapiImagesegSegmentcomodityAPIRequest ¶ added in v1.2.0
type AliyunViapiImagesegSegmentcomodityAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiImagesegSegmentcomodityAPIRequest 商品分割 API请求 aliyun.viapi.imageseg.segmentcomodity
识别输入图像中的商品轮廓,与背景进行分离,返回分割后的前景商品图(4通道png透明图),适应单商品/多商品、复杂背景。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiImagesegSegmentcomodityAPIRequest ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmentcomodityAPIRequest() *AliyunViapiImagesegSegmentcomodityAPIRequest
GetAliyunViapiImagesegSegmentcomodityRequest 从 sync.Pool 获取 AliyunViapiImagesegSegmentcomodityAPIRequest
func NewAliyunViapiImagesegSegmentcomodityRequest ¶
func NewAliyunViapiImagesegSegmentcomodityRequest() *AliyunViapiImagesegSegmentcomodityAPIRequest
NewAliyunViapiImagesegSegmentcomodityRequest 初始化AliyunViapiImagesegSegmentcomodityAPIRequest对象
func (AliyunViapiImagesegSegmentcomodityAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmentcomodityAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiImagesegSegmentcomodityAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmentcomodityAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiImagesegSegmentcomodityAPIRequest) GetImageUrl ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmentcomodityAPIRequest) GetImageUrl() string
GetImageUrl ImageUrl Getter
func (AliyunViapiImagesegSegmentcomodityAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiImagesegSegmentcomodityAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AliyunViapiImagesegSegmentcomodityAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiImagesegSegmentcomodityAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiImagesegSegmentcomodityAPIRequest) SetImageUrl ¶ added in v1.2.0
func (r *AliyunViapiImagesegSegmentcomodityAPIRequest) SetImageUrl(_imageUrl string) error
SetImageUrl is ImageUrl Setter 待检测图片链接
type AliyunViapiImagesegSegmentcomodityAPIResponse ¶
type AliyunViapiImagesegSegmentcomodityAPIResponse struct { model.CommonResponse AliyunViapiImagesegSegmentcomodityAPIResponseModel }
AliyunViapiImagesegSegmentcomodityAPIResponse 商品分割 API返回值 aliyun.viapi.imageseg.segmentcomodity
识别输入图像中的商品轮廓,与背景进行分离,返回分割后的前景商品图(4通道png透明图),适应单商品/多商品、复杂背景。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiImagesegSegmentcomodityAPIResponse ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmentcomodityAPIResponse() *AliyunViapiImagesegSegmentcomodityAPIResponse
GetAliyunViapiImagesegSegmentcomodityAPIResponse 从 sync.Pool 获取 AliyunViapiImagesegSegmentcomodityAPIResponse
func (*AliyunViapiImagesegSegmentcomodityAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiImagesegSegmentcomodityAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiImagesegSegmentcomodityAPIResponseModel ¶ added in v1.2.0
type AliyunViapiImagesegSegmentcomodityAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_imageseg_segmentcomodity_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiImagesegSegmentcomodityData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiImagesegSegmentcomodityAPIResponseModel is 商品分割 成功返回结果
func (*AliyunViapiImagesegSegmentcomodityAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiImagesegSegmentcomodityAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiImagesegSegmentcomodityData ¶
type AliyunViapiImagesegSegmentcomodityData struct { // 抠图结果(png透明图)有效期半个小时 ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"` }
AliyunViapiImagesegSegmentcomodityData 结构体
func GetAliyunViapiImagesegSegmentcomodityData ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmentcomodityData() *AliyunViapiImagesegSegmentcomodityData
GetAliyunViapiImagesegSegmentcomodityData() 从对象池中获取AliyunViapiImagesegSegmentcomodityData
type AliyunViapiImagesegSegmenthdbodyAPIRequest ¶ added in v1.2.0
type AliyunViapiImagesegSegmenthdbodyAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiImagesegSegmenthdbodyAPIRequest 高清人体分割 API请求 aliyun.viapi.imageseg.segmenthdbody
对输入图像中包含的人进行分割,输出结果透明图。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiImagesegSegmenthdbodyAPIRequest ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmenthdbodyAPIRequest() *AliyunViapiImagesegSegmenthdbodyAPIRequest
GetAliyunViapiImagesegSegmenthdbodyRequest 从 sync.Pool 获取 AliyunViapiImagesegSegmenthdbodyAPIRequest
func NewAliyunViapiImagesegSegmenthdbodyRequest ¶
func NewAliyunViapiImagesegSegmenthdbodyRequest() *AliyunViapiImagesegSegmenthdbodyAPIRequest
NewAliyunViapiImagesegSegmenthdbodyRequest 初始化AliyunViapiImagesegSegmenthdbodyAPIRequest对象
func (AliyunViapiImagesegSegmenthdbodyAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmenthdbodyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiImagesegSegmenthdbodyAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmenthdbodyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiImagesegSegmenthdbodyAPIRequest) GetImageUrl ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmenthdbodyAPIRequest) GetImageUrl() string
GetImageUrl ImageUrl Getter
func (AliyunViapiImagesegSegmenthdbodyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiImagesegSegmenthdbodyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AliyunViapiImagesegSegmenthdbodyAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiImagesegSegmenthdbodyAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiImagesegSegmenthdbodyAPIRequest) SetImageUrl ¶ added in v1.2.0
func (r *AliyunViapiImagesegSegmenthdbodyAPIRequest) SetImageUrl(_imageUrl string) error
SetImageUrl is ImageUrl Setter 待检测图片链接
type AliyunViapiImagesegSegmenthdbodyAPIResponse ¶
type AliyunViapiImagesegSegmenthdbodyAPIResponse struct { model.CommonResponse AliyunViapiImagesegSegmenthdbodyAPIResponseModel }
AliyunViapiImagesegSegmenthdbodyAPIResponse 高清人体分割 API返回值 aliyun.viapi.imageseg.segmenthdbody
对输入图像中包含的人进行分割,输出结果透明图。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiImagesegSegmenthdbodyAPIResponse ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmenthdbodyAPIResponse() *AliyunViapiImagesegSegmenthdbodyAPIResponse
GetAliyunViapiImagesegSegmenthdbodyAPIResponse 从 sync.Pool 获取 AliyunViapiImagesegSegmenthdbodyAPIResponse
func (*AliyunViapiImagesegSegmenthdbodyAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiImagesegSegmenthdbodyAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiImagesegSegmenthdbodyAPIResponseModel ¶ added in v1.2.0
type AliyunViapiImagesegSegmenthdbodyAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_imageseg_segmenthdbody_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiImagesegSegmenthdbodyData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiImagesegSegmenthdbodyAPIResponseModel is 高清人体分割 成功返回结果
func (*AliyunViapiImagesegSegmenthdbodyAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiImagesegSegmenthdbodyAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiImagesegSegmenthdbodyData ¶
type AliyunViapiImagesegSegmenthdbodyData struct { // 输出图像URL ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"` }
AliyunViapiImagesegSegmenthdbodyData 结构体
func GetAliyunViapiImagesegSegmenthdbodyData ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmenthdbodyData() *AliyunViapiImagesegSegmenthdbodyData
GetAliyunViapiImagesegSegmenthdbodyData() 从对象池中获取AliyunViapiImagesegSegmenthdbodyData
type AliyunViapiImagesegSegmentheadAPIRequest ¶ added in v1.2.0
type AliyunViapiImagesegSegmentheadAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiImagesegSegmentheadAPIRequest 头像分割 API请求 aliyun.viapi.imageseg.segmenthead
输入一张图片,对图中人头区域进行抠图解析,输出人头png透明图。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiImagesegSegmentheadAPIRequest ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmentheadAPIRequest() *AliyunViapiImagesegSegmentheadAPIRequest
GetAliyunViapiImagesegSegmentheadRequest 从 sync.Pool 获取 AliyunViapiImagesegSegmentheadAPIRequest
func NewAliyunViapiImagesegSegmentheadRequest ¶
func NewAliyunViapiImagesegSegmentheadRequest() *AliyunViapiImagesegSegmentheadAPIRequest
NewAliyunViapiImagesegSegmentheadRequest 初始化AliyunViapiImagesegSegmentheadAPIRequest对象
func (AliyunViapiImagesegSegmentheadAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmentheadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiImagesegSegmentheadAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmentheadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiImagesegSegmentheadAPIRequest) GetImageUrl ¶ added in v1.2.0
func (r AliyunViapiImagesegSegmentheadAPIRequest) GetImageUrl() string
GetImageUrl ImageUrl Getter
func (AliyunViapiImagesegSegmentheadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiImagesegSegmentheadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AliyunViapiImagesegSegmentheadAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiImagesegSegmentheadAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiImagesegSegmentheadAPIRequest) SetImageUrl ¶ added in v1.2.0
func (r *AliyunViapiImagesegSegmentheadAPIRequest) SetImageUrl(_imageUrl string) error
SetImageUrl is ImageUrl Setter 待检测图片链接
type AliyunViapiImagesegSegmentheadAPIResponse ¶
type AliyunViapiImagesegSegmentheadAPIResponse struct { model.CommonResponse AliyunViapiImagesegSegmentheadAPIResponseModel }
AliyunViapiImagesegSegmentheadAPIResponse 头像分割 API返回值 aliyun.viapi.imageseg.segmenthead
输入一张图片,对图中人头区域进行抠图解析,输出人头png透明图。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiImagesegSegmentheadAPIResponse ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmentheadAPIResponse() *AliyunViapiImagesegSegmentheadAPIResponse
GetAliyunViapiImagesegSegmentheadAPIResponse 从 sync.Pool 获取 AliyunViapiImagesegSegmentheadAPIResponse
func (*AliyunViapiImagesegSegmentheadAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiImagesegSegmentheadAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiImagesegSegmentheadAPIResponseModel ¶ added in v1.2.0
type AliyunViapiImagesegSegmentheadAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_imageseg_segmenthead_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiImagesegSegmentheadData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiImagesegSegmentheadAPIResponseModel is 头像分割 成功返回结果
func (*AliyunViapiImagesegSegmentheadAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiImagesegSegmentheadAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiImagesegSegmentheadData ¶
type AliyunViapiImagesegSegmentheadData struct { // 人体检测框的集合 Elements []Elements `json:"elements,omitempty" xml:"elements>elements,omitempty"` }
AliyunViapiImagesegSegmentheadData 结构体
func GetAliyunViapiImagesegSegmentheadData ¶ added in v1.3.4
func GetAliyunViapiImagesegSegmentheadData() *AliyunViapiImagesegSegmentheadData
GetAliyunViapiImagesegSegmentheadData() 从对象池中获取AliyunViapiImagesegSegmentheadData
type AliyunViapiObjectdetDetectobjectAPIRequest ¶ added in v1.2.0
type AliyunViapiObjectdetDetectobjectAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiObjectdetDetectobjectAPIRequest 物体检测 API请求 aliyun.viapi.objectdet.detectobject
检测图像中的物体。90类物体: (0:'human':人体, 1:'sneakers':胶底运动鞋, 2:'chair':椅子, 3:'hat':帽子, 4:'lamp':灯, 5:'cabinet/shelf':橱柜/ 架子, 6:'car':汽车, 7:'glasses':眼镜, 8:'picture/frame':照片/图画, 9:'street lights':街灯, 10:'helmet':头盔, 11:'pillow':枕头, 12:'glove':手套, 13:'potted plant':盆栽植物, 14:'flower':花, 15:'monitor':显示屏, 16:'plants pot/vase':花盆, 17:'boots':靴子, 18:'umbrella':伞, 19:'boat':小船, 20:'flag':旗帜, 21:'speaker':扬声器/话筒, 22:'trash bin/can':垃圾桶, 23:'backpack': 双肩背包, 24:'sofa':沙发, 25:'belt':腰带, 26:'carpet':地毯, 27:'coffee table':咖啡桌/茶几, 28:'tie': 领带, 29:'bed': 床, 30:'traffic light':红绿灯, 31:'necklace':项链, 32:'mirror':镜子, 33:'bicycle':自行车, 34:'watch':手表, 35:'horse':马, 36:'traffic sign':交通标志, 37:'stuffed animal':填充玩具动物, 38:'motorbike/motorcycle':摩托车, 39:'wild bird':鸟, 40:'laptop':笔记本电脑, 41:'cow':奶牛, 42:'clock':时钟, 43:'bus':公共汽车, 44:'nightstand':床头柜, 45:'sheep':绵羊, 46:'traffic cone':锥形交通路标, 47:'keyboard':键盘, 48:'hockey stick':曲棍球球棍, 49:'fan':电扇, 50:'dog':狗, 51:'blackboard/whiteboard':白板/黑板, 52:'mouse':鼠标, 53:'telephone':电话, 54:'airplane':飞机, 55:'skis':滑雪板, 56:'soccer':英式足球, 57:'combine with glove':棒球手套, 58:'train':火车, 59:'tent':帐篷, 60:'sailboat':帆船, 61:'kite':风筝, 62:'computer box':计算机主机机箱, 63:'elephant':大象, 64:'stroller':折叠式婴儿车, 65:'baseball bat':棒球棒, 66:'skateboard':溜冰板, 67:'surfboard':冲浪板, 68:'cat':猫, 69:'zebra':斑马, 70:'sports car':跑车, 71:'giraffe':长颈鹿, 72:'radiator':散热器, 73:'tennis racket':网球拍, 74:'skating and skiing shoes':溜冰鞋, 75:'baseball':棒球, 76:'american football':美式橄榄球, 77:'basketball':篮球, 78:'printer':打印机, 79:'fire hydrant':消防栓, 80:'projector':投影仪, 81:'fire extinguisher':灭火器, 82:'tennis ball':网球, 83:'frisbee':飞盘, 84:'fire truck':消防车, 85:'helicopter':直升飞机, 86:'carriage':四轮马车, 87:'bear':熊, 88:'globe':地球仪, 89:'volleyball':排球)。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiObjectdetDetectobjectAPIRequest ¶ added in v1.3.4
func GetAliyunViapiObjectdetDetectobjectAPIRequest() *AliyunViapiObjectdetDetectobjectAPIRequest
GetAliyunViapiObjectdetDetectobjectRequest 从 sync.Pool 获取 AliyunViapiObjectdetDetectobjectAPIRequest
func NewAliyunViapiObjectdetDetectobjectRequest ¶
func NewAliyunViapiObjectdetDetectobjectRequest() *AliyunViapiObjectdetDetectobjectAPIRequest
NewAliyunViapiObjectdetDetectobjectRequest 初始化AliyunViapiObjectdetDetectobjectAPIRequest对象
func (AliyunViapiObjectdetDetectobjectAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiObjectdetDetectobjectAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiObjectdetDetectobjectAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiObjectdetDetectobjectAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiObjectdetDetectobjectAPIRequest) GetImageUrl ¶ added in v1.2.0
func (r AliyunViapiObjectdetDetectobjectAPIRequest) GetImageUrl() string
GetImageUrl ImageUrl Getter
func (AliyunViapiObjectdetDetectobjectAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiObjectdetDetectobjectAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AliyunViapiObjectdetDetectobjectAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiObjectdetDetectobjectAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiObjectdetDetectobjectAPIRequest) SetImageUrl ¶ added in v1.2.0
func (r *AliyunViapiObjectdetDetectobjectAPIRequest) SetImageUrl(_imageUrl string) error
SetImageUrl is ImageUrl Setter 待检测图片链接
type AliyunViapiObjectdetDetectobjectAPIResponse ¶
type AliyunViapiObjectdetDetectobjectAPIResponse struct { model.CommonResponse AliyunViapiObjectdetDetectobjectAPIResponseModel }
AliyunViapiObjectdetDetectobjectAPIResponse 物体检测 API返回值 aliyun.viapi.objectdet.detectobject
检测图像中的物体。90类物体: (0:'human':人体, 1:'sneakers':胶底运动鞋, 2:'chair':椅子, 3:'hat':帽子, 4:'lamp':灯, 5:'cabinet/shelf':橱柜/ 架子, 6:'car':汽车, 7:'glasses':眼镜, 8:'picture/frame':照片/图画, 9:'street lights':街灯, 10:'helmet':头盔, 11:'pillow':枕头, 12:'glove':手套, 13:'potted plant':盆栽植物, 14:'flower':花, 15:'monitor':显示屏, 16:'plants pot/vase':花盆, 17:'boots':靴子, 18:'umbrella':伞, 19:'boat':小船, 20:'flag':旗帜, 21:'speaker':扬声器/话筒, 22:'trash bin/can':垃圾桶, 23:'backpack': 双肩背包, 24:'sofa':沙发, 25:'belt':腰带, 26:'carpet':地毯, 27:'coffee table':咖啡桌/茶几, 28:'tie': 领带, 29:'bed': 床, 30:'traffic light':红绿灯, 31:'necklace':项链, 32:'mirror':镜子, 33:'bicycle':自行车, 34:'watch':手表, 35:'horse':马, 36:'traffic sign':交通标志, 37:'stuffed animal':填充玩具动物, 38:'motorbike/motorcycle':摩托车, 39:'wild bird':鸟, 40:'laptop':笔记本电脑, 41:'cow':奶牛, 42:'clock':时钟, 43:'bus':公共汽车, 44:'nightstand':床头柜, 45:'sheep':绵羊, 46:'traffic cone':锥形交通路标, 47:'keyboard':键盘, 48:'hockey stick':曲棍球球棍, 49:'fan':电扇, 50:'dog':狗, 51:'blackboard/whiteboard':白板/黑板, 52:'mouse':鼠标, 53:'telephone':电话, 54:'airplane':飞机, 55:'skis':滑雪板, 56:'soccer':英式足球, 57:'combine with glove':棒球手套, 58:'train':火车, 59:'tent':帐篷, 60:'sailboat':帆船, 61:'kite':风筝, 62:'computer box':计算机主机机箱, 63:'elephant':大象, 64:'stroller':折叠式婴儿车, 65:'baseball bat':棒球棒, 66:'skateboard':溜冰板, 67:'surfboard':冲浪板, 68:'cat':猫, 69:'zebra':斑马, 70:'sports car':跑车, 71:'giraffe':长颈鹿, 72:'radiator':散热器, 73:'tennis racket':网球拍, 74:'skating and skiing shoes':溜冰鞋, 75:'baseball':棒球, 76:'american football':美式橄榄球, 77:'basketball':篮球, 78:'printer':打印机, 79:'fire hydrant':消防栓, 80:'projector':投影仪, 81:'fire extinguisher':灭火器, 82:'tennis ball':网球, 83:'frisbee':飞盘, 84:'fire truck':消防车, 85:'helicopter':直升飞机, 86:'carriage':四轮马车, 87:'bear':熊, 88:'globe':地球仪, 89:'volleyball':排球)。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiObjectdetDetectobjectAPIResponse ¶ added in v1.3.4
func GetAliyunViapiObjectdetDetectobjectAPIResponse() *AliyunViapiObjectdetDetectobjectAPIResponse
GetAliyunViapiObjectdetDetectobjectAPIResponse 从 sync.Pool 获取 AliyunViapiObjectdetDetectobjectAPIResponse
func (*AliyunViapiObjectdetDetectobjectAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiObjectdetDetectobjectAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiObjectdetDetectobjectAPIResponseModel ¶ added in v1.2.0
type AliyunViapiObjectdetDetectobjectAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_objectdet_detectobject_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiObjectdetDetectobjectData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiObjectdetDetectobjectAPIResponseModel is 物体检测 成功返回结果
func (*AliyunViapiObjectdetDetectobjectAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiObjectdetDetectobjectAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiObjectdetDetectobjectData ¶
type AliyunViapiObjectdetDetectobjectData struct { // 人体检测框的集合 Elements []Elements `json:"elements,omitempty" xml:"elements>elements,omitempty"` // 输入图片的高度 Height int64 `json:"height,omitempty" xml:"height,omitempty"` // 输入图片的宽度 Width int64 `json:"width,omitempty" xml:"width,omitempty"` }
AliyunViapiObjectdetDetectobjectData 结构体
func GetAliyunViapiObjectdetDetectobjectData ¶ added in v1.3.4
func GetAliyunViapiObjectdetDetectobjectData() *AliyunViapiObjectdetDetectobjectData
GetAliyunViapiObjectdetDetectobjectData() 从对象池中获取AliyunViapiObjectdetDetectobjectData
type AliyunViapiOcrCharacterAPIRequest ¶ added in v1.2.0
type AliyunViapiOcrCharacterAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyunViapiOcrCharacterAPIRequest 通用文字识别 API请求 aliyun.viapi.ocr.character
获取通用的文字信息。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiOcrCharacterAPIRequest ¶ added in v1.3.4
func GetAliyunViapiOcrCharacterAPIRequest() *AliyunViapiOcrCharacterAPIRequest
GetAliyunViapiOcrCharacterRequest 从 sync.Pool 获取 AliyunViapiOcrCharacterAPIRequest
func NewAliyunViapiOcrCharacterRequest ¶
func NewAliyunViapiOcrCharacterRequest() *AliyunViapiOcrCharacterAPIRequest
NewAliyunViapiOcrCharacterRequest 初始化AliyunViapiOcrCharacterAPIRequest对象
func (AliyunViapiOcrCharacterAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliyunViapiOcrCharacterAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyunViapiOcrCharacterAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliyunViapiOcrCharacterAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyunViapiOcrCharacterAPIRequest) GetImageType ¶ added in v1.2.0
func (r AliyunViapiOcrCharacterAPIRequest) GetImageType() int64
GetImageType ImageType Getter
func (AliyunViapiOcrCharacterAPIRequest) GetImageUrl ¶ added in v1.2.0
func (r AliyunViapiOcrCharacterAPIRequest) GetImageUrl() string
GetImageUrl ImageUrl Getter
func (AliyunViapiOcrCharacterAPIRequest) GetMinHeight ¶ added in v1.2.0
func (r AliyunViapiOcrCharacterAPIRequest) GetMinHeight() int64
GetMinHeight MinHeight Getter
func (AliyunViapiOcrCharacterAPIRequest) GetOutputProbability ¶ added in v1.2.0
func (r AliyunViapiOcrCharacterAPIRequest) GetOutputProbability() bool
GetOutputProbability OutputProbability Getter
func (AliyunViapiOcrCharacterAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliyunViapiOcrCharacterAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AliyunViapiOcrCharacterAPIRequest) Reset ¶ added in v1.3.4
func (r *AliyunViapiOcrCharacterAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AliyunViapiOcrCharacterAPIRequest) SetImageType ¶ added in v1.2.0
func (r *AliyunViapiOcrCharacterAPIRequest) SetImageType(_imageType int64) error
SetImageType is ImageType Setter 图片类型, ,取范围[0:ImageURL, 1:ImageContent]
func (*AliyunViapiOcrCharacterAPIRequest) SetImageUrl ¶ added in v1.2.0
func (r *AliyunViapiOcrCharacterAPIRequest) SetImageUrl(_imageUrl string) error
SetImageUrl is ImageUrl Setter 待检测图片链接
func (*AliyunViapiOcrCharacterAPIRequest) SetMinHeight ¶ added in v1.2.0
func (r *AliyunViapiOcrCharacterAPIRequest) SetMinHeight(_minHeight int64) error
SetMinHeight is MinHeight Setter 图片中文字的最小高度,单位像素
func (*AliyunViapiOcrCharacterAPIRequest) SetOutputProbability ¶ added in v1.2.0
func (r *AliyunViapiOcrCharacterAPIRequest) SetOutputProbability(_outputProbability bool) error
SetOutputProbability is OutputProbability Setter 是否输出文字框的概率,取值范围[true:是, false:否]
type AliyunViapiOcrCharacterAPIResponse ¶
type AliyunViapiOcrCharacterAPIResponse struct { model.CommonResponse AliyunViapiOcrCharacterAPIResponseModel }
AliyunViapiOcrCharacterAPIResponse 通用文字识别 API返回值 aliyun.viapi.ocr.character
获取通用的文字信息。(参数图片/链接必须通过以下方式获取: https://help.aliyun.com/document_detail/155645.html )
func GetAliyunViapiOcrCharacterAPIResponse ¶ added in v1.3.4
func GetAliyunViapiOcrCharacterAPIResponse() *AliyunViapiOcrCharacterAPIResponse
GetAliyunViapiOcrCharacterAPIResponse 从 sync.Pool 获取 AliyunViapiOcrCharacterAPIResponse
func (*AliyunViapiOcrCharacterAPIResponse) Reset ¶ added in v1.3.4
func (m *AliyunViapiOcrCharacterAPIResponse) Reset()
Reset 清空结构体
type AliyunViapiOcrCharacterAPIResponseModel ¶ added in v1.2.0
type AliyunViapiOcrCharacterAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_viapi_ocr_character_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求ID TaobaoRequestId string `json:"taobao_request_id,omitempty" xml:"taobao_request_id,omitempty"` // 系统自动生成 Data *AliyunViapiOcrCharacterData `json:"data,omitempty" xml:"data,omitempty"` }
AliyunViapiOcrCharacterAPIResponseModel is 通用文字识别 成功返回结果
func (*AliyunViapiOcrCharacterAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AliyunViapiOcrCharacterAPIResponseModel) Reset()
Reset 清空结构体
type AliyunViapiOcrCharacterData ¶
type AliyunViapiOcrCharacterData struct { // 返回识别信息 Results []AliyunViapiOcrCharacterResult `json:"results,omitempty" xml:"results>aliyun_viapi_ocr_character_result,omitempty"` }
AliyunViapiOcrCharacterData 结构体
func GetAliyunViapiOcrCharacterData ¶ added in v1.3.4
func GetAliyunViapiOcrCharacterData() *AliyunViapiOcrCharacterData
GetAliyunViapiOcrCharacterData() 从对象池中获取AliyunViapiOcrCharacterData
type AliyunViapiOcrCharacterResult ¶
type AliyunViapiOcrCharacterResult struct { // 文字内容 Text string `json:"text,omitempty" xml:"text,omitempty"` // 文字区域 TextRectangle *TextRectangle `json:"text_rectangle,omitempty" xml:"text_rectangle,omitempty"` // 文字区域概率,概率值的范围为[0, 1] Probability int64 `json:"probability,omitempty" xml:"probability,omitempty"` }
AliyunViapiOcrCharacterResult 结构体
func GetAliyunViapiOcrCharacterResult ¶ added in v1.3.4
func GetAliyunViapiOcrCharacterResult() *AliyunViapiOcrCharacterResult
GetAliyunViapiOcrCharacterResult() 从对象池中获取AliyunViapiOcrCharacterResult
type Category ¶
type Category struct { // 分类ID的匹配度,大于0小于等于1 Score string `json:"score,omitempty" xml:"score,omitempty"` // 类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 类目ID CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"` }
Category 结构体
type Context ¶
type Context struct { // 检测文本命中的风险内容上下文内容 Context string `json:"context,omitempty" xml:"context,omitempty"` }
Context 结构体
type Element ¶
type Element struct { // 单个文本的检测结果 Results []AliyunViapiImageauditScantextResult `json:"results,omitempty" xml:"results>aliyun_viapi_imageaudit_scantext_result,omitempty"` // 任务Id TaskId string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
Element 结构体
type Elements ¶
type Elements struct { // 检测框坐标,格式为[left, top, right, bottom] Boxes []int64 `json:"boxes,omitempty" xml:"boxes>int64,omitempty"` // 抠图结果(png透明图)有效期半个小时 ImageURL string `json:"image_u_r_l,omitempty" xml:"image_u_r_l,omitempty"` // 类型:(0:'human':人体, 1:'sneakers':胶底运动鞋, 2:'chair':椅子, 3:'hat':帽子, 4:'lamp':灯, 5:'cabinet/shelf':橱柜/ 架子, 6:'car':汽车, 7:'glasses':眼镜, 8:'picture/frame':照片/图画, 9:'street lights':街灯, 10:'helmet':头盔, 11:'pillow':枕头, 12:'glove':手套, 13:'potted plant':盆栽植物, 14:'flower':花, 15:'monitor':显示屏, 16:'plants pot/vase':花盆, 17:'boots':靴子, 18:'umbrella':伞, 19:'boat':小船, 20:'flag':旗帜, 21:'speaker':扬声器/话筒, 22:'trash bin/can':垃圾桶, 23:'backpack': 双肩背包, 24:'sofa':沙发, 25:'belt':腰带, 26:'carpet':地毯, 27:'coffee table':咖啡桌/茶几, 28:'tie': 领带, 29:'bed': 床, 30:'traffic light':红绿灯, 31:'necklace':项链, 32:'mirror':镜子, 33:'bicycle':自行车, 34:'watch':手表, 35:'horse':马, 36:'traffic sign':交通标志, 37:'stuffed animal':填充玩具动物, 38:'motorbike/motorcycle':摩托车, 39:'wild bird':鸟, 40:'laptop':笔记本电脑, 41:'cow':奶牛, 42:'clock':时钟, 43:'bus':公共汽车, 44:'nightstand':床头柜, 45:'sheep':绵羊, 46:'traffic cone':锥形交通路标, 47:'keyboard':键盘, 48:'hockey stick':曲棍球球棍, 49:'fan':电扇, 50:'dog':狗, 51:'blackboard/whiteboard':白板/黑板, 52:'mouse':鼠标, 53:'telephone':电话, 54:'airplane':飞机, 55:'skis':滑雪板, 56:'soccer':英式足球, 57:'combine with glove':棒球手套, 58:'train':火车, 59:'tent':帐篷, 60:'sailboat':帆船, 61:'kite':风筝, 62:'computer box':计算机主机机箱, 63:'elephant':大象, 64:'stroller':折叠式婴儿车, 65:'baseball bat':棒球棒, 66:'skateboard':溜冰板, 67:'surfboard':冲浪板, 68:'cat':猫, 69:'zebra':斑马, 70:'sports car':跑车, 71:'giraffe':长颈鹿, 72:'radiator':散热器, 73:'tennis racket':网球拍, 74:'skating and skiing shoes':溜冰鞋, 75:'baseball':棒球, 76:'american football':美式橄榄球, 77:'basketball':篮球, 78:'printer':打印机, 79:'fire hydrant':消防栓, 80:'projector':投影仪, 81:'fire extinguisher':灭火器, 82:'tennis ball':网球, 83:'frisbee':飞盘, 84:'fire truck':消防车, 85:'helicopter':直升飞机, 86:'carriage':四轮马车, 87:'bear':熊, 88:'globe':地球仪, 89:'volleyball':排球) Type string `json:"type,omitempty" xml:"type,omitempty"` // x坐标 X int64 `json:"x,omitempty" xml:"x,omitempty"` // y坐标 Y int64 `json:"y,omitempty" xml:"y,omitempty"` // 高度 Height int64 `json:"height,omitempty" xml:"height,omitempty"` // 宽度 Width int64 `json:"width,omitempty" xml:"width,omitempty"` // 检测框的分数(置信度),范围为[0,1] Score int64 `json:"score,omitempty" xml:"score,omitempty"` }
Elements 结构体
type Face ¶
type Face struct { // 人脸Id Id string `json:"id,omitempty" xml:"id,omitempty"` // 相似人物的名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 相似概率 Rate int64 `json:"rate,omitempty" xml:"rate,omitempty"` }
Face 结构体
type Frame ¶
type Frame struct { // 被截断的图片的临时访问url,地址有效期是5分钟 URL string `json:"u_r_l,omitempty" xml:"u_r_l,omitempty"` // 置信度,仅作参考,不建议使用 Rate int64 `json:"rate,omitempty" xml:"rate,omitempty"` }
Frame 结构体
type HintWordsInfo ¶
type HintWordsInfo struct { // 图片中文字命中的风险关键词内容 Context string `json:"context,omitempty" xml:"context,omitempty"` }
HintWordsInfo 结构体
func GetHintWordsInfo ¶ added in v1.3.4
func GetHintWordsInfo() *HintWordsInfo
GetHintWordsInfo() 从对象池中获取HintWordsInfo
type Label ¶
type Label struct { // 可选值包括: spam:含垃圾信息 politics: 涉政 abuse:辱骂 porn:智能鉴黄 terrorism:暴恐识别 flood:灌水 contraband:违禁 ad:文本违规识别 Label string `json:"label,omitempty" xml:"label,omitempty"` }
Label 结构体
type LogoData ¶
type LogoData struct { // 识别出的logo类型,取值为TV (台标) Type string `json:"type,omitempty" xml:"type,omitempty"` // 识别出的logo名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 以图片左上角为坐标原点,logo区域左上角到y轴距离。 X int64 `json:"x,omitempty" xml:"x,omitempty"` // 以图片左上角为坐标原点,logo区域左上角到x轴距离。 Y int64 `json:"y,omitempty" xml:"y,omitempty"` // logo区域宽度 Width int64 `json:"width,omitempty" xml:"width,omitempty"` // logo区域高度 Height int64 `json:"height,omitempty" xml:"height,omitempty"` }
LogoData 结构体
type ProgramCodeData ¶
type ProgramCodeData struct { // 以图片左上角为坐标原点,小程序码区域左上角到y轴距离 X int64 `json:"x,omitempty" xml:"x,omitempty"` // 以图片左上角为坐标原点,小程序码区域左上角到x轴距离 Y int64 `json:"y,omitempty" xml:"y,omitempty"` // 小程序码区域宽度 Width int64 `json:"width,omitempty" xml:"width,omitempty"` // 小程序码区域高度 Height int64 `json:"height,omitempty" xml:"height,omitempty"` }
ProgramCodeData 结构体
func GetProgramCodeData ¶ added in v1.3.4
func GetProgramCodeData() *ProgramCodeData
GetProgramCodeData() 从对象池中获取ProgramCodeData
type SfaceData ¶
type SfaceData struct { // 识别出的人脸信息,具体结构描述见face Faces []Face `json:"faces,omitempty" xml:"faces>face,omitempty"` // 人脸区域高度 Heihght int64 `json:"heihght,omitempty" xml:"heihght,omitempty"` // 人脸区域宽度 Width int64 `json:"width,omitempty" xml:"width,omitempty"` // 以图片左上角为坐标原点,人脸区域左上角到x轴距离 Y int64 `json:"y,omitempty" xml:"y,omitempty"` // 以图片左上角为坐标原点,人脸区域左上角到y轴距离 X int64 `json:"x,omitempty" xml:"x,omitempty"` }
SfaceData 结构体
type SubResult ¶
type SubResult struct { // 识别到的图片中的完整文字信息。 说明 默认不返回,如需返回请通过工单联系我们 OcrDataList []string `json:"ocr_data_list,omitempty" xml:"ocr_data_list>string,omitempty"` // 如果待检测图片因为过长被截断,该参数返回截断后的每一帧图像的临时访问地址,供您参考。具体结构描述见Frame Frames []Frame `json:"frames,omitempty" xml:"frames>frame,omitempty"` // 图片中含有广告时,返回图片中广告文字命中的风险关键词信息。格式为数组,具体结构描述见HintWordsInfo。 说明 仅适用于ad场景。 示例值: "hintWordsInfo":[{"context":"敏感词"}] HintWordsInfoList []HintWordsInfo `json:"hint_words_info_list,omitempty" xml:"hint_words_info_list>hint_words_info,omitempty"` // 图片中含有小程序码时,返回小程序码的位置信息,具体结构描述见ProgramCodeData。说明 仅适用于qrcode场景,且已通过工单联系我们开通了小程序码识别 ProgramCodeDataList []ProgramCodeData `json:"program_code_data_list,omitempty" xml:"program_code_data_list>program_code_data,omitempty"` // 图片中含有logo时,返回识别出来的logo信息,具体结构描述见LogoData。 说明 仅适用于logo场景 LogoDataList []LogoData `json:"logo_data_list,omitempty" xml:"logo_data_list>logo_data,omitempty"` // 图片中包含暴恐识涉政内容时,返回识别出来的暴恐涉政信息,具体结构描述见SfaceData。 说明 仅适用于terrorism和sface场景。关于该参数在sface场景中的具体内容,请参见敏感人脸检测 SfaceDataList []SfaceData `json:"sface_data_list,omitempty" xml:"sface_data_list>sface_data,omitempty"` // 建议您执行的操作,取值范围: pass:图片正常,无需进行其余操作;或者未识别出目标对象 review:检测结果不确定,需要进行人工审核;或者识别出目标对象 block:图片违规,建议执行进一步操作(如直接删除或做限制处理) Suggestion string `json:"suggestion,omitempty" xml:"suggestion,omitempty"` // 检测结果的分类,与具体的scene对应。取值范围参见scene和label说明。 Label string `json:"label,omitempty" xml:"label,omitempty"` // 图片检测场景,和调用请求中的场景(scenes)对应 Scene string `json:"scene,omitempty" xml:"scene,omitempty"` // 相似概率 Rate int64 `json:"rate,omitempty" xml:"rate,omitempty"` }
SubResult 结构体
type Task ¶
type Task struct { // 数据ID DataId string `json:"data_id,omitempty" xml:"data_id,omitempty"` // 待检测图像的URL。支持HTTP和HTTPS协议。当前仅支持上海地域的OSS链接 ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"` // 待检测的内容 Content string `json:"content,omitempty" xml:"content,omitempty"` // 图片创建或编辑时间 ImageTime int64 `json:"image_time,omitempty" xml:"image_time,omitempty"` // 截帧频率 Interval int64 `json:"interval,omitempty" xml:"interval,omitempty"` // 最大截帧数量 MaxFrames int64 `json:"max_frames,omitempty" xml:"max_frames,omitempty"` }
Task 结构体
type TextRectangle ¶
type TextRectangle struct { // 文字区域左上角x坐标 Left int64 `json:"left,omitempty" xml:"left,omitempty"` // 文字区域角度,角度范围[0, 360] Angle int64 `json:"angle,omitempty" xml:"angle,omitempty"` // 文字区域左上角y坐标 Top int64 `json:"top,omitempty" xml:"top,omitempty"` // 文字区域高度 Height int64 `json:"height,omitempty" xml:"height,omitempty"` // 文字区域宽度 Width int64 `json:"width,omitempty" xml:"width,omitempty"` }
TextRectangle 结构体
func GetTextRectangle ¶ added in v1.3.4
func GetTextRectangle() *TextRectangle
GetTextRectangle() 从对象池中获取TextRectangle
Source Files ¶
- AliyunViapiFacebodyComparefaceAPIRequest.go
- AliyunViapiFacebodyComparefaceAPIResponse.go
- AliyunViapiFacebodyComparefaceData.go
- AliyunViapiFacebodyDetectfaceAPIRequest.go
- AliyunViapiFacebodyDetectfaceAPIResponse.go
- AliyunViapiFacebodyDetectfaceData.go
- AliyunViapiFacebodyRecognizefaceAPIRequest.go
- AliyunViapiFacebodyRecognizefaceAPIResponse.go
- AliyunViapiFacebodyRecognizefaceData.go
- AliyunViapiGoodstechClassifygoodsAPIRequest.go
- AliyunViapiGoodstechClassifygoodsAPIResponse.go
- AliyunViapiGoodstechClassifygoodsData.go
- AliyunViapiGoodstechRecognizeFurnitureAttributeAPIRequest.go
- AliyunViapiGoodstechRecognizeFurnitureAttributeAPIResponse.go
- AliyunViapiGoodstechRecognizeFurnitureAttributeData.go
- AliyunViapiGoodstechRecognizeFurniturespuAPIRequest.go
- AliyunViapiGoodstechRecognizeFurniturespuAPIResponse.go
- AliyunViapiGoodstechRecognizeFurniturespuData.go
- AliyunViapiImageauditScanimageAPIRequest.go
- AliyunViapiImageauditScanimageAPIResponse.go
- AliyunViapiImageauditScanimageData.go
- AliyunViapiImageauditScanimageResult.go
- AliyunViapiImageauditScantextAPIRequest.go
- AliyunViapiImageauditScantextAPIResponse.go
- AliyunViapiImageauditScantextData.go
- AliyunViapiImageauditScantextDetail.go
- AliyunViapiImageauditScantextResult.go
- AliyunViapiImagesegSegmentCommonimageAPIRequest.go
- AliyunViapiImagesegSegmentCommonimageAPIResponse.go
- AliyunViapiImagesegSegmentCommonimageData.go
- AliyunViapiImagesegSegmentcomodityAPIRequest.go
- AliyunViapiImagesegSegmentcomodityAPIResponse.go
- AliyunViapiImagesegSegmentcomodityData.go
- AliyunViapiImagesegSegmenthdbodyAPIRequest.go
- AliyunViapiImagesegSegmenthdbodyAPIResponse.go
- AliyunViapiImagesegSegmenthdbodyData.go
- AliyunViapiImagesegSegmentheadAPIRequest.go
- AliyunViapiImagesegSegmentheadAPIResponse.go
- AliyunViapiImagesegSegmentheadData.go
- AliyunViapiObjectdetDetectobjectAPIRequest.go
- AliyunViapiObjectdetDetectobjectAPIResponse.go
- AliyunViapiObjectdetDetectobjectData.go
- AliyunViapiOcrCharacterAPIRequest.go
- AliyunViapiOcrCharacterAPIResponse.go
- AliyunViapiOcrCharacterData.go
- AliyunViapiOcrCharacterResult.go
- Category.go
- Context.go
- Element.go
- Elements.go
- Face.go
- Frame.go
- HintWordsInfo.go
- Label.go
- LogoData.go
- ProgramCodeData.go
- SfaceData.go
- SubResult.go
- Task.go
- TextRectangle.go
- doc.go