pikepdf
LaTeX-OCR
Our great sponsors
pikepdf | LaTeX-OCR | |
---|---|---|
4 | 21 | |
2,019 | 10,711 | |
1.7% | - | |
9.5 | 3.6 | |
9 days ago | 28 days ago | |
Python | Python | |
Mozilla Public License 2.0 | MIT License |
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.
pikepdf
-
This Week in Python
pikepdf – A Python library for reading and writing PDF, powered by qpdf
-
Recovering redacted information from pixelated videos
Not off the shelf but here are some tools. I have no experience with them.
Wolf binarization - I think it makes the text more clear before OCR.
https://github.com/chriswolfvision/local_adaptive_binarizati...
This thing OCRs the pdf using Tesseract OCR
https://github.com/ocrmypdf/OCRmyPDF/
Two other pdf tools
https://github.com/qpdf/qpdf
https://github.com/pikepdf/pikepdf
-
Show HN: Pystitcher – A Declarative Alternative to Pdftk
i recently transitioned a large PDF processing pipeline[1] away from PyPDF3 to use the pikepdf[2] library instead. pikepdf is based on the C++ `qpdf` library, and this switch has cut the necessary special-case manual checking + error handling in half compared to pypdf for these sorts of tasks.
[1]: i'm helping out with the CV Open Access archive, https://openaccess.thecvf.com/menu. broadly, our pipeline needs to ingest tons of author-provided PDFs of varying quality and output a canonical PDF with corrected page numbers, proper metadata, and a banner stamped on the first page. it's a lot of work, and it's not uncommon for pypdf to simply fail for slightly invalid input or give garbled results. this isn't optimal since we can't review 2,000 papers per conference release lol. pypdf has been nice, but pikepdf has handled everything i've thrown at it.
[2] https://pikepdf.readthedocs.io
- a collection of pdf-files (copy of a book ) in disorder: solfing wiht pikepdf
LaTeX-OCR
- Detexify LaTeX Handwriting Symbol Recognition
- Pix2tex: Using a ViT to convert images of equations into LaTeX code
-
Why copyng a math formula gives me duplicated characters
I didn't know that such tools exists (completly new to LaTex). Thanks to your suggestion I looked for an open source althernative (to avoid anoyances of freemium) and I found pix2tex That works really like a charm.
- I have just started using LaTeX in my Physics and Math courses and I love it and want to learn all about it. Does anyone know any obscure (or well known that I just don't know about) things about LaTeX that are really cool and helpful?
-
Github packages/Apps that are must have for Physicists using Linux
I have recently discovered a few very helpful github packages which help me make notes while listening to lectures. These would be 1. pix2tex (allows you to scan an equation and convert it to latex) 2. pix2text (allows you to scan an equation with words in it and converts it to latex and text) 3. Tesseract (not really a physics related package, but it does allow me to copy notes from transcripts easily) 4. Mathpix an app that performs all the above mentioned operations better than the packages above, but one which ain't free.
-
The fastest math typesetting library for the web
This is also a great aid to learing LaTex. I wonder if anyone has ever tried to make an OCR system that generates the appropriate LaTex from an picture of an equation?
Turns out the answer is yes:
https://github.com/lukas-blecher/LaTeX-OCR
- A very useful package which I don't know to set up
- LaTeX AI
-
Any alternatives to Mathpix/Latex-OCR?
LaTeX-OCR
What are some alternatives?
fpdf2 - Simple PDF generation for Python
EasyOCR - Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
borb - borb is a library for reading, creating and manipulating PDF files in python.
transformer-pytorch - Transformer: PyTorch Implementation of "Attention Is All You Need"
PyPDF2 - A utility to read and write PDFs with Python [Moved to: https://github.com/py-pdf/PyPDF2]
PaperTools - Tools for writing papers
qpdf - QPDF: A content-preserving PDF document transformer
SwinIR - SwinIR: Image Restoration Using Swin Transformer (official repository)
PyPDF2 - A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
mmocr - OpenMMLab Text Detection, Recognition and Understanding Toolbox
malicious-pdf - 💀 Generate a bunch of malicious pdf files with phone-home functionality. Can be used with Burp Collaborator or Interact.sh
rebiber - A simple tool to update bib entries with their official information (e.g., DBLP or the ACL anthology).