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
|
|
@ -36,7 +36,20 @@ A heatmap generated with [Ultralytics YOLO11](https://github.com/ultralytics/ult
|
|||
|
||||
!!! example "Heatmaps using Ultralytics YOLO11 Example"
|
||||
|
||||
=== "Heatmap"
|
||||
=== "CLI"
|
||||
|
||||
```bash
|
||||
# Run a heatmap example
|
||||
yolo solutions heatmap show=True
|
||||
|
||||
# Pass a source video
|
||||
yolo solutions heatmap source="path/to/video/file.mp4"
|
||||
|
||||
# Pass a custom colormap
|
||||
yolo solutions heatmap colormap=cv2.COLORMAP_INFERNO
|
||||
```
|
||||
|
||||
=== "Python"
|
||||
|
||||
```python
|
||||
import cv2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue