This commit is contained in:
Daniel 2024-10-31 11:02:14 +08:00
parent b64709c9ec
commit cb16e5781e
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -228,7 +228,7 @@ func Tesseract(imgAbsPath string) (ret []map[string]interface{}) {
}
tsv := string(output)
logging.LogInfof("tesseract [path=%s, size=%d] success", imgAbsPath, info.Size())
logging.LogInfof("tesseract [path=%s] success [%s]", imgAbsPath, tsv)
// 按行分割 TSV 数据
lines := strings.Split(tsv, "\r\n")