Simplify falcon-ocr.py to plain mode only, add --progress flag
davanstrien+1: Claude Opus 4.6 (1M context)HF Staff
bd12d83
Layout mode is currently broken upstream (PPDocLayoutV3ImageProcessorFast
import fails with latest transformers). Removing it for now; can re-enable
once falcon-perception updates.
Also adds --progress flag to expose the engine's per-image tqdm bar,
and replaces script-level batch tqdm with logger.info messages.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
davanstrien+1: Claude Opus 4.6 (1M context)HF Staff
173e9b8
New OCR script using tiiuae/Falcon-OCR with the optimized falcon-perception
inference engine (CUDA graphs + batched paged inference). Achieves 0.31 img/s
on L4, 0.53 img/s on L40S. Supports plain OCR and layout-aware extraction.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>