feat(pdf): gemeinsames pdfutil — Scan-PDFs als Bild + OCR (Files & Mail)
Scan-/bildbasierte PDFs werden jetzt von Files-MCP (read_file) UND Mail-MCP (read_attachment) ueber das gemeinsame Modul pdfutil.py verarbeitet: Seiten via PyMuPDF als PNG (150dpi, max 20) + OCR-Text (tesseract deu+eng). Verschluesselte/ kaputte PDFs bleiben graceful. Deps: pymupdf, pytesseract (+ system tesseract-ocr). 76 Tests gruen.
This commit is contained in:
@@ -5,4 +5,5 @@ openpyxl==3.1.5
|
||||
pdfplumber==0.11.9
|
||||
pillow==12.2.0
|
||||
PyMuPDF==1.27.2.3
|
||||
pytesseract==0.3.13
|
||||
python-docx==1.2.0
|
||||
|
||||
Reference in New Issue
Block a user