Real-time object detection performance of yolov8 models for self-driving cars in a mixed traffic environment