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:
parent
0fb6788b0f
commit
b64508338f
4 changed files with 71 additions and 71 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue