This study developed the YOLOv8 model to detect five object classes, with training results showing an accuracy of 95%, an f-1 score of 89%, and mAP@0.5 of 93.1%. In the testing phase, the model achieved an accuracy of 93.83%, an f-1 score of 83%, and mAP@0.5 of 86.7%. Vehicle counting using YOLOv8 and DeepSORT on 72 videos showed an average accuracy of 95.51% for motorcycles and 79.02% for cars…