{'fraction_non_alphanumeric': 0.017045454545454544, 'fraction_numerical': 0.0, 'mean_word_length': 4.873333333333333, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Real-Time Traffic Light Control System Based on Background Updating and Edge Detection

Traffic congestion at intersections is one of the most problems encountered by the population in large cities. Shutdowns and delays in traffic light consume fuel and increase the vehicle's travel time and greenhouse gas emissions. Therefore, an effective traffic control system can minimize shutdowns and delays at traffic lights. In this paper, an image processing system in real time has been proposed to measure the density of traffic to adjust the timing of the traffic light. The method proposed here is based on applying the combination of background updating and edge detection to separate the edges of vehicles from the edges of the objects of the background (e.g., marks on the road or shadows of trees or building). The algorithm is applied to videos obtained by stationary cameras.