digitConfusionMap top-level constant
Map of letters commonly confused with digits by OCR.
Implementation
const Map<String, String> digitConfusionMap = {
'O': '0',
'o': '0',
'I': '1',
'i': '1',
'l': '1',
'L': '1',
't': '1',
'T': '1',
'Z': '2',
'z': '2',
'A': '8',
'a': '8',
'S': '5',
's': '5',
};