Enhanced beam search decoding for transformer-based OCR with probability score optimization
AssigneeU.S. Bank National Association
InventorsRaj M. Bharadwaj, Vadim V. Petruk
Life of this patent
Estimating the term…
Loading patent…
AssigneeU.S. Bank National Association
InventorsRaj M. Bharadwaj, Vadim V. Petruk
Estimating the term…
Systems, methods, and computer-readable media for optical character recognition of imagery employ transformer-based models with enhanced beam search decoding. A system processes an input image through an encoder to generate visual features, then performs sequential decoding using a decoder that generates raw logit scores at each step. Candidate output sequences are generated and expanded by selecting and appending tokens based on the raw logit scores. The logit scores are converted to normalized confidence scores via a normalization function, and the generated candidate sequences are then reranked by averaging the logit scores across all tokens in each sequence. The sequence having maximum average confidence score among the reranked candidates is selected as the final recognized text output. This logit-based generation followed by confidence-based reranking improves recognition accuracy for amounts containing special characters, irregular spacing, and other challenging features.
A computer-implemented method for optical character recognition of imagery, the method comprising:
A system for optical character recognition of imagery, the system comprising:
A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform operations comprising:
Dependencies are inferred from the claim text.