Skip to content

Commit

Permalink
🎨 桌面端支持搜索图片 OCR 文本 #3470
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Jan 16, 2023
1 parent 117dfb2 commit aa6f7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/util/tesseract.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func initTesseract() {
logging.LogWarnf("no eng tesseract lang found")
return
}
if !gulu.Str.Contains("chi_*", langs) {
if !gulu.Str.Contains("chi_", langs) {
logging.LogWarnf("no chi_* tesseract lang found")
return
}
Expand Down

0 comments on commit aa6f7c8

Please sign in to comment.