Highlights
- doc_sorter (local VLM categoriser) bootstrapped labels → doc_classifier (ResNet-18) deployed in the hot path: teacher/student at micro scale.
- Custom shrinking-rectangle whitespace cropper and background/page-detection cropper; Real-ESRGAN handwriting upscaler with tiled inference.
- TrOCR auto-tiling harness, deepseek-ocr and Tesseract probes: documented, reproducible OCR comparisons.