Detecting or categorising vehicles