Functionsยง
- is_
valid_ mrz_ input - Utilities for MRZ-specific string operations: validation, trimming a specific character, and OCR-friendly character replacements commonly used when processing MRZ zones.
- replace_
angle_ brackets_ with_ spaces - Replace MRZ angle brackets โ<โ with spaces.
- replace_
similar_ digits_ with_ letters - Replace digits that commonly get misrecognized as letters by OCR:
- replace_
similar_ letters_ with_ digits - Replace letters that commonly get misrecognized as digits by OCR:
- trim_
char - Trim leading and trailing occurrences of the single character
chfrominput. Returns an ownedString.