Abstract

Pedestrians are one of the street users who have the right to get priority on security. Highway users such as vehicle drivers sometimes violate the traffic lights that is endanger pedestrians and make pedestrians feel insecure when crossing the street. Based on this problem, a tool is designed to provide a warning for the drivers or riders violating the traffic lights and prevent traffic accident by spraying water. The system is able to detect traffic violation based on changes in the value of the vehicle position on the stop line obtained from the Ultrasonic HC-SR04 sensor. When a violation is detected, a decision tree algorithm turns on the pump to spray water to the traffic violators as a deterrent effect. The results show that the vehicle located closest to the sensor has 94% precision, 88% recall and 85% accuracy, the vehicle located in the middle has 73% precision, 100% recall, and 75% accuracy, and the vehicle located furthest to the sensor has 75% precision, 100% recall and 80% accuracy.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call