planRereads
fun planRereads(lines: List<MrzRowRescue.BoxedLine>, imageWidth: Double, imageHeight: Double): List<MrzRowRescue.RereadPlan>
Plans a re-read for every near-miss row that has an exact-width MRZ neighbour row directly above or below (the one above is preferred when both are). The crop spans the neighbour's horizontal extent plus HORIZONTAL_PAD_FRACTION of its width on each side, and the short row's vertical extent plus VERTICAL_PAD_FRACTION of its height above and below, clamped to the image. A row already of exact width is never planned: re-reading it can only make it worse.