diff --git a/src/main/java/com/manalejandro/arjion/controllers/MainController.java b/src/main/java/com/manalejandro/arjion/controllers/MainController.java index 4ed9966..f82ed25 100644 --- a/src/main/java/com/manalejandro/arjion/controllers/MainController.java +++ b/src/main/java/com/manalejandro/arjion/controllers/MainController.java @@ -95,6 +95,7 @@ public class MainController { PDFParserConfig pdfConfig = new PDFParserConfig(); TesseractOCRConfig tesseractConfig = new TesseractOCRConfig(); tesseractConfig.setTesseractPath(tesseractpath); + tesseractConfig.setLanguage("esp+eng"); pdfConfig.setExtractInlineImages(true); ParseContext parseContext = new ParseContext(); parseContext.set(TesseractOCRConfig.class, tesseractConfig);