Improving Object Detection Performance through YOLOv8: A Comprehensive Training and Evaluation Study