Detecting machine-readable zones in passport images