r/computervision • u/sporastefy • 25d ago
Showcase Benchmarking OCR throughput on a GPU fleet (tesseract vs Surya vs Chandra): concurrency, not the model, drives a 5.7x spread
I've been OCR-ing ~948k pages of court records and wrote up the measurements. Short version of what I found running these on rented A40-class pods with vLLM + an open-source orchestrator (CoderAI):
- Same model/card/pages, throughput ranged 0.10–0.59 pages/s per pod (5.7×) purely from concurrency + admission settings.
- One page per request beats batching (batching cut throughput sharply and caused failures).
- Linear scaling 1→17 pods, so per-page cost is independent of fleet size.
- 5 different 48 GB cards all within 0.52–0.60 pages/s → cheapest in-stock card wins.
- A single forwarding worker saturates ~20 pods; use multiple.
- Chandra (a VLM) doesn't replace tesseract, it arbitrates disagreements — it settled 51.5% of contested digit-groups between tesseract and Surya. Surya's per-page confidence was useless at separating good readings from bad.
- Tuned cost: ~$264/engine for the full perimeter vs $1,509 untuned.
No ground truth exists, so "quality" here means inter-engine agreement — it's a provisional draft and I'd welcome holes being poked in it.
Full write-up: https://www.nexlab.net/articles/ocr-throughput-what-controls-it/
3
Upvotes
1
u/estebanfuhrmann 25d ago
Solid benchmark, and the finding that one page per request beats batching matches what I've seen with small models too: padding and ragged shapes eat the gains. Since there is no ground truth, consider scoring agreement at the field level (digits, dates, case numbers) and routing only disagreements to Chandra, which seems to be what is already happening. Did the team try a cheap confidence proxy, like a second tesseract pass on a 1.5x upscaled crop, to shrink the disputed set before the VLM sees it?
1
u/abo_jaafar 25d ago
I recommend looking into PaddleOCR in my experience it is much better than Tesseract.
They also have a lightweight VLM which could be interesting in this application.
1
u/Potential-Wrangler58 25d ago
Useful numbers, especially the one-page-per-request result. Two thoughts on the quality side. Agreement between engines isn’t the same as being right: when two engines misread a digit the same way, they agree, so I’d hand-label even 200 pages (focusing on the contested digit-groups) to see how well agreement predicts correctness. That sample would also let you calibrate Surya’s score instead of dropping it: raw OCR confidence is often not calibrated, but mapping it against labeled readings can make it usable.
Disclosure: I work at Anyformat, where we calibrate confidence per field for that reason. Curious what error rate you’d accept on court records, since that decides how much review you can skip
PD: in the full write up I cannot see the text in dark mode (and don't know how to change it
0
u/[deleted] 25d ago
[deleted] — view deleted comment