[
https://issues.apache.org/jira/browse/PDFBOX-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15006727#comment-15006727
]
Tilman Hausherr commented on PDFBOX-3110:
-----------------------------------------
This commit improves the 003422 file, but not fully the file from PDFBOX-3109.
That one has the problem that the bead coordinates are too close to the text.
Substracting 1 from the lower left X rectangle coordinate solves this, but I'm
not sure if this is a general solution.
> Extract by beads doesn't work
> -----------------------------
>
> Key: PDFBOX-3110
> URL: https://issues.apache.org/jira/browse/PDFBOX-3110
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 1.8.10, 1.8.11, 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Labels: beads
> Attachments: 003422-1-bad.txt, 003422-1-good.txt, 003422-1.pdf,
> 003422-marked-1.png
>
>
> Text extraction by beads has never worked, or (more likely) has been broken
> years ago, when/if the code was changed so that text positions are in image
> coordinates (y=0 is top) and not in PDF coordinates (y=0 is bottom).
> todos:
> - adjust bead rectangles (done locally)
> - adjust for cropbox (done locally)
> - separate output from different beads with a newline (will open a different
> issue if I don't find solution)
> - optimize
> - find a non copyrighted test file
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]