pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Meier (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-2998) Enhance the text extraction capabilities
Date Thu, 17 Dec 2015 14:44:46 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062121#comment-15062121
] 

Andreas Meier commented on PDFBOX-2998:
---------------------------------------

I think it is the right place to comment.

Writing an algorithm to detect definite blocks of text should not be that hard, but those
algorithms might fail in more complex scenarios.

If you can separate your code from the PDFTextStripper I will have a look at it.



> Enhance the text extraction capabilities
> ----------------------------------------
>
>                 Key: PDFBOX-2998
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2998
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Text extraction
>    Affects Versions: 2.0.0
>            Reporter: Andreas Meier
>         Attachments: DropCapExample1.pdf, DropCapExample2.pdf, DropCapExample3.pdf, DropCapExample4.pdf,
DropCapExample5.pdf, DropCapSegmentation.jpg, TextBehindText.pdf
>
>
> PDFBox will need some -document layout analysis tools- enhancement to the current text
extraction to extract text correctly.
> At the Moment the text of a document is extracted using the position of single characters.
> This may lead to wrong results, due to the format of the file.
> There are good tools such as  https://code.google.com/p/lapdftext which we could use
to compare our current output.
> Possible enhancements are
> - enhance matching of text to a certain line i.e. don't mix up text from different lines
> - better handling of rotated text
> - handling of vertical text
> - ability to get additional text properties such as font, font size ...
> Some of these are already logged as individual tickets



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message