ocrKit

package
v2.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetText

func GetText(imgPath string, languages ...string) (string, error)

GetText 通过 命令行 实现

PS: (1) 实际上依赖于tesseract; (2) 初步测试,此方法是并发安全的; (3) 识别并不精确,有些图片可能识别不到文本(e.g.图片很小且就一两个字符).

Types

This section is empty.

Jump to

Keyboard shortcuts

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