You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2018/11/28 22:03:00 UTC

[jira] [Comment Edited] (PDFBOX-4371) Improve ExtractText utility so that it can extract rotated text automatically

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

Tim Allison edited comment on PDFBOX-4371 at 11/28/18 10:02 PM:
----------------------------------------------------------------

This seems to help extraction generally.  I just finished a run against Tika's main regression corpus comparing 2.0.13 with and without this feature. 

Results are here: http://162.242.228.174/reports/reports_pdfbox_2_0_13-pre-rc-detectAngles.tgz

When I have the time comparisons, I'll post those here.  

I did notice we had some new timeouts, and I'll post those here as well after I look a bit more closely.

I also want to try this out on our updated regression corpus.

Thank you, [~tilman]!


was (Author: tallison@mitre.org):
This seems to help extraction generally.  I just finished a run against our main regression corpus comparing 2.0.13 with and without this feature. 

Results are here: http://162.242.228.174/reports/reports_pdfbox_2_0_13-pre-rc-detectAngles.tgz

When I have the time comparisons, I'll post those here.  

I did notice we had some new timeouts, and I'll post those here as well after I look a bit more closely.

I also want to try this out on our updated regression corpus.

Thank you, [~tilman]!

> Improve ExtractText utility so that it can extract rotated text automatically
> -----------------------------------------------------------------------------
>
>                 Key: PDFBOX-4371
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4371
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Text extraction, Utilities
>    Affects Versions: 2.0.12, 3.0.0 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.13, 3.0.0 PDFBox
>
>         Attachments: ExtractAngledText.java
>
>
> In a first step, detect all rotations by analyzing the effective text rendering matrix. In a second step, do a text extraction for each rotation by prepending an appropriate transform to the page content stream (so that our text has angle == 0) and then filtering any rotated text. Test file: the file from PDFBOX-4368.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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