ultralytics 8.3.28 new Solutions CLI commands (#17233)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
d049e22769
commit
3c976807b8
17 changed files with 310 additions and 48 deletions
|
|
@ -48,7 +48,20 @@ Object counting with [Ultralytics YOLO11](https://github.com/ultralytics/ultraly
|
|||
|
||||
!!! example "Object Counting using YOLO11 Example"
|
||||
|
||||
=== "Count in Region"
|
||||
=== "CLI"
|
||||
|
||||
```bash
|
||||
# Run a counting example
|
||||
yolo solutions count show=True
|
||||
|
||||
# Pass a source video
|
||||
yolo solutions count source="path/to/video/file.mp4"
|
||||
|
||||
# Pass region coordinates
|
||||
yolo solutions count region=[(20, 400), (1080, 404), (1080, 360), (20, 360)]
|
||||
```
|
||||
|
||||
=== "Python"
|
||||
|
||||
```python
|
||||
import cv2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue