diff --git a/examples/YOLOv8-CPP-Inference/main.cpp b/examples/YOLOv8-CPP-Inference/main.cpp index 6d1ba988f5..fe040c8634 100644 --- a/examples/YOLOv8-CPP-Inference/main.cpp +++ b/examples/YOLOv8-CPP-Inference/main.cpp @@ -24,7 +24,7 @@ int main(int argc, char **argv) // // Note that in this example the classes are hard-coded and 'classes.txt' is a place holder. - Inference inf(projectBasePath + "/yolov8s.onnx", cv::Size(640, 480), "classes.txt", runOnGPU); + Inference inf(projectBasePath + "/yolov8s.onnx", cv::Size(640, 640), "classes.txt", runOnGPU); std::vector imageNames; imageNames.push_back(projectBasePath + "/ultralytics/assets/bus.jpg");