Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4101

Word ordering / line detection failures in text extraction

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.8
    • Fix Version/s: None
    • Component/s: Text extraction
    • Labels:
      None

      Description

      Dear Apache contributors,

      I am a  user of pdfbox mainly for the purpose of text extraction. The word ordering is not correct for some cases and the line detection may fail too.

      Attachments:

      • 1st page: the first letter D is not written before "uis sit amet..." but at the end of the page ;
      • 2nd page: the sentence "scolaire ferry" is just before "réouverture du musée" which is wrong because it's not on the same column ;

      To manage these cases would be more than welcome  A.

        Attachments

        1. hardtests-11.png
          1.75 MB
          Alexandre
        2. fails_line_detection-unsort.txt
          6 kB
          Tilman Hausherr
        3. fails_line_detection-sort.txt
          6 kB
          Tilman Hausherr
        4. fails_line_detection.pdf
          103 kB
          Alexandre

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arelaxend Alexandre
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: