Video processing for V2V communications: A case study with traffic lights and plate recognition