Traffic congestion in Palembang City is caused by the number of vehicles exceeding the road capacity. This study discusses the determination of the best route in an intelligent transportation system using the A Star algorithm and Glowworm Swarm Optimization (GSO). The parameters used to compare A Star and GSO algorithms are based on path weight and execution time. YOLOv9 is used to detect and c…