Skip to content

Accuracy & vRAM: pdfalto vs PyMuPDF vs pdfplumber vsPDFFigures 2.0 #1432

Description

@flckv

Grobid version

9

Operating System and architecture (arm64, amd64, x86, etc.)

No response

What is your Java version

No response

Log and information

I understand that

pdfalto (that grobid9 uses) is different than the models that are popular today that rely on pixel and or semantic layerings, making processing time slow.

However, I noticed there are several technologies other than pdfalto that also use similar methods and so are lightweight.

Heuristic Rules (Programmatic/Low-Level)
Method: Parses the PDF byte stream (code), objects, and font metadata.
Tools: pdfalto, PyMuPDF, pdfplumber, PDFFigures 2.0.
Compute: Lightweight (CPU).
Benchmark Context: Usually evaluated on PubLayNet or DocBank (older standards).

Do you have any testing documentation where we have a better understanding on why pdfalto more accurately with less vRAM extracts tables, figures and formulas than PyMuPDF, pdfplumber or PDFFigures 2.0?

Besides the processing time it seems that even the semantic vision approach can miss parts of images in pdfs e.g. X-PLUG/mPLUG-DocOwl#27 . I wonder if relying on extracting images using pdfalto would be more accurate in unique cases like this?

( I tried your QA chat but couldn't respond me)

Further information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionThere's no such thing as a stupid question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions