// 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) }
func Process(filename, language string) (string, error) { p := C.CString(filename) w := C.CString("") s := C.simple(p, w) return C.GoString(s) }