Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MattingPredictData ¶
type MattingPredictRequest ¶
type MattingPredictRequest struct { /** * 图片二进制流,使用Base64编码 图片格式:JPG(JPEG),PNG 图片像素尺寸:最小48*48像素,最大4096*4096像素 图片文件大小:最大 5MB */ Content string `json:"content"` /** * 1:菜品抠图 2:商品抠图 */ Type int32 `json:"type"` }
func (*MattingPredictRequest) DoInvoke ¶
func (req *MattingPredictRequest) DoInvoke(client mtclient.MeituanClient) (*MattingPredictResponse, error)
type MattingPredictResponse ¶
type MattingPredictResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data MattingPredictData `json:"data"` TraceId string `json:"traceId"` }
func (*MattingPredictResponse) IsSuccess ¶
func (response *MattingPredictResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.