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