Real-Time Multi-Input Object Tracking and Speed Estimation via YOLOv8 and Kalman Filters for Smart Environments