Add logs before OCR

This commit is contained in:
jendib 2013-08-17 15:47:07 +02:00
parent 8378b346e9
commit 234eaf047e

View File

@ -56,6 +56,7 @@ public class FileUtil {
// OCR the file // OCR the file
try { try {
log.info("Starting OCR with TESSDATA_PREFIX=" + System.getenv("TESSDATA_PREFIX") + ";LC_NUMERIC=" + System.getenv("LC_NUMERIC"));
instance.setLanguage(document.getLanguage()); instance.setLanguage(document.getLanguage());
content = instance.doOCR(image); content = instance.doOCR(image);
} catch (Exception e) { } catch (Exception e) {