Kaynağa Gözat

:art: Add logging https://github.com/siyuan-note/siyuan/issues/12960

Daniel 8 ay önce
ebeveyn
işleme
b844ff5503
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      kernel/util/ocr.go

+ 1 - 0
kernel/util/ocr.go

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