Standardize default region points in docs (#17721)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
9470f91c4d
commit
65c797a898
6 changed files with 17 additions and 17 deletions
|
|
@ -50,7 +50,7 @@ keywords: Ultralytics YOLO11, speed estimation, object tracking, computer vision
|
|||
yolo solutions speed source="path/to/video/file.mp4"
|
||||
|
||||
# Pass region coordinates
|
||||
yolo solutions speed region=[(20, 400), (1080, 404), (1080, 360), (20, 360)]
|
||||
yolo solutions speed region=[(20, 400), (1080, 400), (1080, 360), (20, 360)]
|
||||
```
|
||||
|
||||
=== "Python"
|
||||
|
|
@ -68,7 +68,7 @@ keywords: Ultralytics YOLO11, speed estimation, object tracking, computer vision
|
|||
video_writer = cv2.VideoWriter("speed_management.avi", cv2.VideoWriter_fourcc(*"mp4v"), fps, (w, h))
|
||||
|
||||
# Define speed region points
|
||||
speed_region = [(20, 400), (1080, 404), (1080, 360), (20, 360)]
|
||||
speed_region = [(20, 400), (1080, 400), (1080, 360), (20, 360)]
|
||||
|
||||
speed = solutions.SpeedEstimator(
|
||||
show=True, # Display the output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue