Files
PaperPod/paperpod/llm/__init__.py
T
ilia a43ab20df6 Add crop refinement, finger removal, and local LLM naming
- vision/refine.py: tighten crops to the paper band (removes mat
  margins and hands beside receipts) and inpaint border-connected
  skin regions so fingers disappear from output
- llm/vision.py: identify documents with a local Ollama vision model
  (qwen2.5vl); extracts vendor/date/total/form code and flags quality
  issues (fingers, blur, glare); falls back to Tesseract when down
- pipeline: drop blank pages, dedupe consecutive captures of the same
  document, record refine/LLM fields in report and export summary
2026-07-08 18:23:50 -04:00

6 lines
199 B
Python

"""Local vision-LLM document analysis (Ollama)."""
from paperpod.llm.vision import LlmAnalysis, analyze_document, ollama_available
__all__ = ["LlmAnalysis", "analyze_document", "ollama_available"]