There's already plenty of open source implementations of PDF parsing: Ghostscript, MuPDF, XPDF, Poppler, Pdfium, just to name the first few that come to mind.
I’ve never seen it work though.
https://www.iso.org/obp/ui/#iso:std:iso:19444:-1:ed-1:v1:en
Though, it was mostly an exercise in frustration. That said, IRS forms used to work great with this.
However, long story short, Evince works most of the time.