mirror of
https://github.com/ultralytics/ultralytics
synced 2026-04-21 14:07:18 +00:00
Fix solutions-args colormap default drift (JET vs DEEPGREEN) (#24209)
This commit is contained in:
parent
ec681f4caa
commit
093579437c
2 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
"show_in": ["bool", "True", "Flag to control whether to display the in counts on the video stream."],
|
||||
"show_out": ["bool", "True", "Flag to control whether to display the out counts on the video stream."],
|
||||
"analytics_type": ["str", "'line'", "Type of graph, i.e., `line`, `bar`, `area`, or `pie`."],
|
||||
"colormap": ["int", "cv2.COLORMAP_JET", "Colormap to use for the heatmap."],
|
||||
"colormap": ["int", "cv2.COLORMAP_DEEPGREEN", "Colormap to use for the heatmap."],
|
||||
"json_file": ["str", "None", "Path to the JSON file that contains all parking coordinates data."],
|
||||
"up_angle": ["float", "145.0", "Angle threshold for the 'up' pose."],
|
||||
"kpts": ["list[int]", "'[6, 8, 10]'", "List of three keypoint indices used for monitoring workouts. These keypoints correspond to body joints or parts, such as shoulders, elbows, and wrists, for exercises like push-ups, pull-ups, squats, and ab-workouts."],
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class SolutionConfig:
|
|||
show_conf (bool): Whether to show confidence scores on the visual output.
|
||||
show_labels (bool): Whether to display class labels on visual output.
|
||||
region (list[tuple[int, int]], optional): Polygonal region or line for object counting.
|
||||
colormap (int, optional): OpenCV colormap constant for visual overlays (e.g., cv2.COLORMAP_JET).
|
||||
colormap (int, optional): OpenCV colormap constant for visual overlays (e.g., cv2.COLORMAP_DEEPGREEN).
|
||||
show_in (bool): Whether to display count number for objects entering the region.
|
||||
show_out (bool): Whether to display count number for objects leaving the region.
|
||||
up_angle (float): Upper angle threshold used in pose-based workouts monitoring.
|
||||
|
|
|
|||
Loading…
Reference in a new issue