tesseract language
This commit is contained in:
parent
0d837b5a42
commit
d99f758e41
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user