diff --git a/docs/en/solutions/index.md b/docs/en/solutions/index.md index bd9f1692..5d3a0404 100644 --- a/docs/en/solutions/index.md +++ b/docs/en/solutions/index.md @@ -51,6 +51,10 @@ Here's our curated list of Ultralytics solutions that can be used to create awes ## Arguments +!!! tip "Predict args" + + Solutions also support some of the arguments from `predict`, including parameters such as `conf`, `line_width`, `tracker`, `model`, `show`, and `classes`. + {% include "macros/solutions-args.md" %} ## Contribute to Our Solutions diff --git a/ultralytics/cfg/solutions/default.yaml b/ultralytics/cfg/solutions/default.yaml index 3fd0110b..63d7dd77 100644 --- a/ultralytics/cfg/solutions/default.yaml +++ b/ultralytics/cfg/solutions/default.yaml @@ -1,22 +1,22 @@ # Ultralytics YOLO 🚀, AGPL-3.0 license -# Configuration for Ultralytics Solutions +# Configuration for Ultralytics Solutions: https://docs.ultralytics.com/solutions/ -# Object counting settings -region: # Object counting, queue or speed estimation region points. Default region points are [(20, 400), (1080, 400), (1080, 360), (20, 360)] -show_in: True # Flag to display objects moving *into* the defined region -show_out: True # Flag to display objects moving *out of* the defined region +# Object counting settings -------------------------------------------------------------------------------------------- +region: # list[tuple[int, int]] object counting, queue or speed estimation region points. +show_in: True # (bool) flag to display objects moving *into* the defined region +show_out: True # (bool) flag to display objects moving *out of* the defined region -# Heatmaps settings -colormap: # Colormap for heatmap, Only OPENCV supported colormaps can be used. By default COLORMAP_PARULA will be used for visualization. +# Heatmaps settings ---------------------------------------------------------------------------------------------------- +colormap: # (int | str) colormap for heatmap, Only OPENCV supported colormaps can be used. -# Workouts monitoring settings -up_angle: 145.0 # Workouts up_angle for counts, 145.0 is default value. You can adjust it for different workouts, based on position of keypoints. -down_angle: 90 # Workouts down_angle for counts, 90 is default value. You can change it for different workouts, based on position of keypoints. -kpts: [6, 8, 10] # Keypoints for workouts monitoring, i.e. If you want to consider keypoints for pushups that have mostly values of [6, 8, 10]. +# Workouts monitoring settings ----------------------------------------------------------------------------------------- +up_angle: 145.0 # (float) Workouts up_angle for counts, 145.0 is default value. +down_angle: 90 # (float) Workouts down_angle for counts, 90 is default value. Y +kpts: [6, 8, 10] # (list[int]) keypoints for workouts monitoring, i.e. for pushups kpts have values of [6, 8, 10]. -# Analytics settings -analytics_type: "line" # Analytics type i.e "line", "pie", "bar" or "area" charts. By default, "line" analytics will be used for processing. -json_file: # parking system regions file path. +# Analytics settings --------------------------------------------------------------------------------------------------- +analytics_type: "line" # (str) analytics type i.e "line", "pie", "bar" or "area" charts. +json_file: # (str) parking system regions file path. -# Security alarm system -records: 5 # Total detections count to send an email about security +# Security alarm system settings --------------------------------------------------------------------------------------- +records: 5 # (int) Total detections count to send an email about security