Early Warning System in the Prevention of Traffic Accidents