Commit Graph

6 Commits

Author SHA1 Message Date
7778f8c214 Two-part fix
Fix 1 — Chunk oversized bucket groups (the correctness fix)
ONNXOCRRecognizer::RecognizeBatch now slices each bucket group into chunks of ≤ kRecMaxBatch before submitting to TRT. A frame with 30 crops in bucket 320 produces two back-to-back batched calls (24 + 6), both within the profile, both on the fast path.

Fix 2 — Raise the profile max from 16 to 24 (the performance fix)
The old profile max was 16; your real scenes routinely hit 24. Raising the profile max to 24 means the common 12-plate scene (24 crops) fits in a single batched call with no chunking needed. Scenes with > 24 crops now use chunking, but that's rare.
2026-04-15 07:27:55 +10:00
5706615ed5 Support tracker to improve ALPR_OCR 2026-04-14 21:18:10 +10:00
f9a0af8949 Improve ALPR_OCR peformance 2026-04-14 20:30:21 +10:00
8e60126c4c Fix mutex lock issues (OCR and FR) 2026-04-13 20:38:40 +10:00
b735931c55 Initial OCR to support ALPR mode with country support 2026-03-29 22:51:39 +11:00
8a2e721058 Refactor project structure 2026-03-28 19:56:39 +11:00