Various aspects of the present disclosure generally relate to autonomous driving and driver assistance systems. In some aspects, a device associated with an ego vehicle may obtain a series of images that depict a reference vehicle traveling along a road segment ahead of the ego vehicle. The device…