api

package module
v0.0.0-...-3b8a4f5 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: MIT Imports: 7 Imported by: 0

README

baidubce.api.go

Golang wapper for Baidu Open API.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api interface {
	// 识别图片上的文字(通用)
	ImageToString(img []byte) (text string, err error)
	// 识别图片上的数字
	ImageToNum(img []byte) (text string, err error)
}

func NewApi

func NewApi(apiKey string, secretKey string) Api

Jump to

Keyboard shortcuts

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