Skip to content

Instantly share code, notes, and snippets.

View nelero's full-sized avatar

Aurélien Pohu nelero

View GitHub Profile
@kogens
kogens / qr_from_pdf.py
Last active August 13, 2025 14:39
Extract QR codes from PDF files
"""
Extract images from PDF files and decode any QR codes found.
Requirements:
> pip install pandas opencv-python pymupdf qrdet==1.10 qreader==2.11 tqdm xlsxwriter
See also the docs for the QR part
https://github.com/Eric-Canas/qrdet
https://github.com/Eric-Canas/qreader
"""