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: Tesseract OCR 使用用户安装的语言包 Fix https://github.com/siyuan-note/siyuan/issues/7157
Liang Ding4d18229320bb
diff --git a/kernel/util/tesseract.go b/kernel/util/tesseract.goindex 3f433635ec..deabd80e71 100644--- a/kernel/util/tesseract.go+++ b/kernel/util/tesseract.go@@ -123,23 +123,6 @@ func initTesseract() {}}logging.LogInfof("tesseract-ocr enabled [ver=%s, langs=%s]", ver, strings.Join(TesseractLangs, "+"))-- if !gulu.Str.Contains("eng", TesseractLangs) {- logging.LogWarnf("no eng tesseract lang found")- return- }-- foundChi := false- for _, lang := range TesseractLangs {- if strings.Contains(lang, "chi") {- foundChi = true- break- }- }- if !foundChi {- logging.LogWarnf("no chi_* tesseract lang found")- return- }}func getTesseractVer() (ret string) {