question: public Extractor ( final Logger logger ) { this . logger = logger ; pdfConfig . setExtractInlineImages ( true ) ; pdfConfig . setExtractUniqueInlineImagesOnly ( false ) ; ocrConfig . setTimeout ( Math . toIntExact ( DEFAULT_OCR_TIMEOUT . to ( TimeUnit . SECONDS ) ) ) ; }
target:  Create a new extractor, which will OCR images by default if Tesseract is available locally, extract inline images from PDF files and OCR them and use PDFBox's non-sequential PDF parser.