From d99f758e41d2c52a319b4081e17b8e53a6333700 Mon Sep 17 00:00:00 2001 From: manalejandro Date: Mon, 16 Jul 2018 15:57:10 +0200 Subject: [PATCH] tesseract language --- .../com/manalejandro/arjion/controllers/MainController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/manalejandro/arjion/controllers/MainController.java b/src/main/java/com/manalejandro/arjion/controllers/MainController.java index f82ed25..a13b92b 100644 --- a/src/main/java/com/manalejandro/arjion/controllers/MainController.java +++ b/src/main/java/com/manalejandro/arjion/controllers/MainController.java @@ -95,7 +95,7 @@ public class MainController { PDFParserConfig pdfConfig = new PDFParserConfig(); TesseractOCRConfig tesseractConfig = new TesseractOCRConfig(); tesseractConfig.setTesseractPath(tesseractpath); - tesseractConfig.setLanguage("esp+eng"); + tesseractConfig.setLanguage("spa+eng"); pdfConfig.setExtractInlineImages(true); ParseContext parseContext = new ParseContext(); parseContext.set(TesseractOCRConfig.class, tesseractConfig);