Runtime Execution Flow

التسلسل التنفيذي في main2.py

  1. تحميل Scenario Bundle.
  2. تهيئة YOLO model.
  3. تهيئة Audio backend.
  4. بناء RadarRuntime من JSON.
  5. بدء قراءة الفيديو حسب FPS.
  6. تشغيل Vision كل N frames.
  7. سحب Audio prediction عند الزمن الحالي.
  8. حساب Fusion level.
  9. تحديث GUI cards + timeline plot.

Mermaid: Runtime pipeline

sequenceDiagram
    participant U as User
    participant G as GUI
    participant R as Radar
    participant A as Audio
    participant V as Vision
    participant F as Fusion

    U->>G: Load scenario
    G->>R: Build radar runtime
    G->>A: Precompute audio windows
    G->>V: Load YOLO weights
    loop video timeline
        G->>V: Run detection (stride)
        G->>A: Query prediction at t
        G->>R: Radar detected state
        G->>F: Aggregate modalities
        F-->>G: Clear/Watch/Confirmed
    end
Built with LogoFlowershow