mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 OCR logging
This commit is contained in:
parent
fb3a6c3059
commit
8c83ea6a52
1 changed files with 2 additions and 0 deletions
|
|
@ -69,6 +69,8 @@ func Tesseract(imgAbsPath string) string {
|
|||
return ""
|
||||
}
|
||||
|
||||
defer logging.Recover()
|
||||
|
||||
if !IsTesseractExtractable(imgAbsPath) {
|
||||
return ""
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue