ROS Quickstart Guide (#13553)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Francesco Mattioli 2024-06-19 01:54:19 +02:00 committed by GitHub
parent 6bddeda34b
commit f22d2d9546
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 397 additions and 19 deletions

View file

@ -64,7 +64,7 @@ model = YOLO("yolov8n.pt")
def predict_image(img, conf_threshold, iou_threshold):
"""Predicts and plots labeled objects in an image using YOLOv8 model with adjustable confidence and IOU thresholds."""
"""Predicts objects in an image using a YOLOv8 model with adjustable confidence and IOU thresholds."""
results = model.predict(
source=img,
conf=conf_threshold,