Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicRecognizeImagePathReqBodyBuilder ¶
type BasicRecognizeImagePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBasicRecognizeImagePathReqBodyBuilder ¶
func NewBasicRecognizeImagePathReqBodyBuilder() *BasicRecognizeImagePathReqBodyBuilder
func (*BasicRecognizeImagePathReqBodyBuilder) Build ¶
func (builder *BasicRecognizeImagePathReqBodyBuilder) Build() (*BasicRecognizeImageReqBody, error)
func (*BasicRecognizeImagePathReqBodyBuilder) Image ¶
func (builder *BasicRecognizeImagePathReqBodyBuilder) Image(image string) *BasicRecognizeImagePathReqBodyBuilder
base64 后的图片数据
示例值:base64后的图片二进制数据
type BasicRecognizeImageReq ¶
type BasicRecognizeImageReq struct { Body *BasicRecognizeImageReqBody `body:""` // contains filtered or unexported fields }
type BasicRecognizeImageReqBody ¶
type BasicRecognizeImageReqBody struct {
Image *string `json:"image,omitempty"` // base64 后的图片数据
}
type BasicRecognizeImageReqBodyBuilder ¶
type BasicRecognizeImageReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBasicRecognizeImageReqBodyBuilder ¶
func NewBasicRecognizeImageReqBodyBuilder() *BasicRecognizeImageReqBodyBuilder
func (*BasicRecognizeImageReqBodyBuilder) Build ¶
func (builder *BasicRecognizeImageReqBodyBuilder) Build() *BasicRecognizeImageReqBody
func (*BasicRecognizeImageReqBodyBuilder) Image ¶
func (builder *BasicRecognizeImageReqBodyBuilder) Image(image string) *BasicRecognizeImageReqBodyBuilder
base64 后的图片数据
示例值:base64后的图片二进制数据
type BasicRecognizeImageReqBuilder ¶
type BasicRecognizeImageReqBuilder struct {
// contains filtered or unexported fields
}
func NewBasicRecognizeImageReqBuilder ¶
func NewBasicRecognizeImageReqBuilder() *BasicRecognizeImageReqBuilder
func (*BasicRecognizeImageReqBuilder) Body ¶
func (builder *BasicRecognizeImageReqBuilder) Body(body *BasicRecognizeImageReqBody) *BasicRecognizeImageReqBuilder
可识别图片中的文字,按图片中的区域划分,分段返回文本列表
func (*BasicRecognizeImageReqBuilder) Build ¶
func (builder *BasicRecognizeImageReqBuilder) Build() *BasicRecognizeImageReq
type BasicRecognizeImageResp ¶
type BasicRecognizeImageResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BasicRecognizeImageRespData `json:"data"` // 业务数据 }
func (*BasicRecognizeImageResp) Success ¶
func (resp *BasicRecognizeImageResp) Success() bool
type BasicRecognizeImageRespData ¶
type BasicRecognizeImageRespData struct {
TextList []string `json:"text_list,omitempty"` // 按区域识别,返回文本列表
}
type OpticalCharRecognitionService ¶
type OpticalCharRecognitionService struct { Image *image // 图片识别 // contains filtered or unexported fields }
func NewService ¶
func NewService(config *larkcore.Config) *OpticalCharRecognitionService
Click to show internal directories.
Click to hide internal directories.