Real-Time Object Detection in C++ with YOLOv8 and OpenCV DNN