🎨 Add logging https://github.com/siyuan-note/siyuan/issues/12960
This commit is contained in:
parent
b64709c9ec
commit
cb16e5781e
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue