mirror of
https://github.com/sismics/docs.git
synced 2024-11-14 18:27:58 +01:00
Merge branch 'master' of https://github.com/sismics/docs.git
This commit is contained in:
commit
36b5bf3bb2
@ -88,7 +88,7 @@ public class FileUtil {
|
||||
log.info("Starting OCR with TESSDATA_PREFIX=" + System.getenv("TESSDATA_PREFIX") + ";LC_NUMERIC=" + System.getenv("LC_NUMERIC"));
|
||||
instance.setLanguage(document.getLanguage());
|
||||
content = instance.doOCR(image);
|
||||
} catch (Exception e) {
|
||||
} catch (Throwable e) {
|
||||
log.error("Error while OCR-izing the image", e);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user