imagetagsfoodscene

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageTagsFoodSceneData

type ImageTagsFoodSceneData struct {
	/**
	 * 菜品标签
	 */
	Tags []Tags `json:"tags"`
}

type ImageTagsFoodSceneRequest

type ImageTagsFoodSceneRequest struct {
	/**
	 * 图片二进制流,使用Base64编码 图片格式:JPG(JPEG),PNG 图片像素尺寸:最小48*48像素,最大4096*4096像素 图片文件大小:最大 5MB
	 */
	Content string `json:"content"`
}

func (*ImageTagsFoodSceneRequest) DoInvoke

type ImageTagsFoodSceneResponse

type ImageTagsFoodSceneResponse struct {
	Code    string                 `json:"code"`
	Msg     string                 `json:"msg"`
	Data    ImageTagsFoodSceneData `json:"data"`
	TraceId string                 `json:"traceId"`
}

func (*ImageTagsFoodSceneResponse) IsSuccess

func (response *ImageTagsFoodSceneResponse) IsSuccess() bool

type Tags

type Tags struct {
	/**
	 * 标签名称 [宣传图,美食,Logo,菜单,小票,其他,内部环境,外部环境]
	 */
	Name string `json:"name"`
	/**
	 * 置信度 范围0-1 0为非菜品图片,1为菜品图片,0~1区间表示为菜品的可信度。
	 */
	Prob float64 `json:"prob"`
}

Jump to

Keyboard shortcuts

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