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:
parent
6bddeda34b
commit
f22d2d9546
11 changed files with 397 additions and 19 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue