mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-21 22:44:06 +01:00
🎨 桌面端支持搜索图片 OCR 文本 https://github.com/siyuan-note/siyuan/issues/3470
This commit is contained in:
parent
f49ebee0e8
commit
6cdfde7578
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ func initTesseract() {
|
|||
}
|
||||
|
||||
for _, lang := range langs {
|
||||
if "eng" == lang || "chi_sim" == lang {
|
||||
if "eng" == lang || strings.HasPrefix(lang, "chi") {
|
||||
TesseractLangs = append(TesseractLangs, lang)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue