1 Star 0 Fork 1

AAAA建材批发/gosseract

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
wrapper.go 350 Bytes
一键复制 编辑 原始数据 按行查看 历史
mmm mmmm 提交于 2015-11-05 04:24 +08:00 . added languages variable eg:ara+eng
package tesseract
/*
#cgo LDFLAGS: -llept -ltesseract
#include "tess.h"
*/
import "C"
// Simple executes tesseract only with source image file path.
func Simple(imgPath string, whitelist string,languages string) string {
p := C.CString(imgPath)
w := C.CString(whitelist)
l := C.CString(languages)
s := C.simple(p, w,l)
return C.GoString(s)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/invokerwf/gosseract.git
git@gitee.com:invokerwf/gosseract.git
invokerwf
gosseract
gosseract
df11bbf9be4c

搜索帮助