mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
🎨 桌面端支持搜索图片 OCR 文本 https://github.com/siyuan-note/siyuan/issues/3470
This commit is contained in:
parent
117dfb2bf7
commit
aa6f7c8793
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ func initTesseract() {
|
||||||
logging.LogWarnf("no eng tesseract lang found")
|
logging.LogWarnf("no eng tesseract lang found")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !gulu.Str.Contains("chi_*", langs) {
|
if !gulu.Str.Contains("chi_", langs) {
|
||||||
logging.LogWarnf("no chi_* tesseract lang found")
|
logging.LogWarnf("no chi_* tesseract lang found")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue