Loading...
Loading...
Run and operate the DeepStream Multi-View 3D Tracking reference app, also known as MV3DT. Use when the user asks to set up prerequisites, run shipped MV3DT samples, run Multi-View 3D Tracking on custom synchronized MP4 datasets, import camera calibration, delegate missing calibration to AutoMagicCalib, inspect OSD or BEV visualization, consume MV3DT Kafka metadata, or clean up MV3DT run state in the DeepStream MV3DT app directory.
npx skill4agent add nvidia/skills deepstream-run-mv3dtDeepStream/src/apps/reference_apps/deepstream-tracker-3d-multi-viewDeepStream/src/apps/reference_apps/deepstream-tracker-3d-multi-viewmv3dt_venvREPO_ROOTMV3DT_APP_SUBDIR="src/apps/reference_apps/deepstream-tracker-3d-multi-view"
is_mv3dt_app_dir() {
test -f "$1/README.md" || return 1
test -d "$1/config_templates" || return 1
test -d "$1/scripts" || return 1
grep -q "Multi-View 3D Tracking" "$1/README.md"
}
GIT_TOP="$(git rev-parse --show-toplevel 2>/dev/null || true)"
CANDIDATES=()
if [ -n "${MV3DT_REPO_ROOT:-}" ]; then CANDIDATES+=("${MV3DT_REPO_ROOT}"); fi
if [ -n "${DEEPSTREAM_REPO_ROOT:-}" ]; then CANDIDATES+=("${DEEPSTREAM_REPO_ROOT}/${MV3DT_APP_SUBDIR}"); fi
CANDIDATES+=("${PWD}")
if [ -n "${GIT_TOP}" ]; then
CANDIDATES+=("${GIT_TOP}" "${GIT_TOP}/${MV3DT_APP_SUBDIR}")
fi
CANDIDATES+=("${HOME}/DeepStream/${MV3DT_APP_SUBDIR}" "${HOME}/deepstream/${MV3DT_APP_SUBDIR}")
REPO_ROOT=""
for candidate in "${CANDIDATES[@]}"; do
if [ -n "$candidate" ] && is_mv3dt_app_dir "$candidate"; then
REPO_ROOT="$(cd "$candidate" && pwd)"
break
fi
done
if [ -z "${REPO_ROOT}" ]; then
cat <<'EOF'
ERROR: MV3DT reference app directory was not found.
Set MV3DT_REPO_ROOT to an existing deepstream-tracker-3d-multi-view app directory, or ask the user to approve cloning the public DeepStream repo and then run:
DEEPSTREAM_REPO_ROOT="${DEEPSTREAM_REPO_ROOT:-$HOME/DeepStream}"
git clone https://github.com/NVIDIA/DeepStream.git "$DEEPSTREAM_REPO_ROOT"
export MV3DT_REPO_ROOT="$DEEPSTREAM_REPO_ROOT/src/apps/reference_apps/deepstream-tracker-3d-multi-view"
Do not clone silently.
EOF
exit 1
fi
cd "${REPO_ROOT}"
export REPO_ROOT MV3DT_REPO_ROOT="${REPO_ROOT}"https://github.com/NVIDIA/DeepStream| User intent | Reference |
|---|---|
| Install, prepare, or verify prerequisites | |
| Run bundled 4-camera or 12-camera sample | |
| Run custom synchronized MP4s | |
| Missing custom calibration | |
| View OSD, BEV, screenshots, recordings, or Kafka metadata | |
| Stop a run, clean generated artifacts, or stop prerequisite services | |
references/setup.mdsample-run.mdcustom-dataset.mdreferences/generate-configs.md| Stage | Action |
|---|---|
| Validate | Check app directory, prerequisites, dataset shape, display/headless mode, Docker GPU support, and output-directory writability. |
| Prepare | State the selected sample/custom dataset, detector, run mode, output directory, expected output surfaces, and the Docker security decision for |
| Execute | Generate configs, start offline BEV capture first in headless mode or when saved BEV MP4 is explicitly requested, then run DeepStream or delegate missing calibration to AutoMagicCalib. |
| Verify | Confirm functional readiness with |
| Report | Summarize selected options, generated files, artifact paths, file sizes/counts, and any skipped or failed output surface; after a default 4-camera sample run, mention that the 12-camera sample is also available as a follow-up. |
--enable-osd--enable-file-output--enable-msg-broker--enable-file-output--enable-msg-brokerPeopleNetTransformerRTDETRPeopleNet2.6.3DETECTOR_MODELcamInfoEXPERIMENT_DIRRUN_STARTED_ATApp run successful${EXPERIMENT_DIR}/outVideos/tiled_display_raw.mp4mv3dt${EXPERIMENT_DIR}/config_deepstream.txt${EXPERIMENT_DIR}/config_tracker.yml${EXPERIMENT_DIR}/config_msgconv.txt${EXPERIMENT_DIR}/outVideos/tiled_display_raw.mp4${EXPERIMENT_DIR}/bev_outputs/trajectory_video_<timestamp>.mp4mv3dt${REPO_ROOT}/experiments/deepstream/4cam${REPO_ROOT}/experiments/deepstream/12cam| Issue | First action |
|---|---|
| Setup prerequisites missing | Load |
| Docker cannot access GPU | Fix NVIDIA Container Toolkit or Docker runtime before launching samples. |
| Display window missing | Check |
| DeepStream MP4 missing | Confirm configs were generated with |
| BEV MP4 missing or zero messages | Start offline BEV capture with |
| Kafka client shows no messages | Regenerate configs with |
| Custom dataset lacks calibration | Load |
| Generated files are root-owned | Report the ownership issue and ask before applying a narrow generated-directory permission fix. |
sudodocker run --privileged --net=hostamc-setup-calibration-stackamc-run-video-calibration