🎨 OCR logging

This commit is contained in:
Liang Ding 2023-01-29 11:33:29 +08:00
parent fb3a6c3059
commit 8c83ea6a52
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -69,6 +69,8 @@ func Tesseract(imgAbsPath string) string {
return ""
}
defer logging.Recover()
if !IsTesseractExtractable(imgAbsPath) {
return ""
}