#!/bin/bash
# /data1/xdzhu/Testdata_0129/019b18ef-ca2b-7e97-8ca5-d4b1d7eefdbb/images/
# /data1/xdzhu/Mono_G1M3/test_1616_video/异型车/2026-01-07_14-21-06_voice-左侧异型车/sigmastar.1/frames_camera4/
# /data1/xdzhu/Mono_G1M3/test_1616_video/异型车/2026-01-07_13-27-03_voice-异型车/sigmastar.1/frames_camera4/
# /data1/dongying/Mono3d/G1M3/eval_dataset/20251210222153/sigmastar.1/frames_camera4

# python ./eval_tools/temporal_analysis/visualize_tracking_boxes.py \
#     --tracking runs/val_viz_300w/20251210222153_roi0/tracking.json \
#     --images /data1/dongying/Mono3d/G1M3/eval_dataset/20251210222153/sigmastar.1/frames_camera4 \
#     --output runs/val_viz_300w/20251210222153_roi0/tracking_vis \
#     --class-id 0 
    # --track-ids 2 41 102

#     # --save-video

# Set PYTHONPATH to project root for module imports
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
export PYTHONPATH="${PROJECT_ROOT}:${PYTHONPATH}"


# python ./eval_tools/temporal_analysis/visualize_tracking_boxes.py \
#     --tracking runs/val_viz/2026-01-07_14-21-06_roi1/tracking.json \
#     --images /data1/xdzhu/Mono_G1M3/test_1616_video/异型车/2026-01-07_14-21-06_voice-左侧异型车/sigmastar.1/frames_camera4/ \
#     --output runs/val_viz/2026-01-07_14-21-06_roi1/tracking_vis \
#     --class-id 0 
#     # --track-ids 2 41 102
#     # --save-video

python ./tools/temporal_analysis/visualize_tracking_boxes.py \
    --tracking /data1/dongying/Mono3d/G1M3/test_outputs/video_case_model_20260416/20260416103945/merge.json \
    --images /data1/dongying/Mono3d/G1M3/test_data/cncap_20260414/20260416103945/sigmastar.1/camera4.bin \
    --output /data1/dongying/Mono3d/G1M3/test_outputs/video_case_model_20260416/20260416103945/tracking_vis \
    --class-id 9
    # --save-video
