larkoptical_char_recognition

package
v3.2.7 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 3 Imported by: 6

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 (*BasicRecognizeImagePathReqBodyBuilder) Image

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 (*BasicRecognizeImageReqBodyBuilder) Image

base64 后的图片数据

示例值:base64后的图片二进制数据

type BasicRecognizeImageReqBuilder

type BasicRecognizeImageReqBuilder struct {
	// contains filtered or unexported fields
}

func NewBasicRecognizeImageReqBuilder

func NewBasicRecognizeImageReqBuilder() *BasicRecognizeImageReqBuilder

func (*BasicRecognizeImageReqBuilder) Body

可识别图片中的文字,按图片中的区域划分,分段返回文本列表

func (*BasicRecognizeImageReqBuilder) Build

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 DepartmentId added in v3.0.29

type DepartmentId struct {
	DepartmentId     *string `json:"department_id,omitempty"`      //
	OpenDepartmentId *string `json:"open_department_id,omitempty"` //
}

type DepartmentIdBuilder added in v3.0.29

type DepartmentIdBuilder struct {
	// contains filtered or unexported fields
}

func NewDepartmentIdBuilder added in v3.0.29

func NewDepartmentIdBuilder() *DepartmentIdBuilder

func (*DepartmentIdBuilder) Build added in v3.0.29

func (builder *DepartmentIdBuilder) Build() *DepartmentId

func (*DepartmentIdBuilder) DepartmentId added in v3.0.29

func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder

示例值:

func (*DepartmentIdBuilder) OpenDepartmentId added in v3.0.29

func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder

示例值:

type Image

type Image struct {
}

type V1 added in v3.1.0

type V1 struct {
	Image *image // 图片识别
}

func New added in v3.1.0

func New(config *larkcore.Config) *V1

Jump to

Keyboard shortcuts

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