Random thought: If you stick a very small adhesive mirror to the outside window before boarding, then footage "looking down" at the regularly-spaced railroad ties could contribute to information about the current speed and acceleration.
Well, on a straight section anyway, if you turn, the inner/outer edges will appear differently-spaced...