marker
pdfcpu
marker | pdfcpu | |
---|---|---|
8 | 30 | |
8,225 | 6,310 | |
- | 1.6% | |
7.8 | 9.1 | |
1 day ago | 4 days ago | |
Python | Go | |
GNU General Public License v3.0 only | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
marker
-
LlamaCloud and LlamaParse
You may want to try https://github.com/VikParuchuri/surya (I'm the author). I've only benchmarked against tesseract, but it outperforms it by a lot (benchmarks in repo). Happy to discuss.
You could also try https://github.com/VikParuchuri/marker for general PDF parsing (I'm also the author) - it seems like you're more focused on tables.
-
Show HN: Texify – OCR math images to LaTeX and Markdown
Hi HN - I made texify to convert equations to markdown/LaTeX for my project marker [1] then realized it could be generally useful.
Texify converts equations and surrounding text to Markdown, with embedded LaTeX (MathJax compatible).
You can either use a GUI to select equations (inline or block) from PDFs and images to convert, or use the CLI to batch convert images. It works on CPU, GPU, or MPS (Mac).
The closest open source comparisons are pix2tex and nougat - marker is more accurate than both of them for this task. However, nougat is more for entire pages, and pix2tex is more for block equations (not inline equations and text).
I trained texify for 2 days on 4x A6000 GPUs - I was pleasantly surprised how far I could get with limited GPU resources by reframing the problem to use small parameter counts/images.
Texify is licensed for commercial use, with the weights under CC-BY-SA 4.0. Fine them here - https://huggingface.co/vikp/texify .
See the texify repo for more details, benchmarks, how to install, etc.
[1] https://github.com/VikParuchuri/marker
-
Show HN: Talk to any ArXiv paper just by changing the URL
https://github.com/VikParuchuri/marker
Both are tools to convert pdfs into Latex or Markup with latex formulas. Maybe that helps
- FLaNK Stack Weekly 11 Dec 2023
- Marker: Convert PDF to Markdown quickly with high accuracy
- FLaNK Stack for 04 December 2023
pdfcpu
- Show HN: A PDF Processing CLI/API Written in Go
- Show HN
-
Making a PDF that's larger than Germany
Slightly tangential: if you are hacking on PDFs, manually or otherwise, this is an incredibly useful tool: https://pdfcpu.io/ (not the author, just a user)
-
Stirling-PDF: local web application to perform various operations on PDFs
A really nice, stand-alone command line tool is pdfcpu.
https://github.com/pdfcpu/pdfcpu
-
pdfcpu v0.6.0 out! - pdfcpu.io
Check it out => https://github.com/pdfcpu/pdfcpu/releases/tag/v0.6.0
-
Marker: Convert PDF to Markdown quickly with high accuracy
I can report that the closest I've came before is with PDFMiner (https://pypi.org/project/pdfminer/) for Python. The benefit of this one is that it retains styling information, so that italics and the like can be retained, at least with some post-processing (I think one might need to convert certain CSS-classes to actual or tags).
The other option I have started looking into is the PDFCPU library for Go. It is a bit more low-level than PDFMiner, but one gets out very well structured info, that seem it might be possible to post-process quite well, for one's particular use case and PDF layouts: https://github.com/pdfcpu/pdfcpu
I also now tried the Marker tool in the OT, and it seems to do a reasonable job. It did intermingle some columns though, at least in some tricky cases such as when there were a round shaped image in between the two columns. One note is that Marker doesn't seem to retain styling like italics though.
-
PDFcpu snippet for read text of PDF file?
Of course, the best way would be to solve it via the API without CLI. But this doesn't seem to work. https://github.com/pdfcpu/pdfcpu/issues/122
- wie splittet ihr denn PDFs - ich hab hier einige - die ich zerlegen muss in Teile
- Do you know any library to make pdf in golang?
- Pdfcpu: A Go PDF Processor
What are some alternatives?
voyager - 🛰️ An approximate nearest-neighbor search library for Python and Java with a focus on ease of use, simplicity, and deployability.
gopdf - A simple library for generating PDF written in Go lang
llmsherpa - Developer APIs to Accelerate LLM Projects
go-wkhtmltopdf - Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface
PyMuPDF - PyMuPDF is a high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
qpdf - QPDF: A content-preserving PDF document transformer
node-gtk - GTK+ bindings for NodeJS (via GObject introspection)
merge2pdf - Merge Image and PDF files (optionally with selective pages) with lossless quality
FLiPStackWeekly - FLaNK AI Weekly covering Apache NiFi, Apache Flink, Apache Kafka, Apache Spark, Apache Iceberg, Apache Ozone, Apache Pulsar, and more...
markpdf - Watermark PDF files using image or text
langchain4j - Java version of LangChain
ngrok - Unified ingress for developers