ocr

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*kernel.BaseClient

	AllowTypes []string
}

func NewClient

func NewClient(app kernel.ApplicationInterface) (*Client, error)

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)

func (*Client) Common

func (comp *Client) Common(path string) (*response.ResponseOCRCommon, error)

通用印刷体 OCR 识别接口 https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html

func (*Client) IDCard

func (comp *Client) IDCard(path string, IDType string) (*response.ResponseOCRIDCard, error)

身份证 OCR 识别接口 https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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