An optional corrector algo could try to find the real characters in the MRZ lines with replacing "8" to "B", "H" to "M" etcetera.