larkoptical_char_recognition

package
v3.0.21 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 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 Image

type Image struct {
}

type OpticalCharRecognitionService

type OpticalCharRecognitionService struct {
	Image *image // 图片识别
	// contains filtered or unexported fields
}

func NewService

func NewService(config *larkcore.Config) *OpticalCharRecognitionService

Jump to

Keyboard shortcuts

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