Real-Time Object Detection with YOLOv7 and OpenCV: From Training to Deployment