An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: 桌面端支持搜索图片 OCR 文本 https://github.com/siyuan-note/siyuan/issues/3470
Liang Ding79e625570a82
diff --git a/kernel/util/tesseract.go b/kernel/util/tesseract.goindex 87a8c4332e..c616259690 100644--- a/kernel/util/tesseract.go+++ b/kernel/util/tesseract.go@@ -94,7 +94,7 @@ func Tesseract(imgAbsPath string) string {ret = strings.ReplaceAll(ret, "\t", " ")reg := regexp.MustCompile("\\s{2,}")ret = reg.ReplaceAllString(ret, " ")- //logging.LogInfof("tesseract [path=%s, size=%d, text=%s, elapsed=%dms]", imgAbsPath, info.Size(), ret, time.Since(now).Milliseconds())+ logging.LogInfof("tesseract [path=%s, size=%d, text=%s, elapsed=%dms]", imgAbsPath, info.Size(), ret, time.Since(now).Milliseconds())msg := fmt.Sprintf("OCR [%s] [%s]", info.Name(), ret)PushStatusBar(msg)return ret