[ https://issues.apache.org/jira/browse/TIKA-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17821773#comment-17821773 ]
Hudson commented on TIKA-4202: ------------------------------ SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk11 #1533 (See [https://ci-builds.apache.org/job/Tika/job/tika-main-jdk11/1533/]) TIKA-4202 -- add ocr page count to PDFs -- actually increment counter and move the location of the counter to before OCR is invoked (#1630) (github: [https://github.com/apache/tika/commit/2bc0f9bdce21559f592ef71919d242974be027fb]) * (edit) tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/src/main/java/org/apache/tika/parser/pdf/OCRPageCounter.java * (edit) tika-core/src/main/java/org/apache/tika/metadata/PDF.java * (edit) tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/parser/ocr/TesseractOCRParserTest.java * (edit) tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/src/test/java/org/apache/tika/parser/pdf/PDFParserTest.java * (edit) tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/src/main/java/org/apache/tika/parser/pdf/AbstractPDF2XHTML.java > Add page count of OCR'd pages in metadata for PDF files > ------------------------------------------------------- > > Key: TIKA-4202 > URL: https://issues.apache.org/jira/browse/TIKA-4202 > Project: Tika > Issue Type: New Feature > Reporter: Tim Allison > Priority: Minor > Fix For: 3.0.0 > > > It would be useful to store the number of pages that triggered OCR in PDFs. > PDFs are treated differently than other files because the default is to > render the page and then run OCR "inline", whereas for other file formats, we > run OCR on embedded images, which are treated as embedded files. We can count > tesseract as the parser for embedded images in regular files, but we can't do > that with PDFs ... yet. -- This message was sent by Atlassian Jira (v8.20.10#820010)