Files
HSAP/algorithms/dms_yolo/code.embedded.bak/docs/macros/track-args.md
Chengfang Lu e72bc061c5 feat: HSAP platform v2 — modular navigation, quality review, audit log, world model simulation
Major changes:
- New frontend (platform/web/): Vite + React 18 + TypeScript + Tailwind
- 4-module navigation: 数据送标 / 模型管理 / 车队管理 / 系统管理
- Data catalog with charts (DMS/ADAS/Lane 3-tab view)
- Quality review workflow (标注质检): Good/Fine/Bad scoring with auto-advance
- Audit enhancements: batch operations, rejection categories, Feishu notifications
- Operation audit log (操作日志)
- World model simulation studio (仿真工坊)
- Dataset version management with snapshots and diff
- ADAS 7-class dataset integration (138K images organized + compressed)
- User management with Feishu integration and pagination
- CRUD/search/filter on all pages, card layout redesign
- PIL-optimized image overlay rendering
- Auto-snapshot on build, in_review workflow stage
- Removed embedded algorithm code (now in workspace)
2026-06-03 11:40:21 +08:00

2.1 KiB

{% macro param_table(params=None) -%}

Argument Type Default Description
{% set default_params = {
"source": ["str", "None", "Specifies the source directory for images or videos. Supports file paths, URLs, and video streams."],
"persist": ["bool", "False", "Enables persistent tracking of objects between frames, maintaining IDs across video sequences."],
"stream": ["bool", "False", "Treats the input source as a continuous video stream for real-time processing."],
"tracker": ["str", "'botsort.yaml'", "Specifies the tracking algorithm to use, e.g., bytetrack.yaml or botsort.yaml."],
"conf": ["float", "0.1", "Sets the confidence threshold for detections; lower values allow more objects to be tracked but may include false positives."],
"iou": ["float", "0.7", "Sets the Intersection over Union (IoU) threshold for filtering overlapping detections."],
"classes": ["list", "None", "Filters results by class index. For example, classes=[0, 2, 3] only tracks the specified classes."],
"verbose": ["bool", "True", "Controls the display of tracking results, providing a visual output of tracked objects."],
"device": ["str", "None", "Specifies the device for inference (e.g., cpu, cuda:0 or 0). Allows users to select between CPU, a specific GPU, or other compute devices for model execution."],
"show": ["bool", "False", "If True, displays the annotated images or videos in a window for immediate visual feedback."],
"line_width": ["int or None", "None", "Specifies the line width of bounding boxes. If None, the line width is automatically adjusted based on the image size."]
} %}
{% if not params %}
{% for param, details in default_params.items() %}
{{ param }} {{ details[0] }} {{ details[1] }} {{ details[2] }}
{% endfor %}
{% else %}
{% for param in params %}
{% if param in default_params %}
{{ param }} {{ default_params[param][0] }} {{ default_params[param][1] }} {{ default_params[param][2] }}
{% endif %}
{% endfor %}
{% endif %}
{%- endmacro -%}