Update utralytics/solutions docstrings to match new YOLO11 (#16975)

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Jan Knobloch 2024-10-17 02:48:56 +02:00 committed by GitHub
parent 3204a2a6a7
commit 984201969a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -31,7 +31,7 @@ class AIGym(BaseSolution):
def monitor(self, im0):
"""
Monitor the workouts using Ultralytics YOLOv8 Pose Model: https://docs.ultralytics.com/tasks/pose/.
Monitor the workouts using Ultralytics YOLO Pose Model: https://docs.ultralytics.com/tasks/pose/.
Args:
im0 (ndarray): The input image that will be used for processing

View file

@ -143,7 +143,7 @@ class ParkingPtsSelection:
class ParkingManagement:
"""Manages parking occupancy and availability using YOLOv8 for real-time monitoring and visualization."""
"""Manages parking occupancy and availability using YOLO model for real-time monitoring and visualization."""
def __init__(
self,
@ -153,10 +153,10 @@ class ParkingManagement:
available_region_color=(0, 255, 0), # available region color
):
"""
Initializes the parking management system with a YOLOv8 model and visualization settings.
Initializes the parking management system with a YOLO model and visualization settings.
Args:
model (str): Path to the YOLOv8 model.
model (str): Path to the YOLO model.
json_file (str): file that have all parking slot points data
occupied_region_color (tuple): RGB color tuple for occupied regions.
available_region_color (tuple): RGB color tuple for available regions.

View file

@ -11,7 +11,7 @@ from ultralytics.utils.downloads import GITHUB_ASSETS_STEMS
def inference(model=None):
"""Runs real-time object detection on video input using Ultralytics YOLOv8 in a Streamlit application."""
"""Runs real-time object detection on video input using Ultralytics YOLO11 in a Streamlit application."""
check_requirements("streamlit>=1.29.0") # scope imports for faster ultralytics package load speeds
import streamlit as st