ocrKit

package
v3.0.909 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetApiKeyAndSecretKey

func SetApiKeyAndSecretKey(apiKey, secretKey string) error

Types

type Words

type Words struct {
	LogId          uint64        `mapstructure:"log_id"`
	WordsResultNum uint32        `mapstructure:"words_result_num"`
	WordsResults   []WordsResult `mapstructure:"words_result"`
}

func RecognizeUniversalWords

func RecognizeUniversalWords(imagePath string) (*Words, error)

RecognizeUniversalWords 通用文字识别(标准版)

文档: https://cloud.baidu.com/doc/OCR/s/zk3h7xz52 https://ai.baidu.com/ai-doc/OCR/zk3h7xz52

type WordsResult

type WordsResult struct {
	Words string `mapstructure:"words"`
}

Jump to

Keyboard shortcuts

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