Add type for train arguments (#18221)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Muhammad Rizwan Munawar 2024-12-15 22:44:22 +05:00 committed by GitHub
parent 0fb6788b0f
commit b64508338f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 71 additions and 71 deletions

View file

@ -80,7 +80,7 @@ Object counting with [Ultralytics YOLO11](https://github.com/ultralytics/ultraly
# Video writer
video_writer = cv2.VideoWriter("object_counting_output.avi", cv2.VideoWriter_fourcc(*"mp4v"), fps, (w, h))
# Init Object Counter
# Init ObjectCounter
counter = solutions.ObjectCounter(
show=True, # Display the output
region=region_points, # Pass region points

View file

@ -59,7 +59,7 @@ keywords: object counting, regions, YOLOv8, computer vision, Ultralytics, effici
# Video writer
video_writer = cv2.VideoWriter("region_counting.avi", cv2.VideoWriter_fourcc(*"mp4v"), fps, (w, h))
# Init Object Counter
# Init RegionCounter
region = solutions.RegionCounter(
show=True,
region=region_points,