#!/bin/bash

# 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/heading_analysis/visualize_heading_errors.py \
    --input bad_heading_cases.json \
    --image-root /data1/xdzhu/Testdata_0129 \
    --output runs/heading_viz \
    --viz-types combined \
    --merge-same-frame \
    --workers 8
