VikParuchuri / marker

Convert PDF to markdown quickly with high accuracy
GNU General Public License v3.0
13.84k stars 691 forks source link

Marker skips chapter during text extraction #166

Open nekiee13 opened 1 month ago

nekiee13 commented 1 month ago
  1. Installed Marker from the dev branch, under Win11. For some reason it always skips complete Chapter 5 -> "V. Instructions, Procedures, and Drawings" Document attached: 10CFR50AppB_LibOff.pdf

  2. When executing script, I also get this warning message, but it seems that it does not cause any issues:

    D:\PDF\vMarker2a\lib\site-packages\threadpoolctl.py:1214: RuntimeWarning: 
    Found Intel OpenMP ('libiomp') and LLVM OpenMP ('libomp') loaded at the same time. Both libraries are known to be incompatible and this can cause random crashes or deadlocks on Linux when loaded in the same Python program.
    Using threadpoolctl may cause crashes or deadlocks. For more information and possible workarounds, please see
    https://github.com/joblib/threadpoolctl/blob/master/multiple_openmp.md
    
    warnings.warn(msg, RuntimeWarning)
VikParuchuri commented 4 weeks ago

Probably the text for that chapter isn't in the PDF. If you set OCR_ALL_PAGES=true, does it do any differently?

nekiee13 commented 4 weeks ago

Set OCR to True and repeated. No change. Json confirms successful OCR. Attached Json log.

https://gist.github.com/nekiee13/43169c47126fd6f6d9f3de2438ead2dd