haha, I see you recognized me from my line scan photography work. But unfortunately that only gets rid of perspective in one axis but not the other.
Probably just taking photos with a really long telephoto lens would be good.
In theory, you'd use a telecentric lens [1], but then the lens would need to be bigger than the subject, which is not super feasible for a car-sized subject. I guess for line scan, the telecentric lens just needs to cover a small vertical strip of the car so it just needs to be really tall.