recognizemenu

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 RecognizeMenuData

type RecognizeMenuData struct {
	/**
	 * 菜名数目
	 */
	NDishNum int32 `json:"nDishNum"`
	/**
	 * 菜单识别结果
	 */
	Menus string `json:"menus"`
}

type RecognizeMenuRequest

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

func (*RecognizeMenuRequest) DoInvoke

type RecognizeMenuResponse

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

func (*RecognizeMenuResponse) IsSuccess

func (response *RecognizeMenuResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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